version 1.11, 2001/07/10 22:31:12
|
version 1.11.2.3, 2001/11/15 20:15:24
|
|
|
*/ | */ |
Boolean isArray() const { return _isArray; } | Boolean isArray() const { return _isArray; } |
| |
|
/** Returns whether the CIMvalue object is null. |
|
Null is the specific condition where no value has |
|
yet been set into the value. |
|
If a CIMValue object is Null, any get on that object |
|
will create an exception. |
|
@return Returns True if the CIMValue object is Null |
|
*/ |
|
Boolean isNull() const { return _isNull; } |
|
|
/** CIMMethod getArraySize | /** CIMMethod getArraySize |
@return The number of entries in the array | @return The number of entries in the array |
*/ | */ |
|
|
| |
void get(Array<CIMDateTime>& x) const; | void get(Array<CIMDateTime>& x) const; |
| |
/** CIMMethod toXML |
/** toXML - Converts a CIMValue object to XML. |
|
@out Sint8 Array to hold the XML representation |
|
@return Returns the XML representation of the CIMValue |
|
object in the input parameter out. |
*/ | */ |
void toXml(Array<Sint8>& out) const; | void toXml(Array<Sint8>& out) const; |
| |
|
/** toXML - Converts a CIMValue object to XML. |
|
@return Returns the XML representation of the CIMValue |
|
object in String form. |
|
*/ |
|
String toXml() const; |
|
|
/** CIMMethod print - Format and print the Value to std output | /** CIMMethod print - Format and print the Value to std output |
stream | stream |
@return None | @return None |
|
|
*/ | */ |
void print(PEGASUS_STD(ostream) &o=PEGASUS_STD(cout)) const; | void print(PEGASUS_STD(ostream) &o=PEGASUS_STD(cout)) const; |
| |
/** toString - Converts the CIMvalue to a string |
/** toMof - Converts a CIMValueObject to Mof. |
|
@out Sint8 Array to hold the Mof representation |
|
@return Returns the Mof representation of the CIMValue |
|
object in the input parameter out. |
|
*/ |
|
void toMof(Array<Sint8>& out) const; |
|
|
|
|
|
/** toString - Converts the CIMvalue to a string. Should only be |
|
used for output purposes. To get an actual String value, use |
|
get(String &). |
@return - String output for CIMValue. | @return - String output for CIMValue. |
<PRE> | <PRE> |
Example: | Example: |
String test; | String test; |
CIMValue value(Boolean(true)); | CIMValue value(Boolean(true)); |
test = value.toString(); // puts "true" into test |
test = value.toString(); // puts "TRUE" into test |
</PRE> | </PRE> |
*/ | */ |
String toString() const; | String toString() const; |
|
|
| |
CIMType _type; | CIMType _type; |
Boolean _isArray; | Boolean _isArray; |
|
Boolean _isNull; |
Union _u; | Union _u; |
| |
friend class CIMMethodRep; | friend class CIMMethodRep; |