casa
$Rev:20696$
|
#include <stdcasaXMLUtil.h>
Public Member Functions | |
stdcasaXMLUtil () | |
~stdcasaXMLUtil () | |
bool | toCasaRecord (record &outRec, const string &xml) |
bool | fromCasaRecord (string &outXML, const record &theRecord) |
bool | fromCasaRecord (ostream &outXML, const record &theRecord) |
bool | readXMLFile (record &outRec, const string &xmlFile) |
bool | writeXMLFile (const string &xmlFile, const record &inRec) |
void | setRecord (record &aRec) |
Private Member Functions | |
bool | readXML (record &outRec, const XERCES_CPP_NAMESPACE::Wrapper4InputSource &xml) |
variant * | itsvalue (XERCES_CPP_NAMESPACE::DOMNode *theNode, variant::TYPE itsType) |
variant::TYPE | setType (const string &xmlType) |
variant * | tovariant (variant::TYPE theType, string &theInput, bool isVector) |
void | addtovariant (variant *it, variant::TYPE theType, string &theInput) |
Private Attributes | |
XMLCh * | name |
XMLCh * | type |
XMLCh * | param |
XMLCh *xsitype;. | |
XMLCh * | value |
XMLCh * | allowed |
XMLCh * | range |
XMLCh * | description |
XMLCh * | mustexist |
XMLCh * | allowblank |
XMLCh * | ienum |
XMLCh * | kind |
XMLCh * | any |
XMLCh * | limittype |
XMLCh * | limittypes |
XMLCh * | units |
XMLCh * | shortdesc |
XMLCh * | example |
XMLCh * | subparam |
XMLCh * | ignorecase |
record * | rangeRec |
record * | whenRec |
record * | equalsRec |
record * | constraintsRec |
record * | defaultsRec |
record * | paramSet |
string | ttName |
string | parmName |
string | lastParm |
Definition at line 31 of file stdcasaXMLUtil.h.
casac::stdcasaXMLUtil::stdcasaXMLUtil | ( | ) |
casac::stdcasaXMLUtil::~stdcasaXMLUtil | ( | ) |
void casac::stdcasaXMLUtil::addtovariant | ( | variant * | it, |
variant::TYPE | theType, | ||
string & | theInput | ||
) | [private] |
bool casac::stdcasaXMLUtil::fromCasaRecord | ( | string & | outXML, |
const record & | theRecord | ||
) |
bool casac::stdcasaXMLUtil::fromCasaRecord | ( | ostream & | outXML, |
const record & | theRecord | ||
) |
variant* casac::stdcasaXMLUtil::itsvalue | ( | XERCES_CPP_NAMESPACE::DOMNode * | theNode, |
variant::TYPE | itsType | ||
) | [private] |
bool casac::stdcasaXMLUtil::readXML | ( | record & | outRec, |
const XERCES_CPP_NAMESPACE::Wrapper4InputSource & | xml | ||
) | [private] |
bool casac::stdcasaXMLUtil::readXMLFile | ( | record & | outRec, |
const string & | xmlFile | ||
) |
void casac::stdcasaXMLUtil::setRecord | ( | record & | aRec | ) |
variant::TYPE casac::stdcasaXMLUtil::setType | ( | const string & | xmlType | ) | [private] |
bool casac::stdcasaXMLUtil::toCasaRecord | ( | record & | outRec, |
const string & | xml | ||
) |
variant* casac::stdcasaXMLUtil::tovariant | ( | variant::TYPE | theType, |
string & | theInput, | ||
bool | isVector | ||
) | [private] |
bool casac::stdcasaXMLUtil::writeXMLFile | ( | const string & | xmlFile, |
const record & | inRec | ||
) |
XMLCh* casac::stdcasaXMLUtil::allowblank [private] |
Definition at line 54 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::allowed [private] |
Definition at line 50 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::any [private] |
Definition at line 57 of file stdcasaXMLUtil.h.
record* casac::stdcasaXMLUtil::constraintsRec [private] |
Definition at line 69 of file stdcasaXMLUtil.h.
record* casac::stdcasaXMLUtil::defaultsRec [private] |
Definition at line 70 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::description [private] |
Definition at line 52 of file stdcasaXMLUtil.h.
record* casac::stdcasaXMLUtil::equalsRec [private] |
Definition at line 68 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::example [private] |
Definition at line 62 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::ienum [private] |
Definition at line 55 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::ignorecase [private] |
Definition at line 64 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::kind [private] |
Definition at line 56 of file stdcasaXMLUtil.h.
string casac::stdcasaXMLUtil::lastParm [private] |
Definition at line 75 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::limittype [private] |
Definition at line 58 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::limittypes [private] |
Definition at line 59 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::mustexist [private] |
Definition at line 53 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::name [private] |
Definition at line 45 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::param [private] |
XMLCh *xsitype;.
Definition at line 48 of file stdcasaXMLUtil.h.
record* casac::stdcasaXMLUtil::paramSet [private] |
Definition at line 71 of file stdcasaXMLUtil.h.
string casac::stdcasaXMLUtil::parmName [private] |
Definition at line 74 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::range [private] |
Definition at line 51 of file stdcasaXMLUtil.h.
record* casac::stdcasaXMLUtil::rangeRec [private] |
Definition at line 66 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::shortdesc [private] |
Definition at line 61 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::subparam [private] |
Definition at line 63 of file stdcasaXMLUtil.h.
string casac::stdcasaXMLUtil::ttName [private] |
Definition at line 73 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::type [private] |
Definition at line 46 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::units [private] |
Definition at line 60 of file stdcasaXMLUtil.h.
XMLCh* casac::stdcasaXMLUtil::value [private] |
Definition at line 49 of file stdcasaXMLUtil.h.
record* casac::stdcasaXMLUtil::whenRec [private] |
Definition at line 67 of file stdcasaXMLUtil.h.