|  | 
|  | parser (std::string const &filename, std::istream &in, node::pointer_t &root) | 
|  | 
|  | 
| enum class | token_t { TOK_CLOSE_TAG
, TOK_EMPTY_TAG
, TOK_END_TAG
, TOK_EOF
,
 TOK_EQUAL
, TOK_IDENTIFIER
, TOK_OPEN_TAG
, TOK_PROCESSOR
,
 TOK_STRING
, TOK_TEXT
 }
 | 
|  | 
Definition at line 43 of file parser.h.
 
◆ token_t
  
  | 
        
          | enum class basic_xml::parser::token_t |  | strongprivate | 
 
 
◆ parser()
      
        
          | basic_xml::parser::parser | ( | std::string const & | filename, | 
        
          |  |  | std::istream & | in, | 
        
          |  |  | node::pointer_t & | root | 
        
          |  | ) |  |  | 
      
 
 
◆ get_token()
  
  | 
        
          | parser::token_t basic_xml::parser::get_token | ( | bool | parsing_attributes | ) |  |  | private | 
 
 
◆ getc()
  
  | 
        
          | char32_t basic_xml::parser::getc | ( |  | ) |  |  | private | 
 
 
◆ load()
  
  | 
        
          | void basic_xml::parser::load | ( | node::pointer_t & | root | ) |  |  | private | 
 
This function loads what it considers valid XML.
- Parameters
- 
  
    | [out] | root | A reference to the root pointer where the results are saved. |  
 
Definition at line 75 of file parser.cpp.
 
 
◆ read_tag_attributes()
  
  | 
        
          | parser::token_t basic_xml::parser::read_tag_attributes | ( | node::pointer_t & | tag | ) |  |  | private | 
 
 
◆ skip_empty()
  
  | 
        
          | parser::token_t basic_xml::parser::skip_empty | ( | token_t | tok | ) |  |  | private | 
 
 
◆ unescape_entities()
  
  | 
        
          | void basic_xml::parser::unescape_entities | ( |  | ) |  |  | private | 
 
 
◆ ungetc()
  
  | 
        
          | void basic_xml::parser::ungetc | ( | char32_t | c | ) |  |  | private | 
 
 
◆ f_filename
  
  | 
        
          | std::string basic_xml::parser::f_filename = std::string() |  | private | 
 
 
◆ f_in
  
  | 
        
          | std::istream& basic_xml::parser::f_in |  | private | 
 
 
◆ f_line
  
  | 
        
          | int basic_xml::parser::f_line = 1 |  | private | 
 
 
◆ f_ungetc
  
  | 
        
          | char32_t basic_xml::parser::f_ungetc[4] = { '\0' } |  | private | 
 
 
◆ f_ungetc_pos
  
  | 
        
          | std::size_t basic_xml::parser::f_ungetc_pos = 0 |  | private | 
 
 
◆ f_value
  
  | 
        
          | std::string basic_xml::parser::f_value = std::string() |  | private | 
 
 
The documentation for this class was generated from the following files: