version 1.5, 2002/05/07 03:55:28
|
version 1.13, 2003/10/22 14:26:02
|
|
|
//%///////////////////////////////////////////////////////////////////////////// |
//%2003//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 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. |
// | // |
// 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: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) | // Author: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) |
// | // |
// Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) | // Modified By: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
_rep->setIsTyped(isTyped); | _rep->setIsTyped(isTyped); |
} | } |
| |
CIMParamValue::operator int() const |
Boolean CIMParamValue::isUninitialized() const |
{ |
|
return (_rep != 0); |
|
} |
|
|
|
void CIMParamValue::toXml(Array<Sint8>& out) const |
|
{ | { |
_checkRep(); |
return (_rep == 0)? true : false; |
_rep->toXml(out); |
|
} |
|
|
|
void CIMParamValue::print(PEGASUS_STD(ostream) &o) const |
|
{ |
|
_checkRep(); |
|
_rep->print(o); |
|
} |
|
|
|
Boolean CIMParamValue::identical(const CIMParamValue& x) const |
|
{ |
|
x._checkRep(); |
|
_checkRep(); |
|
return _rep->identical(x._rep); |
|
} | } |
| |
CIMParamValue CIMParamValue::clone() const | CIMParamValue CIMParamValue::clone() const |
|
|
void CIMParamValue::_checkRep() const | void CIMParamValue::_checkRep() const |
{ | { |
if (!_rep) | if (!_rep) |
ThrowUninitializedHandle(); |
throw UninitializedObjectException(); |
} | } |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |