ReactOS  0.4.15-dev-4914-g2220e56
XMLStorage::XMLReader Struct Reference

XML file reader. More...

#include <xmlstorage.h>

Inheritance diagram for XMLStorage::XMLReader:
Collaboration diagram for XMLStorage::XMLReader:

Public Member Functions

 XMLReader (XMLNode *node, std::istream &in)
int get ()
 read one character from XML stream More...
- Public Member Functions inherited from XMLStorage::XMLReaderBase
 XMLReaderBase (XMLNode *node)
virtual ~XMLReaderBase ()
bool parse ()
void read ()
 read XML stream into XML tree below _pos More...
std::string get_position () const
 return current parser position as string More...
const XMLFormatget_format () const
const charget_endl () const
const XMLErrorListget_errors () const
const XMLErrorListget_warnings () const
void clear_errors ()

Protected Attributes

- Protected Attributes inherited from XMLStorage::XMLReaderBase
XMLPos _pos
std::string _content
enum XMLStorage::XMLReaderBase:: { ... }  _last_tag
XMLErrorList _errors
XMLErrorList _warnings
XMLFormat _format
bool _endl_defined
bool _utf8

Additional Inherited Members

- Protected Types inherited from XMLStorage::XMLReaderBase
- Protected Member Functions inherited from XMLStorage::XMLReaderBase
int eat_endl ()
void finish_read ()
virtual void XmlDeclHandler (const char *version, const char *encoding, int standalone)
 store XML version and encoding into XML reader More...
virtual void StartElementHandler (const XS_String &name, const XMLNode::AttributeMap &attributes)
 notifications about XML start tag More...
virtual void EndElementHandler ()
 notifications about XML end tag More...
virtual void DefaultHandler (const std::string &s)
 store content, white space and comments More...

Detailed Description

XML file reader.

Definition at line 2584 of file xmlstorage.h.

Constructor & Destructor Documentation

◆ XMLReader()

XMLStorage::XMLReader::XMLReader ( XMLNode node,
std::istream in 

Definition at line 2586 of file xmlstorage.h.

2587  : XMLReaderBase(node),
2588  _in(in)
2589  {
2590  }
XMLReaderBase(XMLNode *node)
Definition: xmlstorage.h:2464
std::istream & _in
Definition: xmlstorage.h:2599
GLuint in
Definition: glext.h:9616
Definition: dlist.c:348

Member Function Documentation

◆ get()

int XMLStorage::XMLReader::get ( )

read one character from XML stream

Implements XMLStorage::XMLReaderBase.

Definition at line 2593 of file xmlstorage.h.

2594  {
2595  return _in.get();
2596  }
std::istream & _in
Definition: xmlstorage.h:2599

Member Data Documentation

◆ _in

std::istream& XMLStorage::XMLReader::_in

Definition at line 2599 of file xmlstorage.h.

Referenced by get().

The documentation for this struct was generated from the following file: