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
UniXMLPropList getPropList () const

Методы

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

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

bool UniXML_iterator::goChildren ( )

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

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

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

bool UniXML_iterator::goParent ( )

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

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

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

bool UniXML_iterator::goThrowNext ( )

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