#include <odlparser.h>
Definition at line 13 of file odlparser.h.
Public Member Functions | |
ODLParser (const std::string &odldata) | |
const ODLTree * | getObject (const std::string &objname) |
const ODLTree * | getObject (const ODLTree &tree, const std::string &objname) const |
const ODLTree * | getGroup (const std::string &objname) |
const ODLTree * | getGroup (const ODLTree &tree, const std::string &grpname) const |
ODLTree & | top () |
Protected Member Functions | |
std::string | ucase (const std::string &str) |
std::string | trim (const std::string &str) |
bool | parse (ODLTree &tree) |
int | _uint_min (unsigned int v1, unsigned int v2) |
Protected Attributes | |
ODLTree | mTop |
std::string | mODLData |
std::string::size_type | jpos |
std::string::size_type | ipos |
ODLParser::ODLParser | ( | const std::string & | odldata | ) |
std::string ODLParser::ucase | ( | const std::string & | str | ) | [protected] |
std::string ODLParser::trim | ( | const std::string & | str | ) | [protected] |
bool ODLParser::parse | ( | ODLTree & | tree | ) | [protected] |
Definition at line 11 of file odlparser.cpp.
References _uint_min(), ODLTree::addChild(), ODLTree::addElem(), ODLTree::getLastChild(), ipos, jpos, mODLData, ODLGROUP, ODLOBJECT, trim(), and ucase().
Referenced by ODLParser().
int ODLParser::_uint_min | ( | unsigned int | v1, | |
unsigned int | v2 | |||
) | [inline, protected] |
const ODLTree* ODLParser::getObject | ( | const std::string & | objname | ) | [inline] |
Definition at line 32 of file odlparser.h.
References mTop.
Referenced by HdfEosFrmt::getAquiDateTime(), HdfEosFrmt::getBandMetaData(), HdfEosFrmt::getCloudPct(), HdfEosFrmt::getImageAzim(), HdfEosFrmt::getInstAz(), HdfEosFrmt::getInstID(), HdfEosFrmt::getInstZenith(), getObject(), HdfEosFrmt::getOrigID(), HdfEosFrmt::getProjection(), HdfEosFrmt::getSunAzim(), and HdfEosFrmt::getSunElev().
Definition at line 136 of file odlparser.cpp.
References ODLTree::getChild(), ODLTree::getName(), ODLTree::getNumChild(), and getObject().
const ODLTree* ODLParser::getGroup | ( | const std::string & | objname | ) | [inline] |
Definition at line 150 of file odlparser.cpp.
ODLTree& ODLParser::top | ( | ) | [inline] |
ODLTree ODLParser::mTop [protected] |
Definition at line 15 of file odlparser.h.
Referenced by getGroup(), getObject(), ODLParser(), and top().
std::string ODLParser::mODLData [protected] |
std::string::size_type ODLParser::jpos [protected] |
std::string::size_type ODLParser::ipos [protected] |
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |