FV3 Bundle
l95/src/lorenz95/Nothing.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2018 UCAR
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  */
7 
8 #ifndef LORENZ95_NOTHING_H_
9 #define LORENZ95_NOTHING_H_
10 
11 #include <ostream>
12 
13 #include "oops/util/Printable.h"
14 
15 namespace lorenz95 {
16 
17 // -----------------------------------------------------------------------------
18 
19 class Nothing : public util::Printable {
20  public:
21  Nothing() {}
22  ~Nothing() {}
23 
24  private:
25  void print(std::ostream &) const {}
26 };
27 
28 // -----------------------------------------------------------------------------
29 
30 } // namespace lorenz95
31 
32 #endif // LORENZ95_NOTHING_H_
The namespace for the L95 model.
void print(std::ostream &) const