(file) Return to CIMObject.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/CIMObject.h between version 1.16 and 1.17

version 1.16, 2002/04/30 21:53:14 version 1.17, 2002/05/02 22:33:57
Line 161 
Line 161 
         @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();
Line 179 
Line 173 
         @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();
Line 229 
Line 217 
         _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
Line 265 
Line 253 
         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
Line 342 
Line 318 
         _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


Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2