casa
5.7.0-16
|
#include <SDMDataObjectParser.h>
Public Member Functions | |
SDMDataObjectParser () | |
virtual | ~SDMDataObjectParser () |
void | parseFileHeader (const std::string &filename, SDMDataObject &sdmDataObject) |
void | parseMemoryHeader (const std::string &buffer, SDMDataObject &sdmDataObject) |
void | parseFileCorrSubsetHeader (const std::string &filename, SDMDataSubset &sdmCorrSubset) |
void | parseMemoryCorrSubsetHeader (const std::string &buffer, SDMDataSubset &sdmCorrSubset) |
void | parseFileTPSubsetHeader (const std::string &filename, SDMDataSubset &sdmCorrDataSubset) |
void | parseMemoryTPSubsetHeader (const std::string &filename, SDMDataSubset &sdmCorrDataSubset) |
Static Public Member Functions | |
static void | isElement (xmlNode *a_node, const std::string &elementName) |
static bool | testElement (xmlNode *a_node, const std::string &elementName) |
static void | inElements (xmlNode *a_node, const std::vector< std::string > &elementNames) |
static xmlAttr * | hasAttr (xmlNode *a_node, const std::string &attrName) |
static void | tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ") |
static void | tokenize (const std::string &str, std::set< std::string > &tokens, const std::string &delimiters=" ") |
static std::string | substring (const std::string &s, int a, int b) |
static std::string | trim (const std::string &s) |
static std::string | parseString (xmlNode *a_node) |
static long long | parseLongLong (xmlNode *a_node) |
static int | parseInt (xmlNode *a_node) |
static bool | parseBool (xmlNode *a_node) |
static float | parseFloat (xmlNode *a_node) |
static int | parseIntAttr (xmlNode *a_node, const std::string &attrName) |
static bool | parseBoolAttr (xmlNode *a_node, const std::string &attrName) |
static float | parseFloatAttr (xmlNode *a_node, const std::string &attrName) |
static std::string | parseStringAttr (xmlNode *a_node, const std::string &attrName) |
static const ByteOrder * | parseByteOrderAttr (xmlNode *a_node, const std::string &attrName) |
template<class Enum , class EnumHelper > | |
static Enum | parseStringAttr (xmlNode *a_node, const std::string &attrName) |
template<class Enum , class EnumHelper > | |
static Enum | parseLiteral (xmlNode *a_node) |
static std::vector< std::string > | parseStringsAttr (xmlNode *a_node, const std::string &attrName) |
static std::set< std::string > | parseStringSetAttr (xmlNode *a_node, const std::string &attrName) |
template<class Enum , class EnumHelper > | |
static std::vector< Enum > | parseStringsAttr (xmlNode *a_node, const std::string &attrName) |
static std::vector< unsigned int > | parseProjectPath (xmlNode *a_node, unsigned int len) |
static std::vector< unsigned int > | parseProjectPath (xmlNode *a_node) |
Private Attributes | |
HeaderParser | headerParser |
CorrSubsetHeaderParser | corrSubsetHeaderParser |
TPSubsetHeaderParser | tpSubsetHeaderParser |
Static Private Attributes | |
static const boost::regex | PROJECTPATH3 |
static const boost::regex | PROJECTPATH4 |
static const boost::regex | PROJECTPATH5 |
static const boost::regex | PROJECTPATH4OR5 |
Friends | |
class | SDMDataObject |
class | SDMDataSubset |
class | HeaderParser |
Definition at line 310 of file SDMDataObjectParser.h.
asdmbinaries::SDMDataObjectParser::SDMDataObjectParser | ( | ) |
|
virtual |
|
static |
Referenced by parseStringAttr(), and parseStringsAttr().
|
static |
|
static |
|
static |
|
static |
|
static |
void asdmbinaries::SDMDataObjectParser::parseFileCorrSubsetHeader | ( | const std::string & | filename, |
SDMDataSubset & | sdmCorrSubset | ||
) |
void asdmbinaries::SDMDataObjectParser::parseFileHeader | ( | const std::string & | filename, |
SDMDataObject & | sdmDataObject | ||
) |
void asdmbinaries::SDMDataObjectParser::parseFileTPSubsetHeader | ( | const std::string & | filename, |
SDMDataSubset & | sdmCorrDataSubset | ||
) |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 371 of file SDMDataObjectParser.h.
References trim().
|
static |
void asdmbinaries::SDMDataObjectParser::parseMemoryCorrSubsetHeader | ( | const std::string & | buffer, |
SDMDataSubset & | sdmCorrSubset | ||
) |
void asdmbinaries::SDMDataObjectParser::parseMemoryHeader | ( | const std::string & | buffer, |
SDMDataObject & | sdmDataObject | ||
) |
void asdmbinaries::SDMDataObjectParser::parseMemoryTPSubsetHeader | ( | const std::string & | filename, |
SDMDataSubset & | sdmCorrDataSubset | ||
) |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 354 of file SDMDataObjectParser.h.
|
static |
|
inlinestatic |
Definition at line 389 of file SDMDataObjectParser.h.
References hasAttr(), and tokenize().
|
static |
|
static |
|
static |
|
static |
Referenced by parseStringsAttr().
|
static |
|
static |
Referenced by parseLiteral(), and parseStringAttr().
|
friend |
Definition at line 313 of file SDMDataObjectParser.h.
|
friend |
Definition at line 311 of file SDMDataObjectParser.h.
|
friend |
Definition at line 312 of file SDMDataObjectParser.h.
|
private |
Definition at line 430 of file SDMDataObjectParser.h.
|
private |
Definition at line 429 of file SDMDataObjectParser.h.
|
staticprivate |
Definition at line 418 of file SDMDataObjectParser.h.
|
staticprivate |
Definition at line 419 of file SDMDataObjectParser.h.
|
staticprivate |
Definition at line 421 of file SDMDataObjectParser.h.
|
staticprivate |
Definition at line 420 of file SDMDataObjectParser.h.
|
private |
Definition at line 431 of file SDMDataObjectParser.h.