VAPoR
0.1
|
#include <ExpatParseMgr.h>
Public Member Functions | |
ExpatParseMgr (ParsedXml *topLevelClass) | |
~ExpatParseMgr () | |
void | parse (ifstream &is) |
ExpatStackElement * | getStateStackTop () |
void | parseError (const char *format,...) |
vector< long > & | getLongData () |
vector< double > & | getDoubleData () |
string & | getStringData () |
void | pushClassStack (ParsedXml *pc) |
ParsedXml * | popClassStack () |
void | skipElement (string tag, int depth) |
Public Member Functions inherited from VetsUtil::MyBase | |
MyBase () | |
const string & | getClassName () const |
Protected Member Functions | |
void | _startElementHandler (const XML_Char *tag, const char **attrs) |
void | _endElementHandler (const XML_Char *tag) |
void | _charDataHandler (const XML_Char *s, int len) |
Protected Member Functions inherited from VetsUtil::MyBase | |
void | SetClassName (const string &name) |
Protected Attributes | |
ParsedXml * | currentParsedClass |
stack< VDF_API ExpatStackElement * > | _expatStateStack |
XML_Parser | _expatParser |
string | _expatStringData |
vector< long > | _expatLongData |
vector< double > | _expatDoubleData |
Static Protected Attributes | |
static const string | _stringType |
static const string | _longType |
static const string | _doubleType |
Friends | |
void | _StartElementHandler (void *userData, const XML_Char *tag, const XML_Char **attrs) |
void | _EndElementHandler (void *userData, const XML_Char *tag) |
void | _CharDataHandler (void *userData, const XML_Char *s, int len) |
Additional Inherited Members | |
Public Types inherited from VetsUtil::MyBase | |
typedef void(* | ErrMsgCB_T) (const char *msg, int err_code) |
typedef void(* | DiagMsgCB_T) (const char *msg) |
Static Public Member Functions inherited from VetsUtil::MyBase | |
static void | SetErrMsg (const char *format,...) |
Record a formatted error message. More... | |
static void | SetErrMsg (int errcode, const char *format,...) |
Record a formatted error message and an error code. More... | |
static const char * | GetErrMsg () |
static void | SetErrCode (int err_code) |
Record an error code. More... | |
static int | GetErrCode () |
Retrieve the current error code. More... | |
static void | SetErrMsgCB (ErrMsgCB_T cb) |
static ErrMsgCB_T | GetErrMsgCB () |
static void | SetErrMsgFilePtr (FILE *fp) |
static const FILE * | SetErrMsgFilePtr () |
static void | SetDiagMsg (const char *format,...) |
Record a formatted diagnostic message. More... | |
static const char * | GetDiagMsg () |
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
static DiagMsgCB_T | GetDiagMsgCB () |
static void | SetDiagMsgFilePtr (FILE *fp) |
static bool | EnableErrMsg (bool enable) |
Static Public Attributes inherited from VetsUtil::MyBase | |
static char * | ErrMsg |
static int | ErrCode |
static int | ErrMsgSize |
static FILE * | ErrMsgFilePtr |
static ErrMsgCB_T | ErrMsgCB |
static char * | DiagMsg |
static int | DiagMsgSize |
static FILE * | DiagMsgFilePtr |
static DiagMsgCB_T | DiagMsgCB |
static bool | Enabled |
Definition at line 51 of file ExpatParseMgr.h.
VAPoR::ExpatParseMgr::ExpatParseMgr | ( | ParsedXml * | topLevelClass | ) |
VAPoR::ExpatParseMgr::~ExpatParseMgr | ( | ) |
|
protected |
|
protected |
|
protected |
|
inline |
Definition at line 64 of file ExpatParseMgr.h.
|
inline |
Definition at line 63 of file ExpatParseMgr.h.
|
inline |
Definition at line 59 of file ExpatParseMgr.h.
|
inline |
Definition at line 65 of file ExpatParseMgr.h.
void VAPoR::ExpatParseMgr::parse | ( | ifstream & | is | ) |
void VAPoR::ExpatParseMgr::parseError | ( | const char * | format, |
... | |||
) |
|
inline |
Definition at line 75 of file ExpatParseMgr.h.
References VAPoR::ParsedXml::previousClass.
|
inline |
Definition at line 71 of file ExpatParseMgr.h.
References VAPoR::ParsedXml::previousClass.
void VAPoR::ExpatParseMgr::skipElement | ( | string | tag, |
int | depth | ||
) |
|
friend |
|
friend |
|
friend |
|
staticprotected |
Definition at line 97 of file ExpatParseMgr.h.
|
protected |
Definition at line 90 of file ExpatParseMgr.h.
|
protected |
Definition at line 89 of file ExpatParseMgr.h.
|
protected |
Definition at line 87 of file ExpatParseMgr.h.
|
protected |
Definition at line 85 of file ExpatParseMgr.h.
|
protected |
Definition at line 88 of file ExpatParseMgr.h.
|
staticprotected |
Definition at line 96 of file ExpatParseMgr.h.
|
staticprotected |
Definition at line 95 of file ExpatParseMgr.h.
|
protected |
Definition at line 83 of file ExpatParseMgr.h.