Xerces-C++: HexBin.hpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22#if !defined(XERCESC_INCLUDE_GUARD_HEXBIN_HPP)
23#define XERCESC_INCLUDE_GUARD_HEXBIN_HPP
24
26
28
30{
31public :
33
44
55
71 (
72 const XMLCh* const hexData
74 );
75
89 const XMLCh* const hexData
91 );
92
93
95
96private :
97
98
99
100
101
102 static bool isHex(const XMLCh& octet);
103
104
105
106
110
111
112
113
114
115
116
117
118
119
120
121
122
123 static const XMLByte hexNumberTable[];
124};
125
127
128#endif
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
unsigned char XMLByte
Definition XercesDefs.hpp:65
#define XMLUTIL_EXPORT
Definition XercesDefs.hpp:162
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
static bool isArrayByteHex(const XMLCh *const hexData)
check an array of data against the Hex table.
static XMLCh * getCanonicalRepresentation(const XMLCh *const hexData, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
get canonical representation
static int getDataLength(const XMLCh *const hexData)
return the length of hexData in terms of HexBinary.
static XMLByte * decodeToXMLByte(const XMLCh *const hexData, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Decodes HexBinary data into XMLByte.
Configurable memory manager.
Definition MemoryManager.hpp:40
static MemoryManager * fgMemoryManager
The configurable memory manager.
Definition PlatformUtils.hpp:121