Helper struct representing a single tag or parsed content. More...
Public Types | |
enum | EnumerateTagTypes { Unknown = -1 , EmptyElement = 1 , ElementBegin = 2 , ProcessingInstruction = 3 , CharacterData = 4 , ParsedCharacterData = 5 , Comment = 6 , ElementEnd = 20 } |
The tag type enumeration. More... | |
Public Member Functions | |
Element | produce () const |
Produce an element. | |
Public Attributes | |
int | type |
The type of the tag. | |
std::string | content |
The content or name of the tag. | |
std::map< std::string, std::string > | attributes |
A lis of attributes, if present. | |
Helper struct representing a single tag or parsed content.
Definition at line 62 of file ElementIO.h.
The tag type enumeration.
Enumerator | |
---|---|
EmptyElement | Tag type unknown. |
ElementBegin | An empty element tag. |
ProcessingInstruction | An element begin tag. |
CharacterData | A processing instruction tag. |
ParsedCharacterData | Character data tag. |
Comment | Parsed character data. |
ElementEnd | A comment tag. |
Definition at line 67 of file ElementIO.h.
std::map<std::string,std::string> XML::ElementIO::Tag::attributes |
A lis of attributes, if present.
Definition at line 100 of file ElementIO.h.
std::string XML::ElementIO::Tag::content |
The content or name of the tag.
Definition at line 95 of file ElementIO.h.
int XML::ElementIO::Tag::type |
The type of the tag.
Definition at line 90 of file ElementIO.h.