version 1.24, 2004/11/29 18:48:19
|
version 1.31, 2007/10/23 17:42:56
|
|
|
//%2004//////////////////////////////////////////////////////////////////////// |
//%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, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; | // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
// 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.; |
|
// 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 |
|
// Dave Sudlik, IBM (dsudlik@us.ibm.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_CIMObjectRep_h | #ifndef Pegasus_CIMObjectRep_h |
|
|
| |
This class contains what is common to CIMClass and CIMInstance. | This class contains what is common to CIMClass and CIMInstance. |
*/ | */ |
class PEGASUS_COMMON_LINKAGE CIMObjectRep : public Sharable |
class CIMObjectRep : public Sharable |
{ | { |
public: | public: |
| |
|
|
| |
virtual Boolean identical(const CIMObjectRep* x) const; | virtual Boolean identical(const CIMObjectRep* x) const; |
| |
virtual void toXml(Array<Sint8>& out) const = 0; |
virtual void toXml(Buffer& out) const = 0; |
| |
virtual void toMof(Array<Sint8>& out) const = 0; |
virtual void toMof(Buffer& out) const = 0; |
| |
virtual CIMObjectRep* clone() const = 0; | virtual CIMObjectRep* clone() const = 0; |
| |
protected: | protected: |
| |
CIMObjectRep(); |
|
|
|
CIMObjectRep(const CIMObjectRep& x); | CIMObjectRep(const CIMObjectRep& x); |
| |
CIMObjectPath _reference; | CIMObjectPath _reference; |
|
|
| |
private: | private: |
| |
// This method is declared and made private so that the compiler does |
CIMObjectRep(); // Unimplemented |
// not implicitly define a default copy constructor. |
CIMObjectRep& operator=(const CIMObjectRep& x); // Unimplemented |
CIMObjectRep& operator=(const CIMObjectRep& x) |
|
{ |
|
//PEGASUS_ASSERT(0); |
|
return *this; |
|
} |
|
| |
friend class CIMObject; | friend class CIMObject; |
friend class BinaryStreamer; | friend class BinaryStreamer; |