xml_parser Struct Reference

Collaboration diagram for xml_parser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 xml_parser (const xml_allocator &alloc_)
char_t * parse_doctype_primitive (char_t *s)
char_t * parse_doctype_ignore (char_t *s)
char_t * parse_doctype_group (char_t *s, char_t endch, bool toplevel)
char_t * parse_exclamation (char_t *s, xml_node_struct *cursor, unsigned int optmsk, char_t endch)
char_t * parse_question (char_t *s, xml_node_struct *&ref_cursor, unsigned int optmsk, char_t endch)
char_t * parse (char_t *s, xml_node_struct *xmldoc, unsigned int optmsk, char_t endch)

Static Public Member Functions

static xml_parse_result parse (char_t *buffer, size_t length, xml_node_struct *root, unsigned int optmsk)

Public Attributes

xml_allocator alloc
char_t * error_offset
xml_parse_status error_status


Detailed Description

Definition at line 1859 of file pugixml.cpp.


Constructor & Destructor Documentation

xml_parser::xml_parser ( const xml_allocator alloc_  )  [inline]

Definition at line 1875 of file pugixml.cpp.


Member Function Documentation

static xml_parse_result xml_parser::parse ( char_t *  buffer,
size_t  length,
xml_node_struct *  root,
unsigned int  optmsk 
) [inline, static]

Definition at line 2310 of file pugixml.cpp.

References alloc, xml_document_struct::buffer, error_offset, error_status, make_parse_result(), parse(), pugi::status_ok, and pugi::status_unrecognized_tag.

Here is the call graph for this function:

char_t* xml_parser::parse ( char_t *  s,
xml_node_struct *  xmldoc,
unsigned int  optmsk,
char_t  endch 
) [inline]

char_t* xml_parser::parse_doctype_group ( char_t *  s,
char_t  endch,
bool  toplevel 
) [inline]

Definition at line 1931 of file pugixml.cpp.

References parse_doctype_ignore(), parse_doctype_primitive(), PUGI__THROW_ERROR, and pugi::status_bad_doctype.

Referenced by parse_exclamation().

Here is the call graph for this function:

Here is the caller graph for this function:

char_t* xml_parser::parse_doctype_ignore ( char_t *  s  )  [inline]

Definition at line 1911 of file pugixml.cpp.

References PUGI__THROW_ERROR, and pugi::status_bad_doctype.

Referenced by parse_doctype_group().

Here is the caller graph for this function:

char_t* xml_parser::parse_doctype_primitive ( char_t *  s  )  [inline]

Definition at line 1885 of file pugixml.cpp.

References PUGI__SCANFOR, PUGI__THROW_ERROR, and pugi::status_bad_doctype.

Referenced by parse_doctype_group().

Here is the caller graph for this function:

char_t* xml_parser::parse_exclamation ( char_t *  s,
xml_node_struct *  cursor,
unsigned int  optmsk,
char_t  endch 
) [inline]

char_t* xml_parser::parse_question ( char_t *  s,
xml_node_struct *&  ref_cursor,
unsigned int  optmsk,
char_t  endch 
) [inline]


Member Data Documentation

Definition at line 1860 of file pugixml.cpp.

Referenced by parse().

Definition at line 1861 of file pugixml.cpp.

Referenced by parse().

xml_parse_status xml_parser::error_status

Definition at line 1862 of file pugixml.cpp.

Referenced by parse().


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

Generated on Thu Jul 6 00:32:03 2017 for Moses by  doxygen 1.5.9