version 1.4, 2002/05/03 01:39:09
|
version 1.12.2.1, 2002/10/28 15:43:21
|
|
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001 BMC Software, Hewlett-Packard Company, IBM, |
// Copyright (c) 2000, 2001, 2002 BMC Software, Hewlett-Packard Company, IBM, |
// The Open Group, Tivoli Systems | // The Open Group, Tivoli Systems |
// | // |
// 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 |
|
|
_rep->setIsTyped(isTyped); | _rep->setIsTyped(isTyped); |
} | } |
| |
CIMParamValue::operator int() const |
Boolean CIMParamValue::isNull() const |
{ | { |
return (_rep != 0); |
return (_rep == 0)? true : false; |
} |
|
|
|
void CIMParamValue::toXml(Array<Sint8>& out) const |
|
{ |
|
_checkRep(); |
|
_rep->toXml(out); |
|
} |
|
|
|
void CIMParamValue::print(PEGASUS_STD(ostream) &o) const |
|
{ |
|
_checkRep(); |
|
_rep->print(o); |
|
} | } |
| |
Boolean CIMParamValue::identical(const CIMParamValue& x) const | Boolean CIMParamValue::identical(const CIMParamValue& x) const |
|
|
void CIMParamValue::_checkRep() const | void CIMParamValue::_checkRep() const |
{ | { |
if (!_rep) | if (!_rep) |
ThrowUnitializedHandle(); |
ThrowUninitializedHandle(); |
} | } |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |