(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.39 and 1.41

version 1.39, 2008/04/11 17:14:03 version 1.41, 2008/10/22 08:19:39
Line 44 
Line 44 
 #include <Pegasus/Common/CIMQualifierList.h> #include <Pegasus/Common/CIMQualifierList.h>
 #include <Pegasus/Common/CIMParameter.h> #include <Pegasus/Common/CIMParameter.h>
 #include <Pegasus/Common/CIMParameterRep.h> #include <Pegasus/Common/CIMParameterRep.h>
 #include <Pegasus/Common/Sharable.h>  
 #include <Pegasus/Common/Pair.h> #include <Pegasus/Common/Pair.h>
 #include <Pegasus/Common/OrderedSet.h> #include <Pegasus/Common/OrderedSet.h>
  
Line 53 
Line 52 
 class CIMConstMethod; class CIMConstMethod;
 class DeclContext; class DeclContext;
  
 class CIMMethodRep : public Sharable  class CIMMethodRep
 { {
 public: public:
  
Line 63 
Line 62 
         const CIMName& classOrigin,         const CIMName& classOrigin,
         Boolean propagated);         Boolean propagated);
  
     ~CIMMethodRep()      const CIMName& getName() const
     {  
     }  
   
     virtual const CIMName& getName() const  
     {     {
         return _name;         return _name;
     }     }
  
     const Uint32 getNameTag() const      Uint32 getNameTag() const
     {     {
         return _nameTag;         return _nameTag;
     }     }
Line 85 
Line 80 
  
     void decreaseOwnerCount()     void decreaseOwnerCount()
     {     {
         _ownerCount++;          _ownerCount--;
         return;         return;
     }     }
  
Line 196 
Line 191 
         return new CIMMethodRep(*this);         return new CIMMethodRep(*this);
     }     }
  
       void Inc()
       {
           _refCounter++;
       }
   
       void Dec()
       {
           if (_refCounter.decAndTestIfZero())
               delete this;
       }
   
 private: private:
  
     CIMMethodRep(const CIMMethodRep& x);     CIMMethodRep(const CIMMethodRep& x);
Line 211 
Line 217 
     Uint32 _nameTag;     Uint32 _nameTag;
     Uint32 _ownerCount;     Uint32 _ownerCount;
  
       // reference counter as member to avoid
       // virtual function resolution overhead
       AtomicInt _refCounter;
   
     typedef OrderedSet<CIMParameter,     typedef OrderedSet<CIMParameter,
                        CIMParameterRep,                        CIMParameterRep,
                        PEGASUS_PARAMETER_ORDEREDSET_HASHSIZE> ParameterSet;                        PEGASUS_PARAMETER_ORDEREDSET_HASHSIZE> ParameterSet;


Legend:
Removed from v.1.39  
changed lines
  Added in v.1.41

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2