libetonyek::KEYXMLReader Class Reference

#include <KEYXMLReader.h>

List of all members.

Classes

class  AttributeIterator
class  ElementIterator
struct  Impl
class  MixedIterator
class  NodeIterator

Public Types

typedef boost::function< int(const
char *) 
TokenizerFunction_t )

Public Member Functions

 KEYXMLReader (WPXInputStream *input)
 KEYXMLReader (WPXInputStream *input, TokenizerFunction_t tokenizer)
 KEYXMLReader (const ElementIterator &iterator)
 KEYXMLReader (const MixedIterator &iterator)
 ~KEYXMLReader ()
const char * getName () const
 Get the local name of the current element.
const char * getNamespace () const
 Get the namespace URI of the current element.
int getToken (const char *token) const

Private Types

enum  Type { TYPE_ELEMENT = 0x1, TYPE_TEXT = 0x2 }

Private Member Functions

 KEYXMLReader (const KEYXMLReader &other)
KEYXMLReaderoperator= (const KEYXMLReader &other)
void initialize (WPXInputStream *input)

Private Attributes

Impl *const m_impl
bool m_owner

Member Typedef Documentation

typedef boost::function<int(const char *) libetonyek::KEYXMLReader::TokenizerFunction_t)

Member Enumeration Documentation

Enumerator:
TYPE_ELEMENT 
TYPE_TEXT 

Constructor & Destructor Documentation

libetonyek::KEYXMLReader::KEYXMLReader ( WPXInputStream *  input) [explicit]
libetonyek::KEYXMLReader::KEYXMLReader ( WPXInputStream *  input,
TokenizerFunction_t  tokenizer 
)

Member Function Documentation

const char * libetonyek::KEYXMLReader::getName ( ) const

Get the local name of the current element.

Warning:
Can only be used before any iterator is used.

Referenced by libetonyek::getNameId().

Get the namespace URI of the current element.

Warning:
Can only be used before any iterator is used.

Referenced by libetonyek::getNamespaceId().

int libetonyek::KEYXMLReader::getToken ( const char *  token) const
void libetonyek::KEYXMLReader::initialize ( WPXInputStream *  input) [private]

Referenced by KEYXMLReader().

KEYXMLReader& libetonyek::KEYXMLReader::operator= ( const KEYXMLReader other) [private]

Member Data Documentation

Referenced by ~KEYXMLReader().


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