version 1.62.4.3, 2007/11/08 09:16:19
|
version 1.62.4.4, 2008/02/13 12:06:38
|
|
|
| |
p++; | p++; |
| |
Array<Uint8> keyValueUTF8; |
Buffer keyValueUTF8(128); |
keyValueUTF8.reserveCapacity(128); |
|
| |
while (*p && *p != '"') | while (*p && *p != '"') |
{ | { |
|
|
*/ | */ |
type = CIMKeyBinding::STRING; | type = CIMKeyBinding::STRING; |
| |
|
/* Performance shortcut will check for |
|
equal sign instead of doing the full |
|
CIMObjectPath creation and exception handling |
|
*/ |
|
if (strchr(keyValueUTF8.getData(), '=')) |
|
{ |
|
// found an equal sign, high probability for a reference |
try | try |
{ | { |
CIMObjectPath testForPath(valueString); | CIMObjectPath testForPath(valueString); |
|
|
// Not a reference value; leave type as STRING | // Not a reference value; leave type as STRING |
} | } |
} | } |
|
} |
else if (toupper(*p) == 'T' || toupper(*p) == 'F') | else if (toupper(*p) == 'T' || toupper(*p) == 'F') |
{ | { |
type = CIMKeyBinding::BOOLEAN; | type = CIMKeyBinding::BOOLEAN; |