libebook::XMLTreeWalker Class Reference

#include <XMLTreeWalker.h>

Classes

class  Attribute
class  AttributeIterator
class  Iterator

Public Types

typedef int(* TokenizerFun_t) (const char *, std::size_t)

Public Member Functions

 XMLTreeWalker (const XMLTreeNodePtr_t &p, TokenizerFun_t tok=0)
bool empty () const
Iterator begin () const
const Iterator end () const
bool hasParent () const
const XMLTreeWalker getParent () const
bool isDocument () const
bool isElement () const
bool isText () const
int getId () const
const std::string getName () const
const std::string getNamespace () const
const std::string & getText () const
bool hasAttributes () const
AttributeIterator beginAttributes () const
const AttributeIterator endAttributes () const
CSSSelectResultsPtr_t getStyle (const XMLStylesheets_t &sheets, bool quirks=false, const CSSStylesheetPtr_t &inlineSheet=CSSStylesheetPtr_t()) const

Private Attributes

XMLTreeNodePtr_t m_impl
TokenizerFun_t m_tok

Member Typedef Documentation

◆ TokenizerFun_t

typedef int(* libebook::XMLTreeWalker::TokenizerFun_t) (const char *, std::size_t)

Constructor & Destructor Documentation

◆ XMLTreeWalker()

libebook::XMLTreeWalker::XMLTreeWalker ( const XMLTreeNodePtr_t & p,
TokenizerFun_t tok = 0 )
explicit

Member Function Documentation

◆ begin()

XMLTreeWalker::Iterator libebook::XMLTreeWalker::begin ( ) const

◆ beginAttributes()

XMLTreeWalker::AttributeIterator libebook::XMLTreeWalker::beginAttributes ( ) const

◆ empty()

bool libebook::XMLTreeWalker::empty ( ) const

◆ end()

◆ endAttributes()

const XMLTreeWalker::AttributeIterator libebook::XMLTreeWalker::endAttributes ( ) const

◆ getId()

int libebook::XMLTreeWalker::getId ( ) const

◆ getName()

const std::string libebook::XMLTreeWalker::getName ( ) const

◆ getNamespace()

const std::string libebook::XMLTreeWalker::getNamespace ( ) const

◆ getParent()

const XMLTreeWalker libebook::XMLTreeWalker::getParent ( ) const

◆ getStyle()

◆ getText()

const std::string & libebook::XMLTreeWalker::getText ( ) const

◆ hasAttributes()

bool libebook::XMLTreeWalker::hasAttributes ( ) const

◆ hasParent()

bool libebook::XMLTreeWalker::hasParent ( ) const

◆ isDocument()

bool libebook::XMLTreeWalker::isDocument ( ) const

◆ isElement()

◆ isText()

bool libebook::XMLTreeWalker::isText ( ) const

Member Data Documentation

◆ m_impl

◆ m_tok


The documentation for this class was generated from the following files:

Generated for libe-book by doxygen 1.14.0