version 1.58.4.2, 2007/08/14 19:35:34
|
version 1.58.4.4, 2008/02/19 22:09:39
|
|
|
*/ | */ |
type = CIMKeyBinding::STRING; | type = CIMKeyBinding::STRING; |
| |
|
/* Performance shortcut will check for |
|
equal sign instead of doing the full |
|
CIMObjectPath creation and exception handling |
|
*/ |
|
keyValueUTF8.append('\0'); |
|
if (strchr((const char*)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; |