version 1.26, 2002/06/03 22:42:05
|
version 1.27, 2002/07/19 18:47:11
|
|
|
CIMValue(const String& x); | CIMValue(const String& x); |
| |
/// Constructor | /// Constructor |
CIMValue(const char* x); |
|
|
|
/// Constructor |
|
CIMValue(const CIMDateTime& x); | CIMValue(const CIMDateTime& x); |
| |
/// Constructor | /// Constructor |
|
|
*/ | */ |
void clear(); | void clear(); |
| |
/** typeCompatible - Compares the types of two CIMvalues. This |
/** typeCompatible - Compares the types of two CIMValues. This |
compares the type field and the array indicators. | compares the type field and the array indicators. |
@return true if both are of the same type and both are either arrays | @return true if both are of the same type and both are either arrays |
or not. Else returns false. | or not. Else returns false. |
|
|
/// | /// |
void set(const String& x); | void set(const String& x); |
/// | /// |
void set(const char* x); |
|
/// |
|
void set(const CIMDateTime& x); | void set(const CIMDateTime& x); |
/// | /// |
void set(const CIMObjectPath& x); | void set(const CIMObjectPath& x); |
|
|
/// | /// |
void get(Array<CIMObjectPath>& x) const; | void get(Array<CIMObjectPath>& x) const; |
| |
/** Makes a deep copy (clone) of the given object. */ |
/** Compare with another CIMValue object for equality. |
CIMValue clone() const; |
@param x - CIMValue to compare with |
|
@return True if they are identical in type, attribute and value. |
|
*/ |
|
Boolean equal(const CIMValue& x) const; |
| |
/** toString - Converts the CIMvalue to a string. Should only be | /** toString - Converts the CIMvalue to a string. Should only be |
used for output purposes. To get an actual String value, use | used for output purposes. To get an actual String value, use |
|
|
friend class CIMPropertyRep; | friend class CIMPropertyRep; |
friend class CIMQualifierRep; | friend class CIMQualifierRep; |
friend class CIMQualifierDeclRep; | friend class CIMQualifierDeclRep; |
PEGASUS_COMMON_LINKAGE friend Boolean operator==( |
|
const CIMValue& x, |
|
const CIMValue& y); |
|
}; | }; |
| |
/** operator == compares two CIMValue objects for equality. | /** operator == compares two CIMValue objects for equality. |
@param x - First CIMvalue to compare |
@param x - First CIMValue to compare |
@parm y - Second CIMValue to compare |
@param y - Second CIMValue to compare |
@return True if they are identical in type, attribute and value. | @return True if they are identical in type, attribute and value. |
*/ | */ |
PEGASUS_COMMON_LINKAGE Boolean operator==(const CIMValue& x, const CIMValue& y); | PEGASUS_COMMON_LINKAGE Boolean operator==(const CIMValue& x, const CIMValue& y); |
| |
/** operator != compares two CIMValue objects for nonequality |
/** operator != compares two CIMValue objects for inequality |
*/ | */ |
PEGASUS_COMMON_LINKAGE Boolean operator!=(const CIMValue& x, const CIMValue& y); | PEGASUS_COMMON_LINKAGE Boolean operator!=(const CIMValue& x, const CIMValue& y); |
| |