Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

xml_parser::basic_xml_element_parser< E, A > Class Template Reference

#include <xml_element_parser.h>

Inheritance diagram for xml_parser::basic_xml_element_parser< E, A >:

grammar_to_parser::basic_non_terminal< E, A > grammar_to_parser::basic_object_parser< E, A > grammar_to_parser::basic_parser< E > List of all members.

Public Types

typedef grammar_to_parser::basic_parser<
E >::parser_list 
parser_list
typedef grammar_to_parser::basic_parser<
E >::parser_list_iterator 
parser_list_iterator
typedef basic_xml_attribute_list_parser<
E >::attributes_parsers_list 
attributes_parsers_list
typedef std::basic_string< E > std_string
enum  xml_special_chars { left_bracket = '<', right_bracket = '>', end_tag_char = '/' }

Public Member Functions

 basic_xml_element_parser (std::basic_string< E > tag_name)

Protected Member Functions

virtual void prepare_symbols ()
 Obtains the list of symbols embedded in parsed object.

Protected Attributes

grammar_to_parser::basic_pattern_parser<
E > 
m_begin_left_bracket
grammar_to_parser::basic_pattern_parser<
E > 
m_begin_tag_name
basic_xml_attribute_list_parser<
E > 
m_attribute_list_parser
grammar_to_parser::basic_pattern_parser<
E > 
m_begin_right_bracket
grammar_to_parser::basic_pattern_parser<
E > 
m_end_left_bracket
grammar_to_parser::basic_pattern_parser<
E > 
m_end_char
grammar_to_parser::basic_pattern_parser<
E > 
m_end_tag_name
grammar_to_parser::basic_pattern_parser<
E > 
m_end_right_bracket

Detailed Description

template<typename E, typename A>
class xml_parser::basic_xml_element_parser< E, A >

parser used to parse any of XML tags, compount class (typename A) must implement the methods: void push_attributes_parser(parser_list &l) - must give the parser of attributes used in element declaration; and the method: void push_parsers(parser_list &l) - must give the parser of element value - can be parser of complex type. get_name() - must return the tag name


The documentation for this class was generated from the following file:
Generated on Sun Jul 2 18:39:48 2006 for grammar2parser.kdevelop by  doxygen 1.4.1