version 1.1, 2004/05/27 22:11:48
|
version 1.10, 2006/01/30 16:17:05
|
|
|
//%2003//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Development |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L. P., IBM Corp., The Open Group, Tivoli Systems. |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; | // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.; |
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
|
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
| |
#include <Pegasus/Common/CIMClass.h> | #include <Pegasus/Common/CIMClass.h> |
#include <Pegasus/Common/CIMInstance.h> | #include <Pegasus/Common/CIMInstance.h> |
#include <Pegasus/Common/CIMIndication.h> |
|
#include <Pegasus/Common/CIMProperty.h> |
|
#include <Pegasus/Common/CIMMethod.h> |
|
#include <Pegasus/Common/CIMParameter.h> |
|
#include <Pegasus/Common/CIMQualifier.h> |
|
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/DeclContext.h> |
|
#include <Pegasus/Common/Linkage.h> |
|
| |
#include <Pegasus/Repository/CIMRepository.h> |
#include <Pegasus/Common/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
class PEGASUS_COMMON_LINKAGE ObjectNormalizer | class PEGASUS_COMMON_LINKAGE ObjectNormalizer |
{ | { |
public: | public: |
ObjectNormalizer(CIMRepository & repository); |
ObjectNormalizer(void); |
|
ObjectNormalizer( |
CIMClass normalizeClass( |
|
const CIMClass & cimClass, | const CIMClass & cimClass, |
const Boolean localOnly, |
Boolean includeQualifiers, |
const Boolean includeQualifiers, |
Boolean includeClassOrigin); |
const Boolean includeClassOrigin, |
|
const CIMPropertyList & propertyList); |
CIMObjectPath processClassObjectPath(const CIMObjectPath & cimObjectPath) const; |
|
CIMObjectPath processInstanceObjectPath(const CIMObjectPath & cimObjectPath) const; |
CIMInstance normalizeInstance( |
|
const CIMInstance & cimInstance, |
//CIMClass processClass(const CIMClass & cimClass) const; |
const Boolean localOnly, |
CIMInstance processInstance(const CIMInstance & cimInstance) const; |
const Boolean includeQualifiers, |
//CIMIndication processIndication(const CIMIndication & cimIndication); |
const Boolean includeClassOrigin, |
|
const CIMPropertyList & propertyList); |
|
|
|
Array<CIMInstance> normalizeInstances( |
|
const Array<CIMInstance> & cimInstances, |
|
const Boolean localOnly, |
|
const Boolean includeQualifiers, |
|
const Boolean includeClassOrigin, |
|
const CIMPropertyList & propertyList); |
|
|
|
CIMIndication normalizeIndication( |
|
const CIMIndication & cimIndication, |
|
const Boolean localOnly, |
|
const Boolean includeQualifiers, |
|
const Boolean includeClassOrigin, |
|
const CIMPropertyList & propertyList); |
|
| |
private: | private: |
CIMRepository & _repository; |
CIMClass _cimClass; |
|
|
|
Boolean _includeQualifiers; |
|
Boolean _includeClassOrigin; |
| |
}; | }; |
| |