IODA Bundle
Tracer.cc
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
#include "
odc/utility/Tracer.h
"
12
13
#include <ostream>
14
15
16
namespace
odc
{
17
namespace
utility {
18
19
//----------------------------------------------------------------------------------------------------------------------
20
21
Tracer::Tracer
(std::ostream& o,
const
std::string&
m
) :
22
out_(o), message_(
m
) {
23
//out_ << message_ << " BEGIN" << std::endl;
24
out_
<<
"BEGIN "
<<
message_
<< std::endl;
25
}
26
27
Tracer::~Tracer
() {
28
//out_ << message_ << " END" << std::endl;
29
out_
<<
"END "
<<
message_
<< std::endl;
30
}
31
32
//----------------------------------------------------------------------------------------------------------------------
33
34
}
// utility
35
}
// odc
Tracer.h
odc::utility::Tracer::~Tracer
~Tracer()
Definition:
Tracer.cc:27
odc::utility::Tracer::Tracer
Tracer(std::ostream &, const std::string &)
Definition:
Tracer.cc:21
odc::utility::Tracer::out_
std::ostream & out_
Definition:
Tracer.h:31
odc::utility::Tracer::message_
std::string message_
Definition:
Tracer.h:32
gpsbufr2nc.m
int m
Definition:
gpsbufr2nc.py:222
odc
Definition:
ColumnInfo.h:23
odc
src
odc
utility
Tracer.cc
Generated on Fri Aug 20 2021 11:49:12 for IODA Bundle by
1.9.1