XML token in a XML file. More...
#include <xml_token.h>
Public Member Functions | |
Construction | |
CL_XMLToken () | |
Attributes | |
| |
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 } |
typedef std::pair < CL_StringRef, CL_StringRef > | Attribute |
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. |
XML token in a XML file.
typedef std::pair<CL_StringRef, CL_StringRef> CL_XMLToken::Attribute |
CL_XMLToken::CL_XMLToken | ( | ) | [inline] |
std::vector<Attribute> CL_XMLToken::attributes |
All the attributes attached to the token.
The name of the token.
The token type.
Returns the value of the token.
The token variant.