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

Diff for /pegasus/src/Pegasus/Common/CIMName.h between version 1.33 and 1.34

version 1.33, 2005/05/09 14:52:59 version 1.34, 2005/11/10 15:10:13
Line 158 
Line 158 
         Clears the CIMName.         Clears the CIMName.
  
         <pre>         <pre>
         CIMMame n("name");          CIMName n("name");
         n.clear();         n.clear();
         assert(n.isNull());         assert(n.isNull());
         </pre>         </pre>
Line 199 
Line 199 
     */     */
     static Boolean legal(const String& name);     static Boolean legal(const String& name);
  
   #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES
   
       Boolean equal(const char* name) const;
   
       CIMName& operator=(const char* name);
   
   #endif /* PEGASUS_USE_EXPERIMENTAL_INTERFACES */
   
 private: private:
     String cimName;     String cimName;
       friend class CIMNameUnchecked;
 }; };
  
 /** /**
Line 361 
Line 370 
             object contains no name so that accessing it with getString             object contains no name so that accessing it with getString
             should return an empty String             should return an empty String
             <pre>             <pre>
                         CIMMamespaceName ns("root/test");                          CIMNamespaceName ns("root/test");
                         ns.clear();                         ns.clear();
                         assert(ns.isNull());                         assert(ns.isNull());
             </pre>             </pre>
Line 372 
Line 381 
                 @return true if the name passed is equal to the name in this                 @return true if the name passed is equal to the name in this
         class. CIM names are case insensitive and so is this method.         class. CIM names are case insensitive and so is this method.
                 <pre>                 <pre>
                 CIMMamespaceName ns("root/test");                  CIMNamespaceName ns("root/test");
                 CIMMamespaceName ns1("root/test");                  CIMNamespaceName ns1("root/test");
                 assert( ns.equal(ns1);                 assert( ns.equal(ns1);
             </pre>             </pre>
     */     */
Line 389 
Line 398 
     */     */
     static Boolean legal(const String& name);     static Boolean legal(const String& name);
  
   #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES
   
       Boolean equal(const char* name) const;
   
       CIMNamespaceName& operator=(const char* name);
   
   #endif /* PEGASUS_USE_EXPERIMENTAL_INTERFACES */
   
 private: private:
     String cimNamespaceName;     String cimNamespaceName;
 }; };
Line 407 
Line 424 
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
   #ifdef PEGASUS_INTERNALONLY
   # include "CIMNameInline.h"
   #endif
   
 #endif /* Pegasus_Name_h */ #endif /* Pegasus_Name_h */


Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2