version 1.6.2.20, 2014/05/10 20:19:58
|
version 1.6.2.21, 2014/05/15 20:52:48
|
|
|
parameter it must be a valid one. The alternative would be | parameter it must be a valid one. The alternative would be |
to define an invalid enum but that would cost us in all | to define an invalid enum but that would cost us in all |
case/if statements. Therefore up to the user to create and | case/if statements. Therefore up to the user to create and |
then use correctly. KS_TODO fix this so that the empty state |
then use correctly. |
is somehow protected. |
|
*/ | */ |
CIMResponseData(): | CIMResponseData(): |
_encoding(0),_mapObjectsToIntances(false), _size(0), | _encoding(0),_mapObjectsToIntances(false), _size(0), |
|
|
void setResponseAttributes(CIMResponseData& from) | void setResponseAttributes(CIMResponseData& from) |
{ | { |
PEGASUS_DEBUG_ASSERT(valid()); | PEGASUS_DEBUG_ASSERT(valid()); |
PEGASUS_ASSERT(_size == 0); // KS_TODO_TEMP or debug mode. |
PEGASUS_DEBUG_ASSERT(_size == 0); |
|
|
_dataType = from._dataType; | _dataType = from._dataType; |
_includeQualifiers = from._includeQualifiers; | _includeQualifiers = from._includeQualifiers; |
_includeClassOrigin = from._includeClassOrigin; | _includeClassOrigin = from._includeClassOrigin; |
|
|
} | } |
| |
// Sets array of CIMObjects into the CIMResponseData | // Sets array of CIMObjects into the CIMResponseData |
//// TODO. We could make this name the common function for |
|
//// setObjects. |
|
// NOTE: This was added to provider overloaded | // NOTE: This was added to provider overloaded |
// function for setting arrays of both CIMObject and | // function for setting arrays of both CIMObject and |
// CIMObjectPaths from CIMOperationRequestDispatcher | // CIMObjectPaths from CIMOperationRequestDispatcher |
|
|
Boolean _isClassOperation; | Boolean _isClassOperation; |
CIMPropertyList _propertyList; | CIMPropertyList _propertyList; |
| |
// Function lock used for debugging cases where there might have been an |
|
// issue with multithreading and CIMResponseData. |
|
//// KS_TODO remove before pull checkin |
|
//// Mutex testLock; |
|
|
|
// magic number to use with valid function to confirm validity | // magic number to use with valid function to confirm validity |
// of response data. | // of response data. |
Magic<0x57D11323> _magic; | Magic<0x57D11323> _magic; |