version 1.33, 2005/01/16 02:24:35
|
version 1.40, 2007/03/27 17:31:31
|
|
|
//%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: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// Dave Sudlik, IBM (dsudlik@us.ibm.com) |
|
// David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include "CIMClassRep.h" | #include "CIMClassRep.h" |
|
|
| |
Boolean CIMObject::isUninitialized() const | Boolean CIMObject::isUninitialized() const |
{ | { |
return (_rep == 0)? true : false; |
return _rep == 0; |
} | } |
| |
String CIMObject::toString () const | String CIMObject::toString () const |
{ | { |
Array<char> out; |
Buffer out; |
| |
_checkRep(); | _checkRep(); |
_rep->toXml(out); | _rep->toXml(out); |
|
|
| |
Boolean CIMConstObject::isUninitialized() const | Boolean CIMConstObject::isUninitialized() const |
{ | { |
return (_rep == 0)? true : false; |
return _rep == 0; |
} | } |
| |
String CIMConstObject::toString () const | String CIMConstObject::toString () const |
{ | { |
Array<char> out; |
Buffer out; |
| |
_checkRep(); | _checkRep(); |
_rep->toXml(out); | _rep->toXml(out); |