IODA Bundle
Block.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 <ostream>
12
13
#include "eckit/eckit.h"
14
#include "eckit/io/Offset.h"
15
#include "eckit/io/Length.h"
16
17
#include "
odc/core/MetaData.h
"
18
#include "
odc/Reader.h
"
19
#include "
odc/Select.h
"
20
#include "
odc/Block.h
"
21
22
using namespace
eckit
;
23
using namespace
std
;
24
25
namespace
odc
{
26
27
std::string
Block::str
()
const
28
{
29
stringstream ss;
30
ss << *
this
;
31
return
ss.str();
32
}
33
34
ostream&
operator<<
(ostream& o,
const
Block
& b)
35
{
36
o <<
"block,file=\""
<< b.
fileName
<<
"\","
37
<<
"start="
<< b.
start
<<
","
38
<<
"end="
<< b.
end
<<
","
39
<<
"firstRow="
<< b.
firstRow
<<
","
40
<<
"lastRow="
<< b.
lastRow
41
;
42
return
o;
43
}
44
45
}
// namespace odc
46
Block.h
MetaData.h
Reader.h
Select.h
odc::Block
Definition:
Block.h:29
odc::Block::start
eckit::Offset start
Definition:
Block.h:73
odc::Block::fileName
eckit::PathName fileName
Definition:
Block.h:72
odc::Block::firstRow
ullong firstRow
Definition:
Block.h:75
odc::Block::end
eckit::Offset end
Definition:
Block.h:74
odc::Block::lastRow
ullong lastRow
Definition:
Block.h:76
airnow2ioda-nc.str
str
Definition:
airnow2ioda-nc.py:99
eckit
Definition:
DistributionUtils.h:15
odc
Definition:
ColumnInfo.h:23
odc::operator<<
ostream & operator<<(ostream &o, const Block &b)
Definition:
Block.cc:34
std
Definition:
encode.cc:30
odc
src
odc
Block.cc
Generated on Fri Aug 20 2021 11:49:02 for IODA Bundle by
1.9.1