version 1.35.18.1, 2008/01/16 13:22:59
|
version 1.36, 2007/10/23 17:42:56
|
|
|
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
#include <Pegasus/Common/Constants.h> |
|
#include <Pegasus/Common/InternalException.h> | #include <Pegasus/Common/InternalException.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/CIMName.h> | #include <Pegasus/Common/CIMName.h> |
#include <Pegasus/Common/CIMQualifier.h> | #include <Pegasus/Common/CIMQualifier.h> |
#include <Pegasus/Common/CIMQualifierList.h> | #include <Pegasus/Common/CIMQualifierList.h> |
#include <Pegasus/Common/CIMParameter.h> | #include <Pegasus/Common/CIMParameter.h> |
#include <Pegasus/Common/CIMParameterRep.h> |
|
#include <Pegasus/Common/Sharable.h> | #include <Pegasus/Common/Sharable.h> |
#include <Pegasus/Common/Pair.h> | #include <Pegasus/Common/Pair.h> |
#include <Pegasus/Common/OrderedSet.h> |
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
return _name; | return _name; |
} | } |
| |
const Uint32 getNameTag() const |
|
{ |
|
return _nameTag; |
|
} |
|
|
|
void increaseOwnerCount() |
|
{ |
|
_ownerCount++; |
|
return; |
|
} |
|
|
|
void decreaseOwnerCount() |
|
{ |
|
_ownerCount++; |
|
return; |
|
} |
|
|
|
void setName(const CIMName& name); | void setName(const CIMName& name); |
| |
CIMType getType() const | CIMType getType() const |
|
|
| |
private: | private: |
| |
CIMMethodRep(); |
|
|
|
CIMMethodRep(const CIMMethodRep& x); | CIMMethodRep(const CIMMethodRep& x); |
| |
// This method is declared and made private so that the compiler does |
CIMMethodRep(); // Unimplemented |
// not implicitly define a default copy constructor. |
CIMMethodRep& operator=(const CIMMethodRep& x); // Unimplemented |
CIMMethodRep& operator=(const CIMMethodRep& x) |
|
{ |
|
//PEGASUS_ASSERT(0); |
|
return *this; |
|
} |
|
| |
CIMName _name; | CIMName _name; |
CIMType _type; | CIMType _type; |
CIMName _classOrigin; | CIMName _classOrigin; |
Boolean _propagated; | Boolean _propagated; |
CIMQualifierList _qualifiers; | CIMQualifierList _qualifiers; |
Uint32 _nameTag; |
Array<CIMParameter> _parameters; |
Uint32 _ownerCount; |
|
|
|
typedef OrderedSet<CIMParameter, |
|
CIMParameterRep, |
|
PEGASUS_PARAMETER_ORDEREDSET_HASHSIZE> ParameterSet; |
|
ParameterSet _parameters; |
|
| |
friend class CIMClassRep; | friend class CIMClassRep; |
}; | }; |