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

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

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

 UniXML_iterator (xmlNode *node)
std::string getProp (const std::string &name)
std::string getPropUtf8 (const std::string &name)
int getIntProp (const std::string &name)
int getPIntProp (const std::string &name, int def)
 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++ (int)
UniXML_iterator operator+= (int)
UniXML_iterator operator++ ()
UniXML_iterator operator- (int)
UniXML_iterator operator-- (int)
UniXML_iterator operator-- ()
UniXML_iterator operator-= (int)
bool goParent ()
bool goChildren ()
xmlNode * getCurrent ()
const std::string getName () const
const std::string getContent () const
 operator xmlNode * () const
void goBegin ()
void goEnd ()

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

xmlNode * curNode

Методы

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

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

Перекрестные ссылки UniSetTypes::uni_atoi().

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

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

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

Перекрестные ссылки goNext().

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

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

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

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

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

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

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


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