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

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

Constructor & Destructor Documentation

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

Member Function Documentation

XMLTreeWalker::Iterator libebook::XMLTreeWalker::begin ( ) const
XMLTreeWalker::AttributeIterator libebook::XMLTreeWalker::beginAttributes ( ) const
bool libebook::XMLTreeWalker::empty ( ) const
const XMLTreeWalker::Iterator libebook::XMLTreeWalker::end ( ) const
const XMLTreeWalker::AttributeIterator libebook::XMLTreeWalker::endAttributes ( ) const
int libebook::XMLTreeWalker::getId ( ) const
const std::string libebook::XMLTreeWalker::getName ( ) const
const std::string libebook::XMLTreeWalker::getNamespace ( ) const
const XMLTreeWalker libebook::XMLTreeWalker::getParent ( ) const
const std::string & libebook::XMLTreeWalker::getText ( ) const
bool libebook::XMLTreeWalker::hasAttributes ( ) const
bool libebook::XMLTreeWalker::hasParent ( ) const
bool libebook::XMLTreeWalker::isDocument ( ) const
bool libebook::XMLTreeWalker::isText ( ) const

Member Data Documentation


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

Generated for libe-book by doxygen 1.8.8