FV3 Bundle
qg/model/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 QG_MODEL_NOTHING_H_
9 #define QG_MODEL_NOTHING_H_
10 
11 #include <ostream>
12 
13 #include "oops/util/Printable.h"
14 
15 namespace qg {
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 qg
31 
32 #endif // QG_MODEL_NOTHING_H_
void print(std::ostream &) const
The namespace for the qg model.