|
|
|
Home / Open source / Terimber 2.0
declxml.h File Reference#include "allinc.h"
Go to the source code of this file.
|
Defines |
#define | xml_forceinline __forceinline |
Enumerations |
enum | encodingSchema {
AUTO,
UTF_8,
US_ASCII,
UTF_16B,
UTF_16L,
UTF_16,
UCS_4B,
UCS_4BS,
UCS_4L,
UCS_4LS,
UCS_4,
WINDOWS_1251,
UTF_ISO88591
} |
| supported encoding More...
|
Functions |
xml_forceinline bool | is_white_space (ub1_t symbol) |
| detect if symbol is whitespace
|
xml_forceinline bool | is_public_char (ub1_t symbol) |
| detects if the symbol is public
|
xml_forceinline bool | is_versionnum_char (ub1_t symbol) |
| check is symbol is valid vesrion number symbol
|
xml_forceinline bool | is_encname_char (ub1_t symbol) |
| checks if the symbol is EncName
|
xml_forceinline bool | is_digit (ub1_t symbol) |
| checks if the symbol is digit
|
xml_forceinline bool | is_letter (ub1_t symbol) |
| checks if the symbol is letter
|
xml_forceinline bool | is_name_first_char (ub1_t symbol) |
| checks if the symbol is a legal name first char
|
xml_forceinline bool | is_name_char (ub1_t symbol) |
| checks if the symbol is a legal name char
|
xml_forceinline bool | is_attribute_char (ub1_t symbol) |
| checks if the symbol is a valid attribute char
|
Variables |
BEGIN_TERIMBER_NAMESPACE const
ub1_t | s_char_map [256] |
const char | ch_null = 0x00 |
const char | ch_hor_tab = 0x09 |
const char | ch_lf = 0x0A |
const char | ch_ver_tab = 0x0B |
const char | ch_ff = 0x0C |
const char | ch_cr = 0x0D |
const char | ch_ampersand = 0x26 |
const char | ch_asterisk = 0x2A |
const char | ch_at = 0x40 |
const char | ch_back_slash = 0x5C |
const char | ch_bang = 0x21 |
const char | ch_caret = 0x5E |
const char | ch_close_angle = 0x3E |
const char | ch_close_curly = 0x7D |
const char | ch_close_paren = 0x29 |
const char | ch_close_square = 0x5D |
const char | ch_colon = 0x3A |
const char | ch_comma = 0x2C |
const char | ch_dash = 0x2D |
const char | ch_dollar_sign = 0x24 |
const char | ch_double_quote = 0x22 |
const char | ch_equal = 0x3D |
const char | ch_forward_slash = 0x2F |
const char | ch_grave = 0x60 |
const char | ch_open_angle = 0x3C |
const char | ch_open_curly = 0x7B |
const char | ch_open_paren = 0x28 |
const char | ch_open_square = 0x5B |
const char | ch_percent = 0x25 |
const char | ch_period = 0x2E |
const char | ch_pipe = 0x7C |
const char | ch_plus = 0x2B |
const char | ch_pound = 0x23 |
const char | ch_question = 0x3F |
const char | ch_single_quote = 0x27 |
const char | ch_space = 0x20 |
const char | ch_semicolon = 0x3B |
const char | ch_tilde = 0x7E |
const char | ch_underscore = 0x5F |
const char | ch_0 = 0x30 |
const char | ch_1 = 0x31 |
const char | ch_2 = 0x32 |
const char | ch_3 = 0x33 |
const char | ch_4 = 0x34 |
const char | ch_5 = 0x35 |
const char | ch_6 = 0x36 |
const char | ch_7 = 0x37 |
const char | ch_8 = 0x38 |
const char | ch_9 = 0x39 |
const char | ch_a = 0x61 |
const char | ch_b = 0x62 |
const char | ch_c = 0x63 |
const char | ch_d = 0x64 |
const char | ch_e = 0x65 |
const char | ch_f = 0x66 |
const char | ch_g = 0x67 |
const char | ch_h = 0x68 |
const char | ch_i = 0x69 |
const char | ch_j = 0x6A |
const char | ch_k = 0x6B |
const char | ch_l = 0x6C |
const char | ch_m = 0x6D |
const char | ch_n = 0x6E |
const char | ch_o = 0x6F |
const char | ch_p = 0x70 |
const char | ch_q = 0x71 |
const char | ch_r = 0x72 |
const char | ch_s = 0x73 |
const char | ch_t = 0x74 |
const char | ch_u = 0x75 |
const char | ch_v = 0x76 |
const char | ch_w = 0x77 |
const char | ch_x = 0x78 |
const char | ch_y = 0x79 |
const char | ch_z = 0x7A |
const char | ch_A = 0x41 |
const char | ch_B = 0x42 |
const char | ch_C = 0x43 |
const char | ch_D = 0x44 |
const char | ch_E = 0x45 |
const char | ch_F = 0x46 |
const char | ch_G = 0x47 |
const char | ch_H = 0x48 |
const char | ch_I = 0x49 |
const char | ch_J = 0x4A |
const char | ch_K = 0x4B |
const char | ch_L = 0x4C |
const char | ch_M = 0x4D |
const char | ch_N = 0x4E |
const char | ch_O = 0x4F |
const char | ch_P = 0x50 |
const char | ch_Q = 0x51 |
const char | ch_R = 0x52 |
const char | ch_S = 0x53 |
const char | ch_T = 0x54 |
const char | ch_U = 0x55 |
const char | ch_V = 0x56 |
const char | ch_W = 0x57 |
const char | ch_X = 0x58 |
const char | ch_Y = 0x59 |
const char | ch_Z = 0x5A |
Define Documentation
#define xml_forceinline __forceinline |
Enumeration Type Documentation
supported encoding
- Enumerator:
-
AUTO |
automatic detection |
UTF_8 |
utf-8 |
US_ASCII |
ascii |
UTF_16B |
utf-16 big ending |
UTF_16L |
utf-16 little ending |
UTF_16 |
utf-16 endings detected automatically |
UCS_4B |
utf-32 (1234 byte order) |
UCS_4BS |
utf-32 (3412 byte order) |
UCS_4L |
utf-32 (4321 byte order) |
UCS_4LS |
utf-32 (2143 byte order) |
UCS_4 |
utf-32 endings detected automatically |
WINDOWS_1251 |
windows 1251 |
UTF_ISO88591 |
iso 88591 |
Definition at line 156 of file declxml.h.
Function Documentation
xml_forceinline bool is_attribute_char |
( |
ub1_t |
symbol |
) |
|
xml_forceinline bool is_digit |
( |
ub1_t |
symbol |
) |
|
xml_forceinline bool is_encname_char |
( |
ub1_t |
symbol |
) |
|
xml_forceinline bool is_letter |
( |
ub1_t |
symbol |
) |
|
xml_forceinline bool is_name_char |
( |
ub1_t |
symbol |
) |
|
xml_forceinline bool is_name_first_char |
( |
ub1_t |
symbol |
) |
|
xml_forceinline bool is_public_char |
( |
ub1_t |
symbol |
) |
|
xml_forceinline bool is_versionnum_char |
( |
ub1_t |
symbol |
) |
|
xml_forceinline bool is_white_space |
( |
ub1_t |
symbol |
) |
|
Variable Documentation
Definition at line 57 of file declxml.h.
Referenced by detect_token_type(), xml_processor::parseContent(), dtd_processor::parseIgnore(), xml_processor::parseMisc(), xml_processor::parseProlog(), dtd_processor::parseSubSet(), xml_persistor::persistCDATA(), xml_persistor::persistComment(), xml_persistor::persistDocType(), xml_persistor::persistElementDecl(), xml_persistor::persistEntityDecl(), and xml_persistor::persistNotationDecl().
Definition at line 59 of file declxml.h.
Referenced by xml_processor::_parseCharData(), detect_token_type(), xml_processor::parseAttributes(), dtd_processor::parseAttrList(), xml_processor::parseCDATA(), byte_manager::parseComment(), xml_processor::parseDocTypeDecl(), dtd_processor::parseElement(), xml_processor::parseEndTag(), dtd_processor::parseEntity(), byte_manager::parseExternalID(), dtd_processor::parseIgnore(), dtd_processor::parseInclude(), dtd_processor::parseNotation(), byte_manager::parsePI(), xml_processor::parseStartTag(), byte_source::parseTextDecl(), byte_source::parseXMLDecl(), byte_source::parseXMLDeclInfo(), xml_persistor::persistCDATA(), xml_persistor::persistComment(), xml_persistor::persistDocType(), xml_persistor::persistElement(), xml_persistor::persistElementDecl(), xml_persistor::persistEntityDecl(), xml_persistor::persistNotationDecl(), xml_persistor::persistPI(), xml_persistor::persistValue(), and xml_persistor::restore_stack().
Definition at line 52 of file declxml.h.
Referenced by fixedN_to_utf8(), stream_input_common::open(), dtd_processor::parseEntityDef(), byte_manager::parseQuotedValue(), xml_persistor::persistAttributeDecl(), xml_persistor::persistCDATA(), xml_persistor::persistComment(), xml_persistor::persistDocType(), xml_persistor::persistDocument(), xml_persistor::persistElement(), xml_persistor::persistElementDecl(), xml_persistor::persistEntityDecl(), xml_persistor::persistNotationDecl(), xml_persistor::persistPI(), byte_source::pop(), xml_persistor::restore_stack(), byte_source::skip_white_space(), usascii_to_utf8(), and utf8_to_utf8().
Definition at line 49 of file declxml.h.
Referenced by detect_token_type(), fixedN_to_utf8(), stream_input_common::open(), dtd_processor::parseEntityDef(), byte_manager::parseQuotedValue(), xml_persistor::persistAttributeDecl(), xml_persistor::persistCDATA(), xml_persistor::persistComment(), xml_persistor::persistDocType(), xml_persistor::persistDocument(), xml_persistor::persistElement(), xml_persistor::persistElementDecl(), xml_persistor::persistEntityDecl(), xml_persistor::persistNotationDecl(), xml_persistor::persistPI(), byte_source::pop(), xml_persistor::restore_stack(), byte_source::skip_white_space(), usascii_to_utf8(), and utf8_to_utf8().
Definition at line 72 of file declxml.h.
Referenced by xml_processor::_parseCharData(), detect_token_type(), is_attribute_char(), xml_processor::parseCharData(), xml_processor::parseContent(), xml_processor::parseElement(), dtd_processor::parseIgnore(), xml_processor::parseMisc(), xml_processor::parseProlog(), dtd_processor::parseSubSet(), xml_persistor::persistCDATA(), xml_persistor::persistComment(), xml_persistor::persistDocType(), xml_persistor::persistElement(), xml_persistor::persistElementDecl(), xml_persistor::persistEntityDecl(), xml_persistor::persistNotationDecl(), xml_persistor::persistPI(), xml_persistor::persistValue(), and xml_persistor::restore_stack().
Definition at line 81 of file declxml.h.
Referenced by dtd_processor::checkRepeation(), xml_stream_attribute::crack_xml_request(), detect_token_type(), xml_processor::parseContent(), xml_processor::parseMisc(), byte_manager::parsePI(), xml_processor::parseProlog(), dtd_processor::parseSubSet(), byte_source::parseTextDecl(), byte_source::parseXMLDecl(), byte_source::parseXMLDeclInfo(), xml_persistor::persistChildren(), xml_persistor::persistElementDecl(), xml_persistor::persistMixed(), and xml_persistor::persistPI().
Definition at line 83 of file declxml.h.
Referenced by xml_document::assign_attribute_value(), xml_stream_attribute::crack_xml_request(), detect_token_type(), byte_manager::parseQuotedValue(), xml_persistor::persistAttributeDecl(), xml_persistor::persistAttributes(), xml_persistor::persistDocType(), xml_persistor::persistElementDecl(), xml_persistor::persistEntityDecl(), xml_persistor::persistNotationDecl(), xml_persistor::persistPI(), and byte_source::skip_white_space().
|
|
|
|