|
IODA Bundle
|
#include <ODA2RequestTool.h>
Public Member Functions | |
| ODA2RequestTool () | |
| ODA2RequestTool (int argc, char **argv) | |
| ~ODA2RequestTool () | |
| virtual void | run () |
| void | readConfig () |
| void | readConfig (const eckit::PathName &) |
| void | parseConfig (const std::string &) |
| std::string | generateMarsRequest (const eckit::PathName &inputFile, bool fast=false) |
Public Member Functions inherited from odc::tool::Tool | |
| virtual | ~Tool () |
| std::string | name () |
| void | name (const std::string &s) |
Public Member Functions inherited from odc::tool::CommandLineParser | |
| CommandLineParser (int argc, char **argv) | |
| CommandLineParser (const CommandLineParser &) | |
| CommandLineParser & | operator= (const CommandLineParser &) |
| virtual | ~CommandLineParser () |
| void | registerOptionWithArgument (const std::string &) |
| const std::vector< std::string > | parameters () |
| std::string | parameters (size_t i) |
| bool | optionIsSet (const std::string &) |
| template<typename T > | |
| T | optionArgument (const std::string &, T defaultValue) |
| int | argc () |
| std::string | argv (int i) |
| char ** | argv () |
Static Public Member Functions | |
| static void | help (std::ostream &o) |
| static void | usage (const std::string &name, std::ostream &o) |
Static Public Member Functions inherited from odc::tool::Tool | |
| static void | registerTools () |
Static Public Member Functions inherited from odc::StringTool | |
| static std::string | readFile (const eckit::PathName fileName, bool logging=false) |
| static std::vector< std::string > | readLines (const eckit::PathName fileName, bool logging=false) |
| static void | trimInPlace (std::string &) |
| static bool | match (const std::string ®ex, const std::string &) |
| static bool | matchAny (const std::vector< std::string > ®s, const std::string &) |
| static bool | check (const std::string &, ctypeFun) |
| static bool | isInQuotes (const std::string &) |
| static std::string | unQuote (const std::string &) |
| static double | cast_as_double (const std::string &) |
| static std::string | double_as_string (double) |
| static std::string | int_as_double2string (double) |
| static int | shell (std::string cmd, const eckit::CodeLocation &where, bool assertSuccess=true) |
| static double | translate (const std::string &v) |
| static std::string | valueAsString (double, api::ColumnType) |
| static std::string | patchTimeForMars (const std::string &v) |
| static bool | isSelectStatement (const std::string &) |
Protected Member Functions | |
| std::vector< Values > & | values () |
| void | gatherStats (const eckit::PathName &inputFile) |
| std::string | gatherStatsFast (const eckit::PathName &inputFile) |
| eckit::PathName | config () |
Protected Member Functions inherited from odc::tool::Tool | |
| Tool (int argc, char **argv) | |
| Tool (const CommandLineParser &) | |
Private Types | |
| typedef std::string | Value |
| typedef std::set< Value > | Values |
Private Attributes | |
| std::map< std::string, std::string > | columnName2requestKey_ |
| std::vector< Values > | values_ |
Definition at line 19 of file ODA2RequestTool.h.
|
private |
Definition at line 20 of file ODA2RequestTool.h.
|
private |
Definition at line 21 of file ODA2RequestTool.h.
| odc::tool::ODA2RequestTool::ODA2RequestTool | ( | ) |
| odc::tool::ODA2RequestTool::ODA2RequestTool | ( | int | argc, |
| char ** | argv | ||
| ) |
| odc::tool::ODA2RequestTool::~ODA2RequestTool | ( | ) |
Definition at line 45 of file ODA2RequestTool.cc.
|
protected |
Definition at line 90 of file ODA2RequestTool.cc.
|
protected |
Definition at line 146 of file ODA2RequestTool.cc.
|
protected |
Definition at line 138 of file ODA2RequestTool.cc.
| string odc::tool::ODA2RequestTool::generateMarsRequest | ( | const eckit::PathName & | inputFile, |
| bool | fast = false |
||
| ) |
Definition at line 178 of file ODA2RequestTool.cc.
|
static |
Definition at line 47 of file ODA2RequestTool.cc.
| void odc::tool::ODA2RequestTool::parseConfig | ( | const std::string & | s | ) |
Definition at line 109 of file ODA2RequestTool.cc.
| void odc::tool::ODA2RequestTool::readConfig | ( | ) |
Definition at line 95 of file ODA2RequestTool.cc.
| void odc::tool::ODA2RequestTool::readConfig | ( | const eckit::PathName & | ) |
|
virtual |
Implements odc::tool::Tool.
Definition at line 54 of file ODA2RequestTool.cc.
|
static |
Definition at line 49 of file ODA2RequestTool.cc.
|
inlineprotected |
Definition at line 40 of file ODA2RequestTool.h.
|
private |
Definition at line 48 of file ODA2RequestTool.h.
|
private |
Definition at line 49 of file ODA2RequestTool.h.