version 1.35, 2007/05/02 17:51:41
|
version 1.36, 2007/12/19 10:45:11
|
|
|
| |
// check property names and types. any properties in the class but not | // check property names and types. any properties in the class but not |
// in the instance are implicitly dropped. | // in the instance are implicitly dropped. |
for (Uint32 i = 0, n = _cimClass.getPropertyCount(); i < n; i++) |
for (Uint32 i = 0, n = cimInstance.getPropertyCount(); i < n; i++) |
{ | { |
CIMConstProperty referenceProperty = _cimClass.getProperty(i); |
CIMConstProperty instProperty = cimInstance.getProperty(i); |
| |
Uint32 pos = cimInstance.findProperty(referenceProperty.getName()); |
Uint32 pos = _cimClass.findProperty(instProperty.getName()); |
| |
if (pos != PEG_NOT_FOUND) | if (pos != PEG_NOT_FOUND) |
{ | { |
CIMConstProperty cimProperty = cimInstance.getProperty(pos); |
CIMConstProperty cimProperty = _cimClass.getProperty(pos); |
| |
CIMProperty normalizedProperty = | CIMProperty normalizedProperty = |
_processProperty( | _processProperty( |
referenceProperty, |
|
cimProperty, | cimProperty, |
|
instProperty, |
_includeQualifiers, | _includeQualifiers, |
_includeClassOrigin, | _includeClassOrigin, |
_context.get(), | _context.get(), |