UniSet 1.7.0
Открытые члены | Защищенные данные
Класс UniXML_iterator

Полный список членов класса

Открытые члены

 UniXML_iterator (xmlNode *node)
std::string getProp (const std::string name) const
std::string getPropUtf8 (const std::string name) const
int getIntProp (const std::string name) const
int getPIntProp (const std::string name, int def) const
 if value if not positive ( <= 0 ), returns def
void setProp (const std::string name, const std::string text)
bool findName (const std::string node, const std::string searchname)
bool find (const std::string searchnode)
bool goNext ()
bool goThrowNext ()
bool goPrev ()
bool canPrev ()
bool canNext ()
UniXML_iterator operator++ (int)
UniXML_iterator operator++ ()
UniXML_iterator operator-- (int)
UniXML_iterator operator-- ()
bool goParent ()
bool goChildren ()
xmlNode * getCurrent () const
const std::string getName () const
const std::string getContent () const
 operator xmlNode * ()
void goBegin ()
void goEnd ()

Защищенные данные

xmlNode * curNode

Методы

int UniXML_iterator::getPIntProp ( const std::string  name,
int  def 
) const

if value if not positive ( <= 0 ), returns def

Используется в IOBase::initItem().

bool UniXML_iterator::goChildren ( )

Перейти на один уровень ниже

Заметки:
Если перейти не удалось, итератор остаётся указывать на прежний узел

Используется в Restorer_XML::find_node().

bool UniXML_iterator::goNext ( )

Перейти к следующему узлу. Возвращает false, если некуда перейти

Используется в Restorer_XML::find_node().

bool UniXML_iterator::goParent ( )

Перейти на один уровень выше

Заметки:
Если перейти не удалось, итератор остаётся указывать на прежний узел
bool UniXML_iterator::goPrev ( )

Перейти к предыдущему узлу

bool UniXML_iterator::goThrowNext ( )

Перейти насквозь к следующему узлу. Возвращает false, если некуда перейти


Объявления и описания членов классов находятся в файлах: