Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XMLData Class Reference

#include <xmldata.h>

List of all members.

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 ()
CharStrtag ()
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)
CharStrgetString ()
CharStrgetString (CharStr *subName)
CharStrgetString (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 ()
CharStrgetAttrib (const char *attrName)
CharStrgetAttrib (CharStr *attrName)
XMLAttribgetXMLAttrib (const char *attrName)
XMLAttribgetXMLAttrib (CharStr *attrName)
XMLAttribgetAttribs ()
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
CharStrReadError
CharStrEndOfFile
CharStrCDATA

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

CharStrstrTag
XMLAttribattrs
XMLData * nextElem
XMLData * xmlContents
CharStrcontents
XMLIteratoriterator

Friends

COM_API istream & operator>> (istream &stream, XMLData &obj)
COM_API ostream & operator<< (ostream &stream, XMLData &obj)


Constructor & Destructor Documentation

XMLData::XMLData CharStr   tag,
CharStr   strValue,
XMLData *    next = XMLData::Nil,
XMLAttrib   attributes = XMLAttrib::Nil
 

Definition at line 59 of file xmldata.cpp.

References init(), and Nil.

XMLData::XMLData const char *    tag,
CharStr   strValue,
XMLData *    next = XMLData::Nil,
XMLAttrib   attributes = XMLAttrib::Nil
 

Definition at line 65 of file xmldata.cpp.

References CharStr::create(), init(), Nil, and tag().

XMLData::XMLData CharStr   tag,
const char *    strValue,
XMLData *    next = XMLData::Nil,
XMLAttrib   attributes = XMLAttrib::Nil
 

Definition at line 70 of file xmldata.cpp.

References CharStr::create(), init(), and Nil.

XMLData::XMLData const char *    tag,
const char *    strValue,
XMLData *    next = XMLData::Nil,
XMLAttrib   attributes = XMLAttrib::Nil
 

Definition at line 75 of file xmldata.cpp.

References CharStr::create(), init(), Nil, and tag().

XMLData::XMLData CharStr   tag,
double    doubleValue,
XMLData *    next = XMLData::Nil,
XMLAttrib   attributes = XMLAttrib::Nil
 

Definition at line 81 of file xmldata.cpp.

References CharStr::create(), init(), and Nil.

XMLData::XMLData const char *    tag,
double    doubleValue,
XMLData *    next = XMLData::Nil,
XMLAttrib   attributes = XMLAttrib::Nil
 

Definition at line 90 of file xmldata.cpp.

References CharStr::create(), init(), Nil, and tag().

XMLData::XMLData CharStr   tag,
XMLData *    subElements,
XMLData *    next = XMLData::Nil,
XMLAttrib   attributes = XMLAttrib::Nil
 

Definition at line 99 of file xmldata.cpp.

References CharStr::Error, and init().

XMLData::XMLData const char *    tag,
XMLData *    subElements,
XMLData *    next = XMLData::Nil,
XMLAttrib   attributes = XMLAttrib::Nil
 

Definition at line 104 of file xmldata.cpp.

References CharStr::create(), CharStr::Error, init(), and tag().

XMLData::XMLData istream &    s
 

Definition at line 110 of file xmldata.cpp.

References CharStr::Error, init(), XMLAttrib::Nil, and Nil.

XMLData::XMLData const char *    input
 

Definition at line 117 of file xmldata.cpp.

References CharStr::Error, init(), XMLAttrib::Nil, and Nil.

XMLData::XMLData const XMLData *    other,
int    following = 1
 

Definition at line 125 of file xmldata.cpp.

References attrs, contents, init(), nextElem, Nil, XMLAttrib::Nil, strTag, xmlContents, and XMLData().

XMLData::~XMLData  
 

Definition at line 150 of file xmldata.cpp.

References attrs, contents, iterator, nextElem, XMLAttrib::Nil, Nil, CharStr::released(), strTag, and xmlContents.

XMLData::XMLData char    c [private]
 

Definition at line 53 of file xmldata.cpp.

References CharStr::Error, init(), and XMLAttrib::Nil.

XMLData::XMLData   [inline, private]
 

Definition at line 479 of file xmldata.h.

Referenced by subAll_internal(), and XMLData().


Member Function Documentation

void XMLData::add XMLData *    newContents
 

Definition at line 599 of file xmldata.cpp.

References contents, CharStr::Error, nextElem, Nil, CharStr::released(), and xmlContents.

Referenced by Client::_taskCreate(), addTask(), Master::checkReserves(), Client::clientOff(), Client::clientOn(), copyTask(), editIOFiles(), editSubElement(), editTask(), editTaskInfo(), editTaskInfos(), event_slave_avail(), Client::jobCtrl(), Master::msgJobCtrl_GetStatus(), Master::msgSlaveCtrl_Upgrade(), o2x(), Client::slaveReserve(), Master::sndJobStatus(), Master::sndSlaveAvail(), Master::sndSlaveCtrl(), Slave::sndSlaveStatus(), Master::sndSlaveStatus(), Master::sndStatusError(), Master::sndTaskCtrl(), Slave::sndTaskFinish(), Master::sndTaskInit(), Slave::sndTaskStatus(), submit_executable_task(), submit_or_reserve_task(), Client::taskCreate(), Client::taskCtrl(), and upgrade_slaves().

int XMLData::attribCount  
 

Definition at line 946 of file xmldata.cpp.

References attrs, XMLAttrib::next(), and XMLAttrib::Nil.

void XMLData::chainWith XMLData *    next
 

Definition at line 312 of file xmldata.cpp.

References nextElem.

Referenced by xTInfo2xSInfoAll().

int XMLData::count  
 

Definition at line 298 of file xmldata.cpp.

References nextElem, and Nil.

Referenced by send_reservation(), subCount(), and submit_or_reserve_task().

int XMLData::equals XMLData *    other,
int    exact = 0,
int    following = 0
 

Definition at line 399 of file xmldata.cpp.

References contents, nextElem, Nil, CharStr::str, strTag, and xmlContents.

Referenced by sub_internal().

CharStr* XMLData::getAttrib CharStr   attrName [inline]
 

Definition at line 389 of file xmldata.h.

References getAttrib(), and CharStr::str.

CharStr * XMLData::getAttrib const char *    attrName
 

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().

XMLAttrib * XMLData::getAttribs  
 

Definition at line 979 of file xmldata.cpp.

References attrs.

double XMLData::getDouble const char *    subName [inline]
 

Definition at line 186 of file xmldata.h.

References getDouble(), and sub().

double XMLData::getDouble CharStr   subName [inline]
 

Definition at line 180 of file xmldata.h.

References getDouble(), and sub().

double XMLData::getDouble  
 

Definition at line 256 of file xmldata.cpp.

References contents, and CharStr::str.

Referenced by getDouble().

int XMLData::getIndex  
 

Definition at line 895 of file xmldata.cpp.

References xmldata_it_s::i, iterator, nextElem, Nil, and xmlContents.

long XMLData::getLong const char *    subName [inline]
 

Definition at line 169 of file xmldata.h.

References getLong(), and sub().

long XMLData::getLong CharStr   subName [inline]
 

Definition at line 163 of file xmldata.h.

References getLong(), and sub().

long XMLData::getLong  
 

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().

XMLData* XMLData::getNextElem   [inline]
 

Definition at line 220 of file xmldata.h.

Referenced by removeExecutableAll(), and xTInfo2xSInfoAll().

CharStr* XMLData::getString const char *    subName [inline]
 

Definition at line 152 of file xmldata.h.

References getString(), and sub().

CharStr* XMLData::getString CharStr   subName [inline]
 

Definition at line 146 of file xmldata.h.

References getString(), and sub().

CharStr * XMLData::getString  
 

Definition at line 244 of file xmldata.cpp.

References contents.

Referenced by Client::clientOff(), Client::clientOn(), Master::dispatchMsg(), editInputFile(), editIOFiles(), editOutputFileOrUtility(), editSubElement(), editTask(), editTaskInfo(), editTaskInfos(), event_slave_avail(), extract_datapathprefix(), extract_filesURL(), getString(), PostOffice::inbox(), Master::matchURL(), Master::msgClientStatus(), Master::msgJobCtrl(), Slave::msgSlaveCtrl(), Master::msgSlaveCtrl(), Master::msgSlaveCtrl_Upgrade(), Master::msgSlaveStatus(), Master::msgSlaveStatus_Ready(), Slave::msgTaskCtrl(), Master::msgTaskCtrl(), Slave::msgTaskInit(), Master::msgTaskInit(), Master::msgTaskMove(), Master::msgTaskStatus(), process_utilities(), send_reservation(), Client::slaveReserve(), submit_executable_task(), submit_library_task(), submit_or_reserve_task(), task_menu(), upgrade_slaves(), Client::waitMaster(), and x2o().

XMLAttrib* XMLData::getXMLAttrib CharStr   attrName [inline]
 

Definition at line 399 of file xmldata.h.

References getXMLAttrib(), and CharStr::str.

XMLAttrib * XMLData::getXMLAttrib const char *    attrName
 

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().

void XMLData::init CharStr   tag,
CharStr   cnts,
XMLData *    xcnts,
XMLData *    next,
XMLAttrib   as
[private]
 

Definition at line 1420 of file xmldata.cpp.

References attrs, contents, iterator, nextElem, strTag, and xmlContents.

Referenced by XMLData().

int XMLData::init_static   [static]
 

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().

void XMLData::insert XMLData *    subElement,
int    onTop = 0
 

Definition at line 914 of file xmldata.cpp.

References iterator, nextElem, Nil, xmldata_it_s::reci, and xmlContents.

int XMLData::more  
 

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.

XMLData * XMLData::next  
 

Definition at line 810 of file xmldata.cpp.

References iterator, next_internal(), and xmldata_it_s::recursive.

Referenced by main(), sub(), and subAll_internal().

XMLData * XMLData::next_internal int    recursive [private]
 

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().

istream & XMLData::prematureEnd istream &    stream [private]
 

Definition at line 1088 of file xmldata.cpp.

References contents, ReadError, CharStr::stored(), and strTag.

Referenced by operator>>().

int XMLData::print char *    buffer,
int    maxlen,
int    indent = 0,
int    following = 1
 

Definition at line 232 of file xmldata.cpp.

References buffer, and print().

void XMLData::print ostream &    s,
int    indent = 0,
int    following = 1
 

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().

void XMLData::remove XMLData *    match,
int    exact = 0,
int    dont_delete = 0
 

Definition at line 702 of file xmldata.cpp.

References remove_internal().

void XMLData::remove CharStr   tag,
int    dont_delete = 0
[inline]
 

Definition at line 317 of file xmldata.h.

References remove(), and CharStr::str.

void XMLData::remove const char *    tag,
int    dont_delete = 0
 

Definition at line 676 of file xmldata.cpp.

References Nil, remove_internal(), and tag().

void XMLData::remove int    dont_delete = 0
 

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().

void XMLData::remove_internal const char *    tag,
XMLData *    match,
int    exact,
int    dont_delete
[private]
 

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().

void XMLData::removeAll XMLData *    match,
int    exact = 0,
int    dont_delete = 0
 

Definition at line 738 of file xmldata.cpp.

References removeAll_internal().

void XMLData::removeAll CharStr   tag,
int    dont_delete = 0
[inline]
 

Definition at line 330 of file xmldata.h.

References removeAll(), and CharStr::str.

void XMLData::removeAll const char *    tag,
int    dont_delete = 0
 

Definition at line 708 of file xmldata.cpp.

References Nil, removeAll_internal(), and tag().

Referenced by editTaskInfo(), and removeAll().

void XMLData::removeAll_internal const char *    tag,
XMLData *    match,
int    exact,
int    dont_delete
[private]
 

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().

void XMLData::removeAttrib CharStr   attrName [inline]
 

Definition at line 428 of file xmldata.h.

References removeAttrib(), and CharStr::str.

void XMLData::removeAttrib const char *    attrName
 

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().

void XMLData::removeAttribs  
 

Definition at line 1067 of file xmldata.cpp.

References attrs, and XMLAttrib::Nil.

void XMLData::removeRemaining  
 

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.

XMLData * XMLData::reset int    index = 0,
int    recursive = 0
 

Definition at line 773 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, and xmlContents.

Referenced by PostOffice::_send(), checkAfterTask(), copyTask(), Master::dispatchMsg(), editInputFile(), editIOFiles(), editOutputFileOrUtility(), editSubElement(), editTask(), editTaskInfo(), editTaskInfos(), event_slave_avail(), Master::matchURL(), Master::msgJobCtrl(), Master::msgSlaveReserve(), Master::msgSlaveStatus(), newTaskId(), next_internal(), process_utilities(), PostOffice::put_back(), remove(), removeTask(), Client::slaveReserve(), subCount(), submit_executable_task(), submit_library_task(), submit_or_reserve_task(), task_menu(), upgrade_slaves(), wakeup_tasks(), and x2o().

void XMLData::set XMLData *    newContents
 

Definition at line 290 of file xmldata.cpp.

References contents, Nil, CharStr::released(), and xmlContents.

void XMLData::set double    newContents
 

Definition at line 278 of file xmldata.cpp.

References contents, Nil, CharStr::released(), and xmlContents.

void XMLData::set const char *    newContents
 

Definition at line 272 of file xmldata.cpp.

References CharStr::create(), and set().

void XMLData::set CharStr   newContents
 

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().

void XMLData::setAttrib const char *    attrName,
double    attrValue,
int    index = -1
 

Definition at line 1034 of file xmldata.cpp.

References CharStr::create(), and setAttrib().

void XMLData::setAttrib CharStr   attrName,
double    attrValue,
int    index = -1
 

Definition at line 1028 of file xmldata.cpp.

References setAttrib().

void XMLData::setAttrib const char *    attrName,
const char *    attrValue,
int    index = -1
 

Definition at line 1022 of file xmldata.cpp.

References CharStr::create(), and setAttrib().

void XMLData::setAttrib CharStr   attrName,
const char *    attrValue,
int    index = -1
 

Definition at line 1017 of file xmldata.cpp.

References CharStr::create(), and setAttrib().

void XMLData::setAttrib const char *    attrName,
CharStr   attrValue,
int    index = -1
 

Definition at line 1012 of file xmldata.cpp.

References CharStr::create(), and setAttrib().

void XMLData::setAttrib CharStr   attrName,
CharStr   attrValue,
int    index = -1
 

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().

void XMLData::setTag const char *    tag
 

Definition at line 174 of file xmldata.cpp.

References CharStr::create(), CharStr::stored(), strTag, and tag().

void XMLData::setTag CharStr   tag
 

Definition at line 169 of file xmldata.cpp.

References strTag.

Referenced by xTInfo2xSInfo().

XMLData * XMLData::sub XMLData *    match,
int    skip = 0,
int    exact = 0
 

Definition at line 517 of file xmldata.cpp.

References iterator, xmldata_it_s::last_sub, next(), Nil, xmldata_it_s::recursive, and sub_internal().

XMLData* XMLData::sub CharStr   tag,
int    skip = 0
[inline]
 

Definition at line 252 of file xmldata.h.

References CharStr::str, and sub().

XMLData * XMLData::sub const char *    tag,
int    skip = 0
 

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().

XMLData * XMLData::sub  
 

Definition at line 335 of file xmldata.cpp.

References iterator, xmldata_it_s::reci, and xmlContents.

Referenced by PostOffice::_send(), Client::_taskCreate(), checkAfterTask(), Client::clientOff(), Client::clientOn(), copyTask(), Master::dispatchMsg(), editInputFile(), editIOFiles(), editOutputFileOrUtility(), editTask(), editTaskInfo(), editTaskInfos(), event_slave_avail(), event_task_finish(), getDouble(), getLong(), getString(), Client::jobCtrl(), main(), Master::matchURL(), Master::msgClientStatus(), Master::msgJobCtrl(), Master::msgSlaveCtrl_Upgrade(), Master::msgSlaveReserve(), Master::msgSlaveStatus(), Master::msgSlaveStatus_Ready(), Slave::msgTaskCtrl(), Master::msgTaskCtrl(), Master::msgTaskFinish(), Slave::msgTaskInit(), Master::msgTaskInit(), Master::msgTaskMove(), Master::msgTaskStatus(), Master::msgTaskStatus_Started(), newTaskId(), process_utilities(), PostOffice::put_back(), removeTask(), send_reservation(), Client::slaveReserve(), Master::srchJob(), sub(), subCount(), submit_executable_task(), submit_library_task(), submit_or_reserve_task(), task_menu(), Client::taskCreate(), Client::taskCtrl(), Client::waitMaster(), wakeup_tasks(), and x2o().

XMLData * XMLData::sub_internal XMLData *    match,
int    skip,
int    exact,
int    rec,
int    from_top
[private]
 

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.

XMLData * XMLData::sub_internal const char *    tag,
int &    skip,
short    rec,
int    from_top
[private]
 

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().

XMLData * XMLData::subAll XMLData *    match,
int    exact = 0
 

Definition at line 593 of file xmldata.cpp.

References subAll_internal().

XMLData* XMLData::subAll CharStr   tag [inline]
 

Definition at line 284 of file xmldata.h.

References CharStr::str, and subAll().

XMLData * XMLData::subAll const char *    tag
 

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().

XMLData * XMLData::subAll_internal const char *    tag,
XMLData *    match,
int    exact
[private]
 

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().

int XMLData::subCount CharStr   tag [inline]
 

Definition at line 232 of file xmldata.h.

References CharStr::str, and subCount().

int XMLData::subCount const char *    tag
 

Definition at line 326 of file xmldata.cpp.

References count(), Nil, reset(), sub(), and tag().

int XMLData::subCount  
 

Definition at line 320 of file xmldata.cpp.

References count(), and xmlContents.

Referenced by editIOFiles(), editTask(), editTaskInfos(), main_menu(), subCount(), and task_menu().

CharStr * XMLData::tag  
 

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().

istream & XMLData::unexpectedCharError istream &    stream,
const char *    expected
[private]
 

Definition at line 1075 of file xmldata.cpp.

References contents, ReadError, CharStr::stored(), and strTag.

Referenced by operator>>().


Friends And Related Function Documentation

COM_API ostream& operator<< ostream &    stream,
XMLData &    obj
[friend]
 

Definition at line 1410 of file xmldata.cpp.

COM_API istream& operator>> istream &    stream,
XMLData &    obj
[friend]
 

Definition at line 1220 of file xmldata.cpp.


Member Data Documentation

XMLAttrib* XMLData::attrs [private]
 

Definition at line 45 of file xmldata.h.

Referenced by attribCount(), getAttribs(), getXMLAttrib(), init(), operator>>(), print(), removeAttrib(), removeAttribs(), setAttrib(), XMLData(), and ~XMLData().

CharStr * XMLData::CDATA [static]
 

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().

CharStr* XMLData::contents [private]
 

Definition at line 48 of file xmldata.h.

Referenced by add(), equals(), getDouble(), getLong(), getString(), init(), operator>>(), prematureEnd(), print(), set(), unexpectedCharError(), XMLData(), and ~XMLData().

CharStr * XMLData::EndOfFile [static]
 

Definition at line 25 of file xmldata.cpp.

Referenced by init_static(), and operator>>().

XMLIterator* XMLData::iterator [private]
 

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().

XMLData* XMLData::nextElem [private]
 

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().

XMLData * XMLData::Nil [static]
 

Definition at line 27 of file xmldata.cpp.

Referenced by PostOffice::_receive(), PostOffice::_receive_any(), Client::_taskCreate(), add(), checkAfterTask(), Master::checkReserves(), Client::clientOff(), Client::clientOn(), copyTask(), count(), Master::dispatchMsg(), editIOFiles(), editTask(), editTaskInfo(), editTaskInfos(), equals(), event_slave_avail(), event_task_finish(), getIndex(), init_project(), init_static(), insert(), Client::jobCtrl(), main(), Master::Master(), Master::matchURL(), more(), Master::msgClientStatus(), Master::msgJobCtrl(), Master::msgJobCtrl_GetStatus(), Master::msgJobCtrl_Stop(), Master::msgSlaveCtrl_Upgrade(), Master::msgSlaveReserve(), Master::msgTaskInit(), Master::msgTaskMove(), newTaskId(), next_internal(), o2x(), operator>>(), print(), process_utilities(), remove(), remove_internal(), removeAll(), removeAll_internal(), removeExecutableAll(), removeRemaining(), removeTask(), reset(), send_reservation(), set(), Client::slaveReserve(), Master::sndJobStatus(), Master::sndStatusError(), Master::sndTaskCtrl(), Master::startMaster(), Slave::startSlave(), sub(), sub_internal(), subAll(), subAll_internal(), subCount(), submit_executable_task(), submit_library_task(), submit_or_reserve_task(), task_menu(), Client::taskCreate(), Client::taskCtrl(), upgrade_slaves(), Client::wait_for(), Client::waitMaster(), wakeup_tasks(), x2o(), XMLData(), xmlmsg(), xTInfo2xSInfoAll(), Master::~Master(), and ~XMLData().

CharStr * XMLData::ReadError [static]
 

Definition at line 24 of file xmldata.cpp.

Referenced by PostOffice::inbox(), init_static(), Master::Master(), operator>>(), prematureEnd(), startup(), and unexpectedCharError().

CharStr* XMLData::strTag [private]
 

Definition at line 44 of file xmldata.h.

Referenced by equals(), init(), operator>>(), prematureEnd(), print(), setTag(), sub_internal(), tag(), unexpectedCharError(), XMLData(), and ~XMLData().

XMLData* XMLData::xmlContents [private]
 

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().


The documentation for this class was generated from the following files:
Generated on Mon Nov 25 12:46:41 2002 for qadpz by doxygen1.2.18