version 1.16, 2002/04/30 21:53:14
|
version 1.17, 2002/05/02 22:33:57
|
|
|
@return - Position of the qualifier to be used in subsequent | @return - Position of the qualifier to be used in subsequent |
operations or PEG_NOT_FOUND if the qualifier is not found. | operations or PEG_NOT_FOUND if the qualifier is not found. |
*/ | */ |
Uint32 findQualifier(const String& name) |
|
{ |
|
_checkRep(); |
|
return _rep->findQualifier(name); |
|
} |
|
|
|
Uint32 findQualifier(const String& name) const | Uint32 findQualifier(const String& name) const |
{ | { |
_checkRep(); | _checkRep(); |
|
|
@return - Returns True if the qualifier object exists or false | @return - Returns True if the qualifier object exists or false |
if the qualifier is not found. | if the qualifier is not found. |
*/ | */ |
Boolean existsQualifier(const String& name) |
|
{ |
|
_checkRep(); |
|
return _rep->existsQualifier(name); |
|
} |
|
|
|
Boolean existsQualifier(const String& name) const | Boolean existsQualifier(const String& name) const |
{ | { |
_checkRep(); | _checkRep(); |
|
|
_rep->removeQualifier(pos); | _rep->removeQualifier(pos); |
} | } |
| |
/** getQualifierCount - Gets the numbercount of CIMQualifierobjects |
/** getQualifierCount - Gets the number of CIMQualifier objects |
defined for this CIMObject. | defined for this CIMObject. |
@return Count of the number of CIMQalifier objects in the |
@return Count of the number of CIMQualifier objects in the |
CIMObject. | CIMObject. |
@exception Throws the OutOfBounds exception if the index | @exception Throws the OutOfBounds exception if the index |
is out of bounds | is out of bounds |
|
|
PEG_NOT_FOUND if no property object found with the name defined by the | PEG_NOT_FOUND if no property object found with the name defined by the |
input. | input. |
*/ | */ |
Uint32 findProperty(const String& name) |
|
{ |
|
_checkRep(); |
|
return _rep->findProperty(name); |
|
} |
|
|
|
Uint32 findProperty(const String& name) const | Uint32 findProperty(const String& name) const |
{ | { |
_checkRep(); | _checkRep(); |
return _rep->findProperty(name); | return _rep->findProperty(name); |
} | } |
| |
/** existsPropery - Determines if a property object with the |
/** existsProperty - Determines if a property object with the |
name defined by the input parameter exists in the class. | name defined by the input parameter exists in the class. |
@parm String parameter with the property name. | @parm String parameter with the property name. |
@return True if the property object exists. | @return True if the property object exists. |
*/ | */ |
Boolean existsProperty(const String& name) |
|
{ |
|
_checkRep(); |
|
return _rep->existsProperty(name); |
|
} |
|
|
|
Boolean existsProperty(const String& name) const | Boolean existsProperty(const String& name) const |
{ | { |
_checkRep(); | _checkRep(); |
return _rep->existsProperty(name); | return _rep->existsProperty(name); |
} | } |
| |
/** getProperty - Gets the CIMproperty object in the CIMObject defined |
/** getProperty - Gets the CIMProperty object in the CIMObject defined |
by the input index parameter. | by the input index parameter. |
@param Index to the property object in the CIMObject. | @param Index to the property object in the CIMObject. |
The index to qualifier objects is zero-origin and continuous | The index to qualifier objects is zero-origin and continuous |
|
|
_rep->removeProperty(pos); | _rep->removeProperty(pos); |
} | } |
| |
/** getPropertyCount - Gets the numbercount of CIMProperty |
/** getPropertyCount - Gets the number of CIMProperty |
objects defined for this CIMObject. | objects defined for this CIMObject. |
@return Count of the number of CIMProperty objects in the | @return Count of the number of CIMProperty objects in the |
CIMObject. Zero indicates that no CIMProperty objects | CIMObject. Zero indicates that no CIMProperty objects |