version 1.4, 2001/04/08 01:13:21
|
version 1.7, 2001/05/24 00:48:35
|
|
|
//BEGIN_LICENSE |
//%///////////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM | // Copyright (c) 2000 The Open Group, BMC Software, Tivoli Systems, IBM |
// | // |
|
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
// DEALINGS IN THE SOFTWARE. | // DEALINGS IN THE SOFTWARE. |
// | // |
//END_LICENSE |
//============================================================================== |
//BEGIN_HISTORY |
|
// | // |
// Author: |
// Author: Mike Brasher (mbrasher@bmc.com) |
// | // |
// $Log$ |
// Modified By: |
// Revision 1.4 2001/04/08 01:13:21 mike |
|
// Changed "ConstCIM" to "CIMConst" |
|
// | // |
// Revision 1.2 2001/02/19 01:47:16 mike |
//%///////////////////////////////////////////////////////////////////////////// |
// Renamed names of the form CIMConst to CIMConst. |
|
// |
|
// Revision 1.1 2001/02/18 18:39:06 mike |
|
// new |
|
// |
|
// Revision 1.2 2001/02/18 03:56:00 mike |
|
// Changed more class names (e.g., ConstClassDecl -> CIMConstClass) |
|
// |
|
// Revision 1.1 2001/02/16 02:06:06 mike |
|
// Renamed many classes and headers. |
|
// |
|
// Revision 1.1.1.1 2001/01/14 19:52:37 mike |
|
// Pegasus import |
|
// |
|
// |
|
//END_HISTORY |
|
| |
#include "CIMInstance.h" | #include "CIMInstance.h" |
#include "DeclContext.h" | #include "DeclContext.h" |
|
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
#define PEGASUS_ARRAY_T CIMInstance |
|
# include "ArrayImpl.h" |
|
#undef PEGASUS_ARRAY_T |
|
|
Boolean CIMInstance::identical(const CIMConstInstance& x) const | Boolean CIMInstance::identical(const CIMConstInstance& x) const |
{ | { |
x._checkRep(); | x._checkRep(); |
|
|
return _rep->identical(x._rep); | return _rep->identical(x._rep); |
} | } |
| |
|
void CIMInstance::resolve(DeclContext* declContext, const String& nameSpace) |
|
{ |
|
_checkRep(); |
|
CIMConstClass cimClass; |
|
_rep->resolve(declContext, nameSpace, cimClass); |
|
} |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |