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

Diff for /pegasus/src/Pegasus/Common/SCMOInstance.h between version 1.1.2.16 and 1.1.2.18

version 1.1.2.16, 2009/09/29 15:11:51 version 1.1.2.18, 2009/09/30 15:51:28
Line 516 
Line 516 
      * Determines whether the object has been initialized.      * Determines whether the object has been initialized.
      * @return True if the object has not been initialized, false otherwise.      * @return True if the object has not been initialized, false otherwise.
      */      */
     Boolean isUninitialized( ) const {return (inst.base == NULL); };      Boolean isUninitialized( ) const {return (0 == inst.base); };
  
     /**     /**
      * Determies if two objects are referencing to the same instance      * Determies if two objects are referencing to the same instance
Line 598 
Line 598 
         // printf("\ninst.hdr->refCount=%u\n",inst.hdr->refCount.get());         // printf("\ninst.hdr->refCount=%u\n",inst.hdr->refCount.get());
     };     };
  
     void Unref();      void Unref()
       {
           if (inst.hdr->refCount.decAndTestIfZero())
           {
               // printf("\ninst.hdr->refCount=%u\n",inst.hdr->refCount.get());
               // All external references has to be destroyed.
               _destroyExternalReferences();
               // The class has also be dereferenced.
               delete inst.hdr->theClass;
               free(inst.base);
               inst.base=NULL;
           }
           else
           {
               // printf("\ninst.hdr->refCount=%u\n",inst.hdr->refCount.get());
           }
   
       };
   
  
     void _destroyExternalReferences();     void _destroyExternalReferences();
  
Line 698 
Line 716 
  
     SCMO_RC _setKeyBindingFromString(const char* name,String cimKeyBinding);     SCMO_RC _setKeyBindingFromString(const char* name,String cimKeyBinding);
  
     Boolean _setCimKeyBindingStringToSCMOKeyBindigValue(      Boolean _setCimKeyBindingStringToSCMOKeyBindingValue(
         const String& kbs,         const String& kbs,
         CIMType type,         CIMType type,
         SCMBKeyBindingValue& scmoKBV         SCMBKeyBindingValue& scmoKBV


Legend:
Removed from v.1.1.2.16  
changed lines
  Added in v.1.1.2.18

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2