![]() |
VR-Forces 5.0.1 Developer's Guide
|
USMTF parser Has been used with USMTF 2004 Baseline.

Public Member Functions | |
| DtUsmtfParser () | |
| virtual | ~DtUsmtfParser () |
| virtual bool | init () |
Public Member Functions inherited from DtObjectParser | |
| DtObjectParser () | |
| ~DtObjectParser () | |
| virtual bool | parseFile (const string &filename) |
| virtual bool | parse (istream &stream) |
| virtual ObjectList & | getCreateObjectList () |
| virtual void | initTypeMap (const std::map< std::string, std::string > &importData) |
| virtual ObjectEntityTypeMap * | typeMap () |
Static Public Member Functions | |
| static double | calcDegrees (const double °, const double &min=0.0, const double &sec=0.0, char hemisphere= '-') |
| static string | eraseHead (const string &input, const string &prefix) |
Protected Member Functions | |
| void | parseLatLonSec (const string &input, double &lat, double &lon, const string &prefix="") |
| void | parseLatLonMin (const string &input, double &lat, double &lon, const string &prefix="") |
| void | parseLatLonCentiSec (const string &input, double &lat, double &lon, const string &prefix="") |
| void | parseLatLonVLATS (const string &input, double &lat, double &lon, const string &prefix="") |
| bool | parseDateTime7 (const string &input, const ptime &prevTime, ptime &time, const string &prefix="") |
| bool | parseDateTime9 (const string &input, const ptime &prevTime, ptime &time, const string &prefix="") |
| bool | parseDateTime10 (const string &input, const time_period &timeFrame, ptime &time, const string &prefix="") |
| bool | parseDateTime14 (const string &input, ptime &time, const string &prefix="") |
| bool | checkAndAssign (string &sData, const vector< string > &tokens, size_t tokenIndex, const string &prefix="") |
Protected Member Functions inherited from DtObjectParser | |
| void | setSeparatorData (const string &recordSeparator, const string &fieldSeparators, const string "eChars, const string &escapeChars) |
| virtual void | clear () |
Additional Inherited Members | |
Protected Attributes inherited from DtObjectParser | |
| ObjectList | myCreateObjectList |
| DtTokenizer | myTokenizer |
| Coordinate_System * | myCoordSystem |
| ObjectEntityTypeMap | myTypeMap |
| DtUsmtfParser::DtUsmtfParser | ( | ) |
|
inlinevirtual |
|
virtual |
static function used to read in some csv files used during parsing
|
static |
static functions used to access some data used during parsing
FIX_THIS_DP - Move these to a utility class somewhere?
|
static |
If the input starts with prefix, it will be erased and returned.
|
protected |
Convert LATM, LATS, and DMPID into degreess.
|
protected |
|
protected |
|
protected |
|
protected |
Parses the date and time from the 7 character date format in the ATO It uses the "prevTime" to determine the month and year since it is not part of the 7 character date format.
|
protected |
Parses the date and time from the 9 character date format in the ATO It uses the "prevTime" to determine the month and year since it is not part of the 9 character date format.
|
protected |
Parses the date and time from the 10 character date format in the ATO using the timeFrame to figure out the year (because the year is not part of the 10 char date format.
|
protected |
Parses the date and time from the 14 character date format in the ATO.
|
protected |
!Checks to make sure the token index is within the bounds of the tokens vector and if so !assigns the token to the string passed in. Some of the fields seem to be optional so !they were not always available in the tokens