#include <CommonEnviromentParser.h>
Inheritance diagram for CommonEnviromentParser:
Public Member Functions | |
CommonEnviromentParser (const std::string &file) | |
Ctor. | |
~CommonEnviromentParser () | |
Dtor. | |
bool | Parse () |
Perform the parse. | |
const std::string & | DatasetBase () const |
Give the value of the base of the current dataset. | |
int | DefaultThreeDXSize () const |
Give the value of the three dimensional panels default x size. | |
int | DefaultThreeDYSize () const |
Give the value of the three dimensional panels default x size. | |
const std::string & | InstrumentType () const |
Give the value of the Instrument Type name. | |
int | DefaultPingsPerSwath () const |
Give the number of pings per swath. | |
int | DefaultSwathsToFilter () const |
Give the number of swaths to filter. | |
Protected Member Functions | |
bool | Find (const std::string &lvalue) |
Test for the existance of a variable. | |
int | Type (const std::string &lvalue) |
Test the type of a variable. | |
double | Nargument (const std::string &lvalue) |
Give the numeric argument of a variable. | |
std::string | Aargument (const std::string &lvalue) |
Give the alpha argument of a variable. |
Definition at line 17 of file C++/Common/Enviroment/CommonEnviromentParser.h.
CommonEnviromentParser::CommonEnviromentParser | ( | const std::string & | file | ) |
Ctor.
file | The FQPN of the input file. |
CommonEnviromentParser::~CommonEnviromentParser | ( | ) |
Dtor.
bool CommonEnviromentParser::Parse | ( | ) | [virtual] |
Perform the parse.
Reimplemented from FileParser.
const std::string& CommonEnviromentParser::DatasetBase | ( | ) | const |
Give the value of the base of the current dataset.
int CommonEnviromentParser::DefaultThreeDXSize | ( | ) | const |
Give the value of the three dimensional panels default x size.
int CommonEnviromentParser::DefaultThreeDYSize | ( | ) | const |
Give the value of the three dimensional panels default x size.
const std::string& CommonEnviromentParser::InstrumentType | ( | ) | const |
Give the value of the Instrument Type name.
int CommonEnviromentParser::DefaultPingsPerSwath | ( | ) | const |
Give the number of pings per swath.
int CommonEnviromentParser::DefaultSwathsToFilter | ( | ) | const |
Give the number of swaths to filter.
bool CommonEnviromentParser::Find | ( | const std::string & | lvalue | ) | [protected] |
Test for the existance of a variable.
lvalue | The name of the variable. |
int CommonEnviromentParser::Type | ( | const std::string & | lvalue | ) | [protected] |
Test the type of a variable.
This function assumes that the variable does exist.
lvalue | Te name of the variable. |
double CommonEnviromentParser::Nargument | ( | const std::string & | lvalue | ) | [protected] |
Give the numeric argument of a variable.
This function assumes that the variable does exist.
lvalue | The name of the variable. |
std::string CommonEnviromentParser::Aargument | ( | const std::string & | lvalue | ) | [protected] |
Give the alpha argument of a variable.
This function assumes that the variable does exist.
lvalue | The name of the variable. |