version 1.9, 2005/03/10 17:01:18
|
version 1.9.10.2, 2006/02/10 16:09:38
|
|
|
//%2005//////////////////////////////////////////////////////////////////////// |
//%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. |
|
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// EMC Corporation; VERITAS Software Corporation; The Open Group. | // 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/DeclContext.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
|
|
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
class PEGASUS_COMMON_LINKAGE NormalizerContext |
|
{ |
|
public: |
|
virtual ~NormalizerContext(); |
|
|
|
virtual CIMClass getClass( |
|
const CIMNamespaceName& nameSpace, |
|
const CIMName& name) = 0; |
|
|
|
virtual Array<CIMName> enumerateClassNames( |
|
const CIMNamespaceName& nameSpace, const CIMName& className, |
|
bool deepInheritance) = 0; |
|
}; |
|
|
// TODO: add documentation | // TODO: add documentation |
class PEGASUS_COMMON_LINKAGE ObjectNormalizer | class PEGASUS_COMMON_LINKAGE ObjectNormalizer |
{ | { |
|
|
ObjectNormalizer( | ObjectNormalizer( |
const CIMClass & cimClass, | const CIMClass & cimClass, |
Boolean includeQualifiers, | Boolean includeQualifiers, |
Boolean includeClassOrigin); |
Boolean includeClassOrigin, |
|
const CIMNamespaceName& nameSpace, |
|
NormalizerContext * context=0); |
| |
CIMObjectPath processClassObjectPath(const CIMObjectPath & cimObjectPath) const; | CIMObjectPath processClassObjectPath(const CIMObjectPath & cimObjectPath) const; |
CIMObjectPath processInstanceObjectPath(const CIMObjectPath & cimObjectPath) const; | CIMObjectPath processInstanceObjectPath(const CIMObjectPath & cimObjectPath) const; |
|
|
| |
Boolean _includeQualifiers; | Boolean _includeQualifiers; |
Boolean _includeClassOrigin; | Boolean _includeClassOrigin; |
|
NormalizerContext * _context; |
|
CIMNamespaceName _nameSpace; |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |