version 1.38, 2004/06/30 21:58:06
|
version 1.48, 2007/11/11 19:48:34
|
|
|
//%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 |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) |
|
// |
|
// Modified By: Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// Adriann Schuur (schuur@de.ibm.com) PEP 164 |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_CIMClassRep_h | #ifndef Pegasus_CIMClassRep_h |
|
|
| |
// ATTN: KS P3 -document the CIMClass and CIMObjectRep classes. | // ATTN: KS P3 -document the CIMClass and CIMObjectRep classes. |
| |
class PEGASUS_COMMON_LINKAGE CIMClassRep : public CIMObjectRep |
class CIMClassRep : public CIMObjectRep |
{ | { |
public: | public: |
| |
|
|
| |
virtual Boolean identical(const CIMObjectRep* x) const; | virtual Boolean identical(const CIMObjectRep* x) const; |
| |
void toXml(Array<Sint8>& out) const; |
void toXml(Buffer& out) const; |
| |
void toMof(Array<Sint8>& out) const; |
void toMof(Buffer& out) const; |
| |
virtual CIMObjectRep* clone() const | virtual CIMObjectRep* clone() const |
{ | { |
|
|
| |
Boolean hasKeys() const; | Boolean hasKeys() const; |
| |
CIMInstance createInstance(Boolean includeQualifiers, |
CIMInstance buildInstance(Boolean includeQualifiers, |
Boolean includeClassOrigin, | Boolean includeClassOrigin, |
const CIMPropertyList & propertyList) const; | const CIMPropertyList & propertyList) const; |
| |
private: | private: |
| |
CIMClassRep(); |
|
|
|
CIMClassRep(const CIMClassRep& x); | CIMClassRep(const CIMClassRep& x); |
| |
// This method is declared and made private so that the compiler does |
CIMClassRep(); // Unimplemented |
// not implicitly define a default copy constructor. |
CIMClassRep& operator=(const CIMClassRep& x); // Unimplemented |
CIMClassRep& operator=(const CIMClassRep& x) |
|
{ |
|
//PEGASUS_ASSERT(0); |
|
return *this; |
|
} |
|
| |
CIMName _superClassName; | CIMName _superClassName; |
Array<CIMMethod> _methods; |
typedef OrderedSet<CIMMethod, |
|
CIMMethodRep, |
|
PEGASUS_METHOD_ORDEREDSET_HASHSIZE> MethodSet; |
|
MethodSet _methods; |
| |
friend class CIMClass; | friend class CIMClass; |
friend class CIMInstanceRep; | friend class CIMInstanceRep; |