IODA Bundle
Tracer.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 1996-2012 ECMWF.
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  * In applying this licence, ECMWF does not waive the privileges and immunities
7  * granted to it by virtue of its status as an intergovernmental organisation nor
8  * does it submit to any jurisdiction.
9  */
10 
11 
12 #ifndef odc_utility_Tracer_H
13 #define odc_utility_Tracer_H
14 
15 #include <iosfwd>
16 #include <string>
17 
18 namespace odc {
19 namespace utility {
20 
21 //----------------------------------------------------------------------------------------------------------------------
22 
23 class Tracer {
24 public:
25 
26  Tracer(std::ostream&, const std::string&);
27  ~Tracer();
28 
29 private:
30 
31  std::ostream& out_;
32  std::string message_;
33 };
34 
35 //----------------------------------------------------------------------------------------------------------------------
36 
37 } // utility
38 } // odc
39 
40 #endif
41 
Tracer(std::ostream &, const std::string &)
Definition: Tracer.cc:21
std::ostream & out_
Definition: Tracer.h:31
std::string message_
Definition: Tracer.h:32
Definition: ColumnInfo.h:23