version 1.53.18.2, 2009/02/09 11:36:51
|
version 1.54, 2008/08/12 19:36:14
|
|
|
class CIMParamValue; | class CIMParamValue; |
class CIMValue; | class CIMValue; |
| |
struct CharString |
|
{ |
|
const char *value; |
|
Uint32 length; |
|
CharString(const char *value, Uint32 length) : |
|
value(value), length(length) |
|
{ |
|
} |
|
}; |
|
|
|
class PEGASUS_COMMON_LINKAGE XmlReader | class PEGASUS_COMMON_LINKAGE XmlReader |
{ | { |
public: | public: |
|
|
const char* valueString, | const char* valueString, |
CIMType type); | CIMType type); |
| |
static CIMValue stringToValue( |
|
Uint32 lineNumber, |
|
const char* valueString, |
|
Uint32 valueStringLen, |
|
CIMType type); |
|
|
|
|
|
/* getValueElement - Gets the CIMType and CIMValue for a single | /* getValueElement - Gets the CIMType and CIMValue for a single |
XML Value element. It expects <VALUE> as the start tag. | XML Value element. It expects <VALUE> as the start tag. |
@return Returns True if the value element exists | @return Returns True if the value element exists |
|
|
const char* dtdVersion); | const char* dtdVersion); |
private: | private: |
| |
static CIMValue _stringArrayToValue( |
|
Uint32 lineNumber, |
|
const Array<CharString>& array, |
|
CIMType type); |
|
|
|
XmlReader() | XmlReader() |
{ | { |
| |