version 1.3, 2011/01/25 11:24:24
|
version 1.4, 2013/03/28 19:54:32
|
|
|
} | } |
else | else |
{ | { |
XmlWriter::appendValueReferenceElement(buf, cop, true); |
// add ValueReferenceElement with VALUE.REFERENCE as instancePath |
|
// and with VALUE.REFERENCE wrapper |
|
XmlWriter::appendValueReferenceElement(buf, cop, false, true); |
buf.append('\0'); | buf.append('\0'); |
| |
out.putUint32(buf.size()); | out.putUint32(buf.size()); |
|
|
} | } |
| |
| |
|
// Calls appendInstanceName the other calls appendValueReference |
|
// This is a shortcut function that puts VALUE.REFERENCE around |
|
// InstanceNameElement directly. It bypasses host and namespace components |
|
// and assumes that it is an instance. Note mechanisms above to add |
|
// host and namespace info different per function |
void CIMInternalXmlEncoder::_appendValueReferenceElement( | void CIMInternalXmlEncoder::_appendValueReferenceElement( |
Buffer& out, | Buffer& out, |
const CIMObjectPath& reference) | const CIMObjectPath& reference) |