version 1.13, 2013/03/28 19:54:32
|
version 1.14, 2013/04/13 19:03:09
|
|
|
| |
// SCMO representation, single instance stored as one element array | // SCMO representation, single instance stored as one element array |
// object paths are represented as SCMOInstance | // object paths are represented as SCMOInstance |
|
// Resolve all of the information in the CIMResponseData container to |
|
// SCMO and return all scmoInstances. |
|
// Note that since the SCMO representation, |
|
// a is single instance stored as one element array and object paths are |
|
// represented as SCMOInstance this returns array of SCMOInstance. |
Array<SCMOInstance>& CIMResponseData::getSCMO() | Array<SCMOInstance>& CIMResponseData::getSCMO() |
{ | { |
|
// This function resolves to instances and so cannot handle responses to |
|
// the associators,etc.requests that return classes (input object path with |
|
// no keys). That issue is resolved however, since CIMResponseData uses the |
|
// _isClassOperation variable (set by the request) to determine whether |
|
// the responses are classpaths or instancepaths and the default is |
|
// false(instancePaths) so that this should always produce instance paths. |
_resolveToSCMO(); | _resolveToSCMO(); |
return _scmoInstances; | return _scmoInstances; |
} | } |
|
|
_instanceNames[i], | _instanceNames[i], |
_defNamespace, | _defNamespace, |
_defNamespaceLen); | _defNamespaceLen); |
// TODO: More description about this. |
if (_isClassOperation) |
if (0 == _instanceNames[i].getKeyBindings().size()) |
|
{ | { |
// if there is no keybinding, this is a class |
|
addme.setIsClassOnly(true); | addme.setIsClassOnly(true); |
} | } |
_scmoInstances.append(addme); | _scmoInstances.append(addme); |