#include <xml_token.h>
Attributes | |
| typedef std::pair< CL_StringRef, CL_StringRef > | Attribute |
| enum | TokenType { NULL_TOKEN = 0, ELEMENT_TOKEN = 1, TEXT_TOKEN = 3, CDATA_SECTION_TOKEN = 4, ENTITY_REFERENCE_TOKEN = 5, ENTITY_TOKEN = 6, PROCESSING_INSTRUCTION_TOKEN = 7, COMMENT_TOKEN = 8, DOCUMENT_TYPE_TOKEN = 10, NOTATION_TOKEN = 12 } |
| enum | TokenVariant { BEGIN = 1, END = 2, SINGLE = 3 } |
| TokenType | type |
| The token type. | |
| TokenVariant | variant |
| The token variant. | |
| CL_StringRef | name |
| The name of the token. | |
| CL_StringRef | value |
| Returns the value of the token. | |
| std::vector< Attribute > | attributes |
| All the attributes attached to the token. | |
Public Member Functions | |
Construction | |
| CL_XMLToken () | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
All the attributes attached to the token.
|
|
|
The name of the token.
|
|
|
The token type.
|
|
|
Returns the value of the token.
|
|
|
The token variant.
|
1.4.6