#include <xmldata.h>
Public Methods | |
| XMLData (CharStr *tag, CharStr *strValue, XMLData *next=XMLData::Nil, XMLAttrib *attributes=XMLAttrib::Nil) | |
| XMLData (const char *tag, CharStr *strValue, XMLData *next=XMLData::Nil, XMLAttrib *attributes=XMLAttrib::Nil) | |
| XMLData (CharStr *tag, const char *strValue, XMLData *next=XMLData::Nil, XMLAttrib *attributes=XMLAttrib::Nil) | |
| XMLData (const char *tag, const char *strValue, XMLData *next=XMLData::Nil, XMLAttrib *attributes=XMLAttrib::Nil) | |
| XMLData (CharStr *tag, double doubleValue, XMLData *next=XMLData::Nil, XMLAttrib *attributes=XMLAttrib::Nil) | |
| XMLData (const char *tag, double doubleValue, XMLData *next=XMLData::Nil, XMLAttrib *attributes=XMLAttrib::Nil) | |
| XMLData (CharStr *tag, XMLData *subElements, XMLData *next=XMLData::Nil, XMLAttrib *attributes=XMLAttrib::Nil) | |
| XMLData (const char *tag, XMLData *subElements, XMLData *next=XMLData::Nil, XMLAttrib *attributes=XMLAttrib::Nil) | |
| XMLData (istream &s) | |
| XMLData (const char *input) | |
| XMLData (const XMLData *other, int following=1) | |
| ~XMLData () | |
| CharStr * | tag () |
| void | setTag (CharStr *tag) |
| void | setTag (const char *tag) |
| void | print (ostream &s, int indent=0, int following=1) |
| int | print (char *buffer, int maxlen, int indent=0, int following=1) |
| int | equals (XMLData *other, int exact=0, int following=0) |
| CharStr * | getString () |
| CharStr * | getString (CharStr *subName) |
| CharStr * | getString (const char *subName) |
| long | getLong () |
| long | getLong (CharStr *subName) |
| long | getLong (const char *subName) |
| double | getDouble () |
| double | getDouble (CharStr *subName) |
| double | getDouble (const char *subName) |
| void | set (CharStr *newContents) |
| void | set (const char *newContents) |
| void | set (double newContents) |
| void | set (XMLData *newContents) |
| int | count () |
| void | chainWith (XMLData *next) |
| XMLData * | getNextElem () |
| int | subCount () |
| int | subCount (const char *tag) |
| int | subCount (CharStr *tag) |
| XMLData * | sub () |
| XMLData * | sub (const char *tag, int skip=0) |
| XMLData * | sub (CharStr *tag, int skip=0) |
| XMLData * | sub (XMLData *match, int skip=0, int exact=0) |
| XMLData * | subAll (const char *tag) |
| XMLData * | subAll (CharStr *tag) |
| XMLData * | subAll (XMLData *match, int exact=0) |
| void | add (XMLData *newContents) |
| void | remove (int dont_delete=0) |
| void | remove (const char *tag, int dont_delete=0) |
| void | remove (CharStr *tag, int dont_delete=0) |
| void | remove (XMLData *match, int exact=0, int dont_delete=0) |
| void | removeAll (const char *tag, int dont_delete=0) |
| void | removeAll (CharStr *tag, int dont_delete=0) |
| void | removeAll (XMLData *match, int exact=0, int dont_delete=0) |
| void | removeRemaining () |
| XMLData * | reset (int index=0, int recursive=0) |
| XMLData * | next () |
| int | more () |
| int | getIndex () |
| void | insert (XMLData *subElement, int onTop=0) |
| int | attribCount () |
| CharStr * | getAttrib (const char *attrName) |
| CharStr * | getAttrib (CharStr *attrName) |
| XMLAttrib * | getXMLAttrib (const char *attrName) |
| XMLAttrib * | getXMLAttrib (CharStr *attrName) |
| XMLAttrib * | getAttribs () |
| void | setAttrib (CharStr *attrName, CharStr *attrValue, int index=-1) |
| void | setAttrib (const char *attrName, CharStr *attrValue, int index=-1) |
| void | setAttrib (CharStr *attrName, const char *attrValue, int index=-1) |
| void | setAttrib (const char *attrName, const char *attrValue, int index=-1) |
| void | setAttrib (CharStr *attrName, double attrValue, int index=-1) |
| void | setAttrib (const char *attrName, double attrValue, int index=-1) |
| void | removeAttrib (const char *attrName) |
| void | removeAttrib (CharStr *attrName) |
| void | removeAttribs () |
Static Public Methods | |
| int | init_static () |
Static Public Attributes | |
| XMLData * | Nil |
| CharStr * | ReadError |
| CharStr * | EndOfFile |
| CharStr * | CDATA |
Private Methods | |
| XMLData (char c) | |
| void | init (CharStr *tag, CharStr *cnts, XMLData *xcnts, XMLData *next, XMLAttrib *as) |
| XMLData * | sub_internal (const char *tag, int &skip, short rec, int from_top) |
| XMLData * | sub_internal (XMLData *match, int skip, int exact, int rec, int from_top) |
| XMLData * | subAll_internal (const char *tag, XMLData *match, int exact) |
| void | remove_internal (const char *tag, XMLData *match, int exact, int dont_delete) |
| void | removeAll_internal (const char *tag, XMLData *match, int exact, int dont_delete) |
| XMLData * | next_internal (int recursive) |
| istream & | unexpectedCharError (istream &stream, const char *expected) |
| istream & | prematureEnd (istream &stream) |
| XMLData () | |
Private Attributes | |
| CharStr * | strTag |
| XMLAttrib * | attrs |
| XMLData * | nextElem |
| XMLData * | xmlContents |
| CharStr * | contents |
| XMLIterator * | iterator |
Friends | |
| COM_API istream & | operator>> (istream &stream, XMLData &obj) |
| COM_API ostream & | operator<< (ostream &stream, XMLData &obj) |
|
||||||||||||||||||||
|
Definition at line 59 of file xmldata.cpp. |
|
||||||||||||||||||||
|
Definition at line 65 of file xmldata.cpp. References CharStr::create(), init(), Nil, and tag(). |
|
||||||||||||||||||||
|
Definition at line 70 of file xmldata.cpp. References CharStr::create(), init(), and Nil. |
|
||||||||||||||||||||
|
Definition at line 75 of file xmldata.cpp. References CharStr::create(), init(), Nil, and tag(). |
|
||||||||||||||||||||
|
Definition at line 81 of file xmldata.cpp. References CharStr::create(), init(), and Nil. |
|
||||||||||||||||||||
|
Definition at line 90 of file xmldata.cpp. References CharStr::create(), init(), Nil, and tag(). |
|
||||||||||||||||||||
|
Definition at line 99 of file xmldata.cpp. References CharStr::Error, and init(). |
|
||||||||||||||||||||
|
Definition at line 104 of file xmldata.cpp. References CharStr::create(), CharStr::Error, init(), and tag(). |
|
|
Definition at line 110 of file xmldata.cpp. References CharStr::Error, init(), XMLAttrib::Nil, and Nil. |
|
|
Definition at line 117 of file xmldata.cpp. References CharStr::Error, init(), XMLAttrib::Nil, and Nil. |
|
||||||||||||
|
Definition at line 125 of file xmldata.cpp. References attrs, contents, init(), nextElem, Nil, XMLAttrib::Nil, strTag, xmlContents, and XMLData(). |
|
|
Definition at line 150 of file xmldata.cpp. References attrs, contents, iterator, nextElem, XMLAttrib::Nil, Nil, CharStr::released(), strTag, and xmlContents. |
|
|
Definition at line 53 of file xmldata.cpp. References CharStr::Error, init(), and XMLAttrib::Nil. |
|
|
Definition at line 479 of file xmldata.h. Referenced by subAll_internal(), and XMLData(). |
|
|
|
Definition at line 946 of file xmldata.cpp. References attrs, XMLAttrib::next(), and XMLAttrib::Nil. |
|
|
Definition at line 312 of file xmldata.cpp. References nextElem. Referenced by xTInfo2xSInfoAll(). |
|
|
Definition at line 298 of file xmldata.cpp. Referenced by send_reservation(), subCount(), and submit_or_reserve_task(). |
|
||||||||||||||||
|
Definition at line 399 of file xmldata.cpp. References contents, nextElem, Nil, CharStr::str, strTag, and xmlContents. Referenced by sub_internal(). |
|
|
Definition at line 389 of file xmldata.h. References getAttrib(), and CharStr::str. |
|
|
Definition at line 961 of file xmldata.cpp. References getXMLAttrib(), and XMLAttrib::stringValue(). Referenced by PostOffice::_send(), copyTask(), Slave::dispatchMsg(), Master::dispatchMsg(), editInputFile(), editIOFiles(), editOutputFileOrUtility(), editTask(), editTaskInfo(), editTaskInfos(), event_slave_avail(), getAttrib(), main_menu(), Master::matchURL(), msgType(), newTaskId(), process_utilities(), PostOffice::put_back(), removeTask(), startup(), submit_executable_task(), submit_or_reserve_task(), task_menu(), upgrade_slaves(), Client::waitMaster(), and x2o(). |
|
|
Definition at line 979 of file xmldata.cpp. References attrs. |
|
|
Definition at line 186 of file xmldata.h. References getDouble(), and sub(). |
|
|
Definition at line 180 of file xmldata.h. References getDouble(), and sub(). |
|
|
Definition at line 256 of file xmldata.cpp. References contents, and CharStr::str. Referenced by getDouble(). |
|
|
Definition at line 895 of file xmldata.cpp. References xmldata_it_s::i, iterator, nextElem, Nil, and xmlContents. |
|
|
|
|
|
|
|
|
Definition at line 250 of file xmldata.cpp. References contents, and CharStr::str. Referenced by editInputFile(), editOutputFileOrUtility(), editTask(), editTaskInfos(), event_slave_avail(), getLong(), Master::msgSlaveReserve(), Master::msgTaskCtrl(), Master::msgTaskFinish(), Slave::msgTaskInit(), Master::msgTaskMove(), Master::msgTaskStatus(), newTaskId(), process_utilities(), send_reservation(), submit_or_reserve_task(), task_menu(), wakeup_tasks(), and x2o(). |
|
|
Definition at line 220 of file xmldata.h. Referenced by removeExecutableAll(), and xTInfo2xSInfoAll(). |
|
|
Definition at line 152 of file xmldata.h. References getString(), and sub(). |
|
|
Definition at line 146 of file xmldata.h. References getString(), and sub(). |
|
|
|
Definition at line 399 of file xmldata.h. References getXMLAttrib(), and CharStr::str. |
|
|
Definition at line 967 of file xmldata.cpp. References attrs, XMLAttrib::name(), XMLAttrib::next(), XMLAttrib::Nil, and CharStr::str. Referenced by getAttrib(), getXMLAttrib(), and setAttrib(). |
|
||||||||||||||||||||||||
|
Definition at line 1420 of file xmldata.cpp. References attrs, contents, iterator, nextElem, strTag, and xmlContents. Referenced by XMLData(). |
|
|
Definition at line 34 of file xmldata.cpp. References CDATA, EndOfFile, XMLAttrib::init_static(), CharStr::init_static(), Nil, ReadError, and STR_STATIC. Referenced by initSlave(). |
|
||||||||||||
|
Definition at line 914 of file xmldata.cpp. References iterator, nextElem, Nil, xmldata_it_s::reci, and xmlContents. |
|
|
Definition at line 870 of file xmldata.cpp. References xmldata_it_s::i, iterator, nextElem, Nil, xmldata_it_s::reci, xmldata_it_s::recursive, and xmlContents. |
|
|
Definition at line 810 of file xmldata.cpp. References iterator, next_internal(), and xmldata_it_s::recursive. Referenced by main(), sub(), and subAll_internal(). |
|
|
Definition at line 817 of file xmldata.cpp. References xmldata_it_s::i, iterator, xmldata_it_s::last_sub, nextElem, Nil, xmldata_it_s::reci, xmldata_it_s::recursive, reset(), and xmlContents. Referenced by next(). |
|
|
Definition at line 1088 of file xmldata.cpp. References contents, ReadError, CharStr::stored(), and strTag. Referenced by operator>>(). |
|
||||||||||||||||||||
|
Definition at line 232 of file xmldata.cpp. |
|
||||||||||||||||
|
Definition at line 182 of file xmldata.cpp. References attrs, CDATA, contents, CharStr::Error, XMLAttrib::name(), XMLAttrib::next(), nextElem, XMLAttrib::Nil, Nil, CharStr::str, XMLAttrib::stringValue(), strTag, and xmlContents. Referenced by PostOffice::_send(), operator<<(), and print(). |
|
||||||||||||||||
|
Definition at line 702 of file xmldata.cpp. References remove_internal(). |
|
||||||||||||
|
Definition at line 317 of file xmldata.h. References remove(), and CharStr::str. |
|
||||||||||||
|
Definition at line 676 of file xmldata.cpp. References Nil, remove_internal(), and tag(). |
|
|
Definition at line 622 of file xmldata.cpp. References xmldata_it_s::i, iterator, nextElem, Nil, xmldata_it_s::reci, xmldata_it_s::recursive, reset(), and xmlContents. Referenced by Master::dispatchMsg(), editIOFiles(), editSubElement(), editTask(), editTaskInfo(), editTaskInfos(), event_slave_avail(), remove(), remove_internal(), removeAll_internal(), removeExecutableAll(), removeTask(), submit_executable_task(), wakeup_tasks(), and xTInfo2xSInfo(). |
|
||||||||||||||||||||
|
Definition at line 682 of file xmldata.cpp. References xmldata_it_s::i, iterator, Nil, xmldata_it_s::reci, xmldata_it_s::recursive, remove(), sub_internal(), tag(), and xmlContents. Referenced by remove(). |
|
||||||||||||||||
|
Definition at line 738 of file xmldata.cpp. References removeAll_internal(). |
|
||||||||||||
|
Definition at line 330 of file xmldata.h. References removeAll(), and CharStr::str. |
|
||||||||||||
|
Definition at line 708 of file xmldata.cpp. References Nil, removeAll_internal(), and tag(). Referenced by editTaskInfo(), and removeAll(). |
|
||||||||||||||||||||
|
Definition at line 714 of file xmldata.cpp. References xmldata_it_s::i, iterator, Nil, xmldata_it_s::reci, xmldata_it_s::recursive, remove(), sub_internal(), tag(), and xmlContents. Referenced by removeAll(). |
|
|
Definition at line 428 of file xmldata.h. References removeAttrib(), and CharStr::str. |
|
|
Definition at line 1040 of file xmldata.cpp. References attrs, XMLAttrib::name(), XMLAttrib::next(), XMLAttrib::Nil, XMLAttrib::setNext(), and CharStr::str. Referenced by editInputFile(), editOutputFileOrUtility(), and removeAttrib(). |
|
|
Definition at line 1067 of file xmldata.cpp. References attrs, and XMLAttrib::Nil. |
|
|
Definition at line 744 of file xmldata.cpp. References xmldata_it_s::i, iterator, nextElem, Nil, xmldata_it_s::reci, xmldata_it_s::recursive, and xmlContents. |
|
||||||||||||
|
|
Definition at line 290 of file xmldata.cpp. References contents, Nil, CharStr::released(), and xmlContents. |
|
|
Definition at line 278 of file xmldata.cpp. References contents, Nil, CharStr::released(), and xmlContents. |
|
|
Definition at line 272 of file xmldata.cpp. References CharStr::create(), and set(). |
|
|
Definition at line 262 of file xmldata.cpp. References contents, Nil, CharStr::released(), and xmlContents. Referenced by editInputFile(), editOutputFileOrUtility(), editTask(), event_slave_avail(), Master::msgTaskStatus_Started(), and set(). |
|
||||||||||||||||
|
Definition at line 1034 of file xmldata.cpp. References CharStr::create(), and setAttrib(). |
|
||||||||||||||||
|
Definition at line 1028 of file xmldata.cpp. References setAttrib(). |
|
||||||||||||||||
|
Definition at line 1022 of file xmldata.cpp. References CharStr::create(), and setAttrib(). |
|
||||||||||||||||
|
Definition at line 1017 of file xmldata.cpp. References CharStr::create(), and setAttrib(). |
|
||||||||||||||||
|
Definition at line 1012 of file xmldata.cpp. References CharStr::create(), and setAttrib(). |
|
||||||||||||||||
|
Definition at line 985 of file xmldata.cpp. References attrs, getXMLAttrib(), XMLAttrib::next(), XMLAttrib::Nil, CharStr::released(), XMLAttrib::setNext(), XMLAttrib::setValue(), CharStr::stored(), and CharStr::str. Referenced by addTask(), copyTask(), editInputFile(), editOutputFileOrUtility(), editTaskInfo(), main_menu(), o2x(), operator>>(), setAttrib(), startup(), and upgrade_slaves(). |
|
|
Definition at line 174 of file xmldata.cpp. References CharStr::create(), CharStr::stored(), strTag, and tag(). |
|
|
Definition at line 169 of file xmldata.cpp. References strTag. Referenced by xTInfo2xSInfo(). |
|
||||||||||||||||
|
Definition at line 517 of file xmldata.cpp. References iterator, xmldata_it_s::last_sub, next(), Nil, xmldata_it_s::recursive, and sub_internal(). |
|
||||||||||||
|
Definition at line 252 of file xmldata.h. References CharStr::str, and sub(). |
|
||||||||||||
|
Definition at line 503 of file xmldata.cpp. References iterator, xmldata_it_s::last_sub, next(), Nil, xmldata_it_s::recursive, sub_internal(), and tag(). |
|
|
||||||||||||||||||||||||
|
Definition at line 446 of file xmldata.cpp. References equals(), xmldata_it_s::i, iterator, xmldata_it_s::last_sub, nextElem, Nil, xmldata_it_s::reci, xmldata_it_s::recursive, sub_internal(), and xmlContents. |
|
||||||||||||||||||||
|
Definition at line 342 of file xmldata.cpp. References xmldata_it_s::i, iterator, xmldata_it_s::last_sub, nextElem, Nil, xmldata_it_s::reci, xmldata_it_s::recursive, CharStr::str, strTag, tag(), and xmlContents. Referenced by remove_internal(), removeAll_internal(), sub(), sub_internal(), and subAll_internal(). |
|
||||||||||||
|
Definition at line 593 of file xmldata.cpp. References subAll_internal(). |
|
|
Definition at line 284 of file xmldata.h. References CharStr::str, and subAll(). |
|
|
Definition at line 531 of file xmldata.cpp. References Nil, subAll_internal(), and tag(). Referenced by Master::msgSlaveCtrl_Upgrade(), send_reservation(), subAll(), submit_library_task(), and submit_or_reserve_task(). |
|
||||||||||||||||
|
Definition at line 537 of file xmldata.cpp. References xmldata_it_s::i, iterator, next(), nextElem, Nil, xmldata_it_s::reci, xmldata_it_s::recursive, sub_internal(), tag(), xmlContents, and XMLData(). Referenced by subAll(). |
|
|
Definition at line 232 of file xmldata.h. References CharStr::str, and subCount(). |
|
|
Definition at line 326 of file xmldata.cpp. |
|
|
Definition at line 320 of file xmldata.cpp. References count(), and xmlContents. Referenced by editIOFiles(), editTask(), editTaskInfos(), main_menu(), subCount(), and task_menu(). |
|
|
Definition at line 163 of file xmldata.cpp. References strTag. Referenced by PostOffice::_send(), Master::dispatchMsg(), PostOffice::inbox(), main(), Master::Master(), PostOffice::put_back(), remove(), remove_internal(), removeAll(), removeAll_internal(), setTag(), startup(), sub(), sub_internal(), subAll(), subAll_internal(), subCount(), and XMLData(). |
|
||||||||||||
|
Definition at line 1075 of file xmldata.cpp. References contents, ReadError, CharStr::stored(), and strTag. Referenced by operator>>(). |
|
||||||||||||
|
Definition at line 1410 of file xmldata.cpp. |
|
||||||||||||
|
Definition at line 1220 of file xmldata.cpp. |
|
|
Definition at line 45 of file xmldata.h. Referenced by attribCount(), getAttribs(), getXMLAttrib(), init(), operator>>(), print(), removeAttrib(), removeAttribs(), setAttrib(), XMLData(), and ~XMLData(). |
|
|
Definition at line 26 of file xmldata.cpp. Referenced by Client::_taskCreate(), init_static(), Slave::msgTaskInit(), Master::msgTaskInit(), Master::msgTaskMove(), o2x(), operator>>(), print(), Slave::sndTaskFinish(), Master::sndTaskInit(), and x2o(). |
|
|
Definition at line 48 of file xmldata.h. Referenced by add(), equals(), getDouble(), getLong(), getString(), init(), operator>>(), prematureEnd(), print(), set(), unexpectedCharError(), XMLData(), and ~XMLData(). |
|
|
Definition at line 25 of file xmldata.cpp. Referenced by init_static(), and operator>>(). |
|
|
Definition at line 50 of file xmldata.h. Referenced by getIndex(), init(), insert(), more(), next(), next_internal(), remove(), remove_internal(), removeAll_internal(), removeRemaining(), reset(), sub(), sub_internal(), subAll_internal(), and ~XMLData(). |
|
|
Definition at line 46 of file xmldata.h. Referenced by add(), chainWith(), count(), equals(), getIndex(), init(), insert(), more(), next_internal(), operator>>(), print(), remove(), removeRemaining(), reset(), sub_internal(), subAll_internal(), XMLData(), and ~XMLData(). |
|
|
|
Definition at line 24 of file xmldata.cpp. Referenced by PostOffice::inbox(), init_static(), Master::Master(), operator>>(), prematureEnd(), startup(), and unexpectedCharError(). |
|
|
Definition at line 44 of file xmldata.h. Referenced by equals(), init(), operator>>(), prematureEnd(), print(), setTag(), sub_internal(), tag(), unexpectedCharError(), XMLData(), and ~XMLData(). |
|
|
Definition at line 47 of file xmldata.h. Referenced by add(), equals(), getIndex(), init(), insert(), more(), next_internal(), operator>>(), print(), remove(), remove_internal(), removeAll_internal(), removeRemaining(), reset(), set(), sub(), sub_internal(), subAll_internal(), subCount(), XMLData(), and ~XMLData(). |
1.2.18