UniSet  2.6.0
Открытые члены
Класс uniset::UniXML_iterator

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

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

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

Методы

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

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

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

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

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

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

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

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

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