version 1.30, 2002/08/20 17:39:37
|
version 1.31, 2002/08/26 16:26:10
|
|
|
// | // |
// 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) | // Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
void set(const Array<CIMObjectPath>& x); | void set(const Array<CIMObjectPath>& x); |
| |
/** get - Gets the value of a CIMValue | /** get - Gets the value of a CIMValue |
@param Variable in which we return the value: |
|
@return void |
Note: Before using get, the caller should use getType () and isNull () |
|
to ensure that the value is not null, and is of the correct type. |
|
If the CIMValue is null, the output parameter is not updated. |
|
|
|
@param Variable in which we return the value |
|
|
|
@exception TypeMismatchException If the CIMValue type is not compatible |
|
with the type of the output parameter |
<pre> | <pre> |
Uint32 v; | Uint32 v; |
CIMValue value(CIMValue::UINT32, UINT32(99)); | CIMValue value(CIMValue::UINT32, UINT32(99)); |
value.get(v); | value.get(v); |
</pre> | </pre> |
|
|
|
<pre> |
|
Uint32 v; |
|
CIMValue value = property.getValue (); |
|
if ((value.getType () == CIMTYPE_UINT32) && (!value.isNull ())) |
|
value.get (v); |
|
</pre> |
*/ | */ |
void get(Boolean& x) const; | void get(Boolean& x) const; |
/// | /// |