version 1.3, 2007/01/16 19:59:49
|
version 1.4, 2007/06/29 17:43:09
|
|
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
// | // |
//============================================================================== | //============================================================================== |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// |
| |
| |
/////////////////////////////////////////////////////////////////////////////// | /////////////////////////////////////////////////////////////////////////////// |
|
|
CIMInstance & currentInstance = | CIMInstance & currentInstance = |
elementConformsInstances[k]; | elementConformsInstances[k]; |
| |
|
// NOCHKSRC |
// Make sure that the current instance points to the | // Make sure that the current instance points to the |
// current profile ID. | // current profile ID. |
CIMObjectPath profilePath = | CIMObjectPath profilePath = |
getRequiredValue<CIMObjectPath>( | getRequiredValue<CIMObjectPath>( |
elementConformsInstances[k], | elementConformsInstances[k], |
ELEMENTCONFORMSTOPROFILE_PROPERTY_CONFORMANTSTANDARD); | ELEMENTCONFORMSTOPROFILE_PROPERTY_CONFORMANTSTANDARD); |
|
// DOCHKSRC |
const Array<CIMKeyBinding> & keys = | const Array<CIMKeyBinding> & keys = |
profilePath.getKeyBindings(); | profilePath.getKeyBindings(); |
if(keys.size() != 1) | if(keys.size() != 1) |
continue; | continue; |
if(keys.size() == 1 && keys[0].getValue() == profileId) | if(keys.size() == 1 && keys[0].getValue() == profileId) |
{ | { |
|
// NOCHKSRC |
conformingElementPaths.append( | conformingElementPaths.append( |
getRequiredValue<CIMObjectPath>( | getRequiredValue<CIMObjectPath>( |
currentInstance, | currentInstance, |
ELEMENTCONFORMSTOPROFILE_PROPERTY_MANAGEDELEMENT)); | ELEMENTCONFORMSTOPROFILE_PROPERTY_MANAGEDELEMENT)); |
|
// DOCHKSRC |
} | } |
} | } |
} | } |