version 1.145, 2005/06/01 20:40:41
|
version 1.146, 2005/06/01 21:13:15
|
|
|
Boolean includeClassOrigin) | Boolean includeClassOrigin) |
{ | { |
// Remove properties based on propertylist and localOnly flag | // Remove properties based on propertylist and localOnly flag |
#ifdef PEGASUS_ENABLE_INSTANCE_FILTER |
#ifdef PEGASUS_ENABLE_REPOSITORY_INSTANCE_FILTER |
_removeProperties(cimInstance, propertyList, localOnly); | _removeProperties(cimInstance, propertyList, localOnly); |
#endif | #endif |
// If includequalifiers false, remove all qualifiers from | // If includequalifiers false, remove all qualifiers from |
|
|
// Do any required filtering of properties, qualifiers, classorigin | // Do any required filtering of properties, qualifiers, classorigin |
// on the returned instances. | // on the returned instances. |
// Turn off this function for the moment since it changes client behavior | // Turn off this function for the moment since it changes client behavior |
#ifdef PEGASUS_ENABLE_INSTANCE_FILTER |
#ifdef PEGASUS_ENABLE_REPOSITORY_INSTANCE_FILTER |
for (Uint32 i = 0 ; i < namedInstances.size(); i++) | for (Uint32 i = 0 ; i < namedInstances.size(); i++) |
{ | { |
_filterInstance(namedInstances[i], | _filterInstance(namedInstances[i], |