IODA Bundle
IndexTool.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
/// @author Piotr Kuchta, ECMWF, Oct 2015
12
13
#ifndef IndexTool_H
14
#define IndexTool_H
15
16
#include "
odc/Partition.h
"
17
#include "
odc/Partitions.h
"
18
19
namespace
odc
{
20
namespace
tool {
21
22
typedef
std::vector<std::pair<eckit::Offset,eckit::Length> >
BlockOffsets
;
23
typedef
unsigned
long
long
ullong
;
24
25
class
IndexTool
:
public
Tool
{
26
public
:
27
IndexTool
(
int
argc
,
char
*
argv
[]);
28
29
void
run
();
30
31
static
void
help
(std::ostream &o);
32
33
static
void
usage
(
const
std::string&
name
, std::ostream &o);
34
35
private
:
36
// No copy allowed
37
IndexTool
(
const
IndexTool
&);
38
IndexTool
&
operator=
(
const
IndexTool
&);
39
};
40
41
}
// namespace tool
42
}
// namespace odc
43
44
#endif
Partition.h
Partitions.h
odc::tool::CommandLineParser::argv
char ** argv()
Definition:
CommandLineParser.h:53
odc::tool::CommandLineParser::argc
int argc()
Definition:
CommandLineParser.cc:64
odc::tool::IndexTool
Definition:
IndexTool.h:25
odc::tool::IndexTool::usage
static void usage(const std::string &name, std::ostream &o)
Definition:
IndexTool.cc:34
odc::tool::IndexTool::IndexTool
IndexTool(int argc, char *argv[])
Definition:
IndexTool.cc:27
odc::tool::IndexTool::operator=
IndexTool & operator=(const IndexTool &)
odc::tool::IndexTool::help
static void help(std::ostream &o)
Definition:
IndexTool.cc:29
odc::tool::IndexTool::run
void run()
Definition:
IndexTool.cc:44
odc::tool::IndexTool::IndexTool
IndexTool(const IndexTool &)
odc::tool::Tool
Definition:
Tool.h:27
odc::tool::Tool::name
std::string name()
Definition:
Tool.h:34
odc::tool::BlockOffsets
std::vector< std::pair< eckit::Offset, eckit::Length > > BlockOffsets
Definition:
IndexTool.h:22
odc::tool::ullong
unsigned long long ullong
Definition:
IndexTool.h:23
odc
Definition:
ColumnInfo.h:23
odc
src
odc
tools
IndexTool.h
Generated on Fri Aug 20 2021 11:49:06 for IODA Bundle by
1.9.1