CARLA
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
xml_parser Struct Reference
+ Collaboration diagram for xml_parser:

Public Member Functions

char_t * parse_doctype_group (char_t *s, char_t endch)
 
char_t * parse_doctype_ignore (char_t *s)
 
char_t * parse_doctype_primitive (char_t *s)
 
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_tree (char_t *s, xml_node_struct *root, unsigned int optmsk, char_t endch)
 
 xml_parser (xml_allocator *alloc_)
 

Static Public Member Functions

static bool has_element_node_siblings (xml_node_struct *node)
 
static xml_parse_result parse (char_t *buffer, size_t length, xml_document_struct *xmldoc, xml_node_struct *root, unsigned int optmsk)
 
static char_t * parse_skip_bom (char_t *s)
 

Public Attributes

xml_allocatoralloc
 
char_t * error_offset
 
xml_parse_status error_status
 

Detailed Description

Definition at line 2918 of file pugixml.cpp.

Constructor & Destructor Documentation

◆ xml_parser()

xml_parser::xml_parser ( xml_allocator alloc_)
inline

Definition at line 2924 of file pugixml.cpp.

Member Function Documentation

◆ has_element_node_siblings()

static bool xml_parser::has_element_node_siblings ( xml_node_struct node)
inlinestatic

Definition at line 3499 of file pugixml.cpp.

References pugi::node_element, and PUGI__NODETYPE.

◆ parse()

static xml_parse_result xml_parser::parse ( char_t *  buffer,
size_t  length,
xml_document_struct xmldoc,
xml_node_struct root,
unsigned int  optmsk 
)
inlinestatic

Definition at line 3511 of file pugixml.cpp.

References error_offset, error_status, make_parse_result(), pugi::parse_fragment, parse_tree(), PUGI__OPTSET, pugi::status_no_document_element, pugi::status_ok, and pugi::status_unrecognized_tag.

+ Here is the call graph for this function:

◆ parse_doctype_group()

char_t* xml_parser::parse_doctype_group ( char_t *  s,
char_t  endch 
)
inline

Definition at line 2999 of file pugixml.cpp.

References PUGI__THROW_ERROR, and pugi::status_bad_doctype.

◆ parse_doctype_ignore()

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

Definition at line 2968 of file pugixml.cpp.

References PUGI__THROW_ERROR, and pugi::status_bad_doctype.

◆ parse_doctype_primitive()

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

Definition at line 2935 of file pugixml.cpp.

References PUGI__SCANFOR, PUGI__THROW_ERROR, and pugi::status_bad_doctype.

◆ parse_exclamation()

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

◆ parse_question()

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

◆ parse_skip_bom()

static char_t* xml_parser::parse_skip_bom ( char_t *  s)
inlinestatic

Definition at line 3493 of file pugixml.cpp.

◆ parse_tree()

char_t* xml_parser::parse_tree ( char_t *  s,
xml_node_struct root,
unsigned int  optmsk,
char_t  endch 
)
inline

Member Data Documentation

◆ alloc

xml_allocator* xml_parser::alloc

Definition at line 2920 of file pugixml.cpp.

◆ error_offset

char_t* xml_parser::error_offset

Definition at line 2921 of file pugixml.cpp.

Referenced by parse().

◆ error_status

xml_parse_status xml_parser::error_status

Definition at line 2922 of file pugixml.cpp.

Referenced by parse().


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