(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.9 and 1.12

version 1.9, 2001/06/16 23:09:59 version 1.12, 2002/05/16 18:25:49
Line 31 
Line 31 
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
 #include <Pegasus/Common/Exception.h>  
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 62 
Line 61 
         @return Returns true if the given name is legal. Throws         @return Returns true if the given name is legal. Throws
         NullPointer exception if name argument is null.         NullPointer exception if name argument is null.
     */     */
     static Boolean legal(const Char16* name);      static Boolean legal(const Char16* name) throw();
  
     /** legal - Determine if the name string input is legal as     /** legal - Determine if the name string input is legal as
         defnined in the CIMName class definition         defnined in the CIMName class definition
Line 70 
Line 69 
         @return Returns true if the given name is legal. Throws         @return Returns true if the given name is legal. Throws
         NullPointer exception if name argument is null.         NullPointer exception if name argument is null.
     */     */
     static Boolean legal(const String& name)      static Boolean legal(const String& name) throw();
     {  
         return legal(name.getData());  
     }  
  
     /** equal - Compares two names.     /** equal - Compares two names.
         @return Return true if the two names are equal. CIM names are         @return Return true if the two names are equal. CIM names are
         case insensitive and so it this method.         case insensitive and so it this method.
     */     */
     static Boolean equal(const String& name1, const String& name2)      static Boolean equal(const String& name1, const String& name2) throw();
     {  
         return String::equalNoCase(name1, name2);  
     }  
  
 private: private:
  


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2