(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.12 and 1.13

version 1.12, 2002/01/09 19:09:39 version 1.13, 2002/04/29 15:11:42
Line 106 
Line 106 
         Dec(_rep);         Dec(_rep);
     }     }
  
     /** Accessor.      /** Accessor for ClassName component of the object.
           @return - Returns the ClassName of the object in
           a String parameter.
           <pre>
               String className;
               CIMClass myclass("myclass", "superclass");
               className = myclass.getClassName;
           </pre>
     */     */
     const String& getClassName() const     const String& getClassName() const
     {     {
Line 114 
Line 121 
         return _rep->getClassName();         return _rep->getClassName();
     }     }
  
       /** isClassName Compares ClassName with a String. This test performs
           a comparison of the classname component of the object
           with a String.  Note that this function was included specifically
           because the equality compare is not just a straight comparison
           because classnames are case independent.
           @param classname String containing the name for comparison
           @return True if it is the same class name (equalNoCase compare passes)
           or false if not.
       */
       const Boolean isClassName(const String& classname) const
       {
           _checkRep();
           return _rep->isClassName(classname);
   
       }
     const CIMReference& getPath() const     const CIMReference& getPath() const
     {     {
         _checkRep();         _checkRep();


Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2