version 1.13, 2002/02/18 13:59:48
|
version 1.14, 2002/02/20 23:14:19
|
|
|
// Author: Mike Brasher (mbrasher@bmc.com) | // Author: Mike Brasher (mbrasher@bmc.com) |
// | // |
// Modified By: Karl schopmeyer (k.schopmeyer@opengroup.org) | // Modified By: Karl schopmeyer (k.schopmeyer@opengroup.org) |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
CIMValue(const Array<CIMDateTime>& x) { _init(); set(x); } | CIMValue(const Array<CIMDateTime>& x) { _init(); set(x); } |
| |
/// Constructor | /// Constructor |
|
CIMValue(const Array<CIMReference>& x) { _init(); set(x); } |
|
|
|
/// Constructor |
CIMValue(const CIMValue& x); | CIMValue(const CIMValue& x); |
| |
/// Destrustructor |
/// Destructor |
~CIMValue(); | ~CIMValue(); |
| |
/// Operator = | /// Operator = |
|
|
void set(const Array<String>& x); | void set(const Array<String>& x); |
/// | /// |
void set(const Array<CIMDateTime>& x); | void set(const Array<CIMDateTime>& x); |
|
/// |
|
void set(const Array<CIMReference>& x); |
| |
/** get - Gets the value of a CIMValue | /** get - Gets the value of a CIMValue |
@param ATTNDOC: | @param ATTNDOC: |
|
|
void get(Array<String>& x) const; | void get(Array<String>& x) const; |
/// | /// |
void get(Array<CIMDateTime>& x) const; | void get(Array<CIMDateTime>& x) const; |
|
/// |
|
void get(Array<CIMReference>& x) const; |
| |
/** toXML - Converts a CIMValue object to XML. The XML is appended | /** toXML - Converts a CIMValue object to XML. The XML is appended |
to the Array provided with the call.Returns the result as an | to the Array provided with the call.Returns the result as an |
XML elemet wrapped in the <VALUE> or <ARRAYVALUE> tags. If the |
XML element wrapped in the <VALUE>, <VALUE.ARRAY>, <VALUE.REFERENCE>, |
CIMValue is Null, no element is returned. |
or <VALUE.REFARRAY> tags. If the CIMValue is Null, no element is |
|
returned. |
@paramout Sint8 Array to hold the XML representation | @paramout Sint8 Array to hold the XML representation |
@return Returns the XML representation of the CIMValue | @return Returns the XML representation of the CIMValue |
object in the input parameter out. | object in the input parameter out. |
|
|
/** toXML - Converts a CIMValue object to XML. There is no input | /** toXML - Converts a CIMValue object to XML. There is no input |
parameter and the result is returned as a String rather | parameter and the result is returned as a String rather |
than appended to an 8-bit array as above. Returns the | than appended to an 8-bit array as above. Returns the |
element as value wrapped in the <VALUE> or ARRAYVALUE tags. If the |
element as value wrapped in the <VALUE>, <VALUE.ARRAY>, |
|
<VALUE.REFERENCE>, or <VALUE.REFARRAY> tags. If the |
CIMValue is Null, no element is returned. | CIMValue is Null, no element is returned. |
@return Returns the XML representation of the CIMValue | @return Returns the XML representation of the CIMValue |
object in String form. | object in String form. |