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

Diff for /pegasus/src/Pegasus/Common/CIMMethodRep.h between version 1.14 and 1.18

version 1.14, 2001/07/10 06:43:23 version 1.18, 2002/05/06 23:21:58
Line 40 
Line 40 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 class CIMMethod;  
 class CIMConstMethod; class CIMConstMethod;
 class DeclContext; class DeclContext;
  
Line 91 
Line 90 
     {     {
         _qualifiers.add(qualifier);         _qualifiers.add(qualifier);
     }     }
     // ATTN: ks 18 May.  Why no non-const version here  
     Uint32 findQualifier(const String& name) const     Uint32 findQualifier(const String& name) const
     {     {
         return _qualifiers.find(name);         return _qualifiers.find(name);
     }     }
     // ATTN:  
     Boolean existsQualifier(const String& name) const     Boolean existsQualifier(const String& name) const
     {     {
         return (findQualifier(name) != PEG_NOT_FOUND) ? true : false;         return (findQualifier(name) != PEG_NOT_FOUND) ? true : false;
Line 112 
Line 111 
     {     {
         return _qualifiers.getQualifier(pos);         return _qualifiers.getQualifier(pos);
     }     }
     //  
     void removeQualifier(Uint32 pos)     void removeQualifier(Uint32 pos)
     {     {
         _qualifiers.removeQualifier(pos);         _qualifiers.removeQualifier(pos);
Line 126 
Line 125 
  
     void addParameter(const CIMParameter& x);     void addParameter(const CIMParameter& x);
  
     Uint32 findParameter(const String& name);      Uint32 findParameter(const String& name) const;
   
     Uint32 findParameter(const String& name) const  
     {  
         return ((CIMMethodRep*)this)->findParameter(name);  
     }  
  
     CIMParameter getParameter(Uint32 pos);     CIMParameter getParameter(Uint32 pos);
  
Line 155 
Line 149 
  
     virtual void print(PEGASUS_STD(ostream)& os = PEGASUS_STD(cout)) const;     virtual void print(PEGASUS_STD(ostream)& os = PEGASUS_STD(cout)) const;
  
       void toMof(Array<Sint8>& out) const;
   
     Boolean identical(const CIMMethodRep* x) const;     Boolean identical(const CIMMethodRep* x) const;
  
     CIMMethodRep* clone() const     CIMMethodRep* clone() const
Line 168 
Line 164 
  
     CIMMethodRep(const CIMMethodRep& x);     CIMMethodRep(const CIMMethodRep& x);
  
     CIMMethodRep& operator=(const CIMMethodRep& x);      // This method is declared and made private so that the compiler does
       // not implicitly define a default copy constructor.
       CIMMethodRep& operator=(const CIMMethodRep& x)
       {
           PEGASUS_ASSERT(0);
           return *this;
       }
  
     String _name;     String _name;
     CIMType _type;     CIMType _type;


Legend:
Removed from v.1.14  
changed lines
  Added in v.1.18

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2