22#if !defined(XERCESC_INCLUDE_GUARD_XSVALUE_HPP)
23#define XERCESC_INCLUDE_GUARD_XSVALUE_HPP
26#include <xercesc/util/ValueHashTableOf.hpp>
30class RegularExpression;
56 dt_normalizedString = 19,
69 dt_nonPositiveInteger = 32,
70 dt_negativeInteger = 33,
75 dt_nonNegativeInteger = 38,
78 dt_unsignedShort = 41,
80 dt_positiveInteger = 43,
115 DoubleFloatType_Normal
141 const XMLCh*
const content
162 const XMLCh*
const content
166 ,
bool toValidate =
true
186 const XMLCh*
const content
190 ,
bool toValidate =
true
257 unsigned long f_ulong;
285 static const bool numericSign[];
290 bool validateNumerics
292 const XMLCh*
const content
299 bool validateDateTimes
301 const XMLCh*
const content
310 const XMLCh*
const content
318 XMLCh* getCanRepNumerics
320 const XMLCh*
const content
328 XMLCh* getCanRepDateTimes
330 const XMLCh*
const content
338 XMLCh* getCanRepStrings
340 const XMLCh*
const content
351 const XMLCh*
const content
361 const XMLCh*
const content
370 const XMLCh*
const content
379 bool getActualNumericValue
381 const XMLCh*
const content
388 static ValueHashTableOf<DataType>* fDataTypeRegistry;
393 static void initializeRegistry();
#define XMLPARSER_EXPORT
Definition XercesDefs.hpp:163
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
unsigned char XMLByte
Definition XercesDefs.hpp:65
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
Configurable memory manager.
Definition MemoryManager.hpp:40
Utilities that must be implemented in a class-specific way.
Definition XMLInitializer.hpp:38
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition XMemory.hpp:41
Definition XSValue.hpp:33
Status
Definition XSValue.hpp:89
@ st_FOCA0003
Definition XSValue.hpp:98
@ st_CantCreateRegEx
Definition XSValue.hpp:95
@ st_Init
Definition XSValue.hpp:90
@ st_NotSupported
Definition XSValue.hpp:94
@ st_FOCA0002
Definition XSValue.hpp:96
@ st_NoContent
Definition XSValue.hpp:91
@ st_FOCA0001
Definition XSValue.hpp:97
@ st_NoCanRep
Definition XSValue.hpp:92
@ st_FODT0003
Definition XSValue.hpp:99
@ st_NoActVal
Definition XSValue.hpp:93
static XSValue * getActualValue(const XMLCh *const content, DataType datatype, Status &status, XMLVersion version=ver_10, bool toValidate=true, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Get the actual value, in the form of XSValue, for a given string of the data type specified.
static bool validate(const XMLCh *const content, DataType datatype, Status &status, XMLVersion version=ver_10, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Validate a given string of the data type specified.
DataGroup
Definition XSValue.hpp:103
@ dg_datetimes
Definition XSValue.hpp:105
@ dg_numerics
Definition XSValue.hpp:104
DoubleFloatType
Definition XSValue.hpp:110
@ DoubleFloatType_Zero
Definition XSValue.hpp:114
@ DoubleFloatType_NegINF
Definition XSValue.hpp:111
@ DoubleFloatType_NaN
Definition XSValue.hpp:113
@ DoubleFloatType_PosINF
Definition XSValue.hpp:112
XMLVersion
Definition XSValue.hpp:84
@ ver_10
Definition XSValue.hpp:85
static XMLCh * getCanonicalRepresentation(const XMLCh *const content, DataType datatype, Status &status, XMLVersion version=ver_10, bool toValidate=true, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Get the canonical representation for a given string of the data type specified.
DataType
Definition XSValue.hpp:36
static DataType getDataType(const XMLCh *const dtString)
public data
Definition XSValue.hpp:202
DoubleFloatType f_floatEnum
Definition XSValue.hpp:243
long f_long
Definition XSValue.hpp:214
unsigned short f_ushort
Definition XSValue.hpp:211
int f_hour
Definition XSValue.hpp:229
bool f_bool
Definition XSValue.hpp:207
char f_char
Definition XSValue.hpp:208
double f_milisec
Definition XSValue.hpp:232
XMLByte * f_byteVal
Definition XSValue.hpp:219
DataType f_datatype
Definition XSValue.hpp:204
int f_month
Definition XSValue.hpp:227
DoubleFloatType f_doubleEnum
Definition XSValue.hpp:238
int f_year
Definition XSValue.hpp:226
int f_second
Definition XSValue.hpp:231
unsigned long f_ulong
Definition XSValue.hpp:215
double f_double
Definition XSValue.hpp:217
float f_float
Definition XSValue.hpp:216
int f_day
Definition XSValue.hpp:228
unsigned int f_uint
Definition XSValue.hpp:213
XMLCh * f_strVal
Definition XSValue.hpp:218
short f_short
Definition XSValue.hpp:210
unsigned char f_uchar
Definition XSValue.hpp:209
double f_dvalue
Definition XSValue.hpp:222
int f_min
Definition XSValue.hpp:230
int f_int
Definition XSValue.hpp:212