version 1.1.2.8, 2009/10/20 13:21:19
|
version 1.1.2.9, 2009/10/21 08:59:53
|
|
|
CIMType kbType; | CIMType kbType; |
Uint32 kbNameLen; | Uint32 kbNameLen; |
| |
scmoInstance._getKeyBindingDataAtNodeIndex( |
SCMO_RC smrc = scmoInstance._getKeyBindingDataAtNodeIndex( |
i, | i, |
&kbName, | &kbName, |
kbNameLen, | kbNameLen, |
|
|
| |
if (kbType == CIMTYPE_REFERENCE) | if (kbType == CIMTYPE_REFERENCE) |
{ | { |
SCMOInstance * ref = kbValue->extRefPtr; |
if (SCMO_OK == smrc) |
if (ref) |
|
{ | { |
|
SCMOInstance * ref = kbValue->extRefPtr; |
appendValueReferenceElement(out, *ref, true); | appendValueReferenceElement(out, *ref, true); |
} | } |
} | } |
|
|
out << xmlWriterKeyTypeStrings(kbType); | out << xmlWriterKeyTypeStrings(kbType); |
out << STRLIT("\">"); | out << STRLIT("\">"); |
| |
|
if (SCMO_OK == smrc) |
|
{ |
SCMOXmlWriter::appendSCMBUnion( | SCMOXmlWriter::appendSCMBUnion( |
out, | out, |
*kbValue, | *kbValue, |
kbType, | kbType, |
scmoInstance.inst.base); | scmoInstance.inst.base); |
|
} |
out << STRLIT("</KEYVALUE>\n"); | out << STRLIT("</KEYVALUE>\n"); |
} | } |
out << STRLIT("</KEYBINDING>\n"); | out << STRLIT("</KEYBINDING>\n"); |