UniSet  1.4.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

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

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

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

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

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

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

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

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

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


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