#include <data_node_format.hpp>
Inheritance diagram for s11n::io::tree_builder_lexer< NodeType, LexerSharingContext >:
Public Types | |
typedef NodeType | node_type |
typedef LexerSharingContext | sharing_context |
typedef data_node_serializer< NodeType > | parent_type |
Public Member Functions | |
tree_builder_lexer (const std::string &lexerClassName) | |
lexerClassName = the class name of the FlexLexer subtype associated with this serializer. | |
virtual | ~tree_builder_lexer () |
virtual node_type * | deserialize (std::istream &src) |
Overridden to parse src using this object's lexer. | |
virtual node_type * | deserialize (const std::string &src) |
std::string | lexer_class () const |
Returns this object's lexer class name. | |
Protected Member Functions | |
void | lexer_class (const std::string &classname) |
Sets this object's lexer class name. |
It is useless standalone: it must be subclassed.
It holds the class name of a FlexLexer type so it can be dynamically loaded as needed. It takes the responsibility of instantiating that type and passing off input to subclasses.
Definition at line 646 of file data_node_format.hpp.
|
Reimplemented from s11n::io::data_node_serializer< NodeType >. Reimplemented in s11n::io::compact_serializer< NodeType >, s11n::io::funtxt_serializer< NodeType >, s11n::io::funxml_serializer< NodeType >, s11n::io::parens_serializer< NodeType >, s11n::io::simplexml_serializer< NodeType >, and s11n::io::wesnoth_serializer< NodeType >. Definition at line 650 of file data_node_format.hpp. |
|
|
Definition at line 651 of file data_node_format.hpp. |
|
lexerClassName = the class name of the FlexLexer subtype associated with this serializer.
Definition at line 658 of file data_node_format.hpp. |
|
Definition at line 662 of file data_node_format.hpp. |
|
Reimplemented from s11n::io::data_node_serializer< NodeType >. Reimplemented in s11n::io::funxml_serializer< NodeType >. Definition at line 677 of file data_node_format.hpp. |
|
Overridden to parse src using this object's lexer.
It uses Reimplemented from s11n::io::data_node_serializer< NodeType >. Reimplemented in s11n::io::funxml_serializer< NodeType >. Definition at line 669 of file data_node_format.hpp. |
|
Sets this object's lexer class name.
Definition at line 695 of file data_node_format.hpp. |
|
Returns this object's lexer class name.
Definition at line 688 of file data_node_format.hpp. Referenced by s11n::io::tree_builder_lexer< NodeType, sharing::simplexml_sharing_context >::deserialize(). |