version 1.20, 2002/08/27 23:38:44
|
version 1.30, 2006/11/07 21:30:36
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// 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.; |
|
// 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) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#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(Buffer& out) const = 0; |
| |
virtual CIMObjectRep* clone() const = 0; | virtual CIMObjectRep* clone() const = 0; |
| |
|
|
} | } |
| |
friend class CIMObject; | friend class CIMObject; |
|
friend class BinaryStreamer; |
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |