(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.21 and 1.22

version 1.21, 2002/09/13 23:55:37 version 1.22, 2003/03/12 21:02:53
Line 56 
Line 56 
  
         [A-Z-a-z_][A-Za-z_0-9]*         [A-Z-a-z_][A-Za-z_0-9]*
     </PRE>     </PRE>
   
     Notice that the definition of a name is the same as C, C++,  
     and Java.  
 */ */
 class PEGASUS_COMMON_LINKAGE CIMName class PEGASUS_COMMON_LINKAGE CIMName
 { {
 public: public:
  
       ///
     CIMName();     CIMName();
       ///
     CIMName(const String& name);     CIMName(const String& name);
       ///
     CIMName(const char* name);     CIMName(const char* name);
  
       ///
     CIMName& operator=(const CIMName& name);     CIMName& operator=(const CIMName& name);
       ///
     CIMName& operator=(const String& name);     CIMName& operator=(const String& name);
  
 #ifndef PEGASUS_REMOVE_DEPRECATED #ifndef PEGASUS_REMOVE_DEPRECATED
     CIMName& operator=(const char* name);     CIMName& operator=(const char* name);
 #endif #endif
  
       ///
     const String& getString() const;     const String& getString() const;
  
 #ifndef PEGASUS_REMOVE_DEPRECATED #ifndef PEGASUS_REMOVE_DEPRECATED
     operator String() const;     operator String() const;
 #endif #endif
  
       ///
     Boolean isNull() const;     Boolean isNull() const;
  
       ///
     void clear();     void clear();
  
     /** equal - Compares two names.      /** Compares two names.
         @return Return true if the two names are equal. CIM names are          @return true if the name passed is equal to the name in this
         case insensitive and so is this method.          class. CIM names are case insensitive and so is this method.
     */     */
     Boolean equal(const CIMName& name) const;     Boolean equal(const CIMName& name) const;
  
     //  ATTN: Define what is legal      /** Determines 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          @param name String to test for legality.
         @param - String to test          @return true if the given name is legal, false otherwise.
         @return Returns true if the given name is legal.  
     */     */
     static Boolean legal(const String& name);     static Boolean legal(const String& name);
  
Line 123 
Line 127 
     <p>     <p>
     A CIM namespace name must match the following expression:     A CIM namespace name must match the following expression:
     <PRE>     <PRE>
         <CIMName>[/<CIMName>]...          &ltCIMName&gt[/&ltCIMName&gt]...
     </PRE>     </PRE>
       </p>
 */ */
 class PEGASUS_COMMON_LINKAGE CIMNamespaceName class PEGASUS_COMMON_LINKAGE CIMNamespaceName
 { {
 public: public:
  
       ///
     CIMNamespaceName();     CIMNamespaceName();
       ///
     CIMNamespaceName(const String& name);     CIMNamespaceName(const String& name);
       ///
     CIMNamespaceName(const char* name);     CIMNamespaceName(const char* name);
  
       ///
     CIMNamespaceName& operator=(const CIMNamespaceName& name);     CIMNamespaceName& operator=(const CIMNamespaceName& name);
       ///
     CIMNamespaceName& operator=(const String& name);     CIMNamespaceName& operator=(const String& name);
  
 #ifndef PEGASUS_REMOVE_DEPRECATED #ifndef PEGASUS_REMOVE_DEPRECATED
     CIMNamespaceName& operator=(const char* name);     CIMNamespaceName& operator=(const char* name);
 #endif #endif
  
       ///
     const String& getString() const;     const String& getString() const;
  
 #ifndef PEGASUS_REMOVE_DEPRECATED #ifndef PEGASUS_REMOVE_DEPRECATED
     operator String() const;     operator String() const;
 #endif #endif
  
       ///
     Boolean isNull() const;     Boolean isNull() const;
  
       ///
     void clear();     void clear();
  
     /** equal - Compares two names.      /** Compares two names.
         @return Return true if the two names are equal. CIM names are          @return true if the name passed is equal to the name in this
         case insensitive and so is this method.          class. CIM names are case insensitive and so is this method.
     */     */
     Boolean equal(const CIMNamespaceName& name) const;     Boolean equal(const CIMNamespaceName& name) const;
  
     //  ATTN: Define what is legal      /** Determines if the name string input is legal as
     /** legal - Determine if the name string input is legal as          defnined in the CIMNamespaceName class definition.
         defnined in the CIMNamespaceName class definition          @param name String to test for legality.
         @param - String to test          @return true if the given name is legal, false otherwise.
         @return Returns true if the given name is legal.  
     */     */
     static Boolean legal(const String& name);     static Boolean legal(const String& name);
  


Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2