(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.14 and 1.1.2.18

version 1.1.2.14, 2009/09/18 10:14:13 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 603 
Line 603 
         if (inst.hdr->refCount.decAndTestIfZero())         if (inst.hdr->refCount.decAndTestIfZero())
         {         {
             // printf("\ninst.hdr->refCount=%u\n",inst.hdr->refCount.get());             // printf("\ninst.hdr->refCount=%u\n",inst.hdr->refCount.get());
               // All external references has to be destroyed.
               _destroyExternalReferences();
             // The class has also be dereferenced.             // The class has also be dereferenced.
             delete inst.hdr->theClass;             delete inst.hdr->theClass;
             free(inst.base);             free(inst.base);
Line 614 
Line 616 
         }         }
  
     };     };
   
   
       void _destroyExternalReferences();
   
     /**     /**
      * A SCMOInstance can only be created by a SCMOClass      * A SCMOInstance can only be created by a SCMOClass
      */      */
     SCMOInstance();     SCMOInstance();
  
     void _initSCMOInstance(      void _initSCMOInstance(SCMOClass* pClass);
         SCMOClass* pClass,  
         Boolean inclQual,  
         Boolean inclOrigin);  
  
       void _setCIMInstance(const CIMInstance& cimInstance);
  
     SCMO_RC _getPropertyAtNodeIndex(     SCMO_RC _getPropertyAtNodeIndex(
             Uint32 pos,             Uint32 pos,
Line 642 
Line 646 
  
     void _setCIMValueAtNodeIndex(Uint32 node, CIMValueRep* valRep);     void _setCIMValueAtNodeIndex(Uint32 node, CIMValueRep* valRep);
  
     void _getCIMValueFromSCMBUnion(      static void _getCIMValueFromSCMBUnion(
         CIMValue& cimV,         CIMValue& cimV,
         const CIMType type,         const CIMType type,
         const Boolean isNull,         const Boolean isNull,
         const Boolean isArray,         const Boolean isArray,
         const Uint32 arraySize,         const Uint32 arraySize,
         const SCMBUnion& scmbUn,         const SCMBUnion& scmbUn,
         const char * base) const;          const char * base);
  
     void _getCIMValueFromSCMBValue(      static void _getCIMValueFromSCMBValue(
         CIMValue& cimV,         CIMValue& cimV,
         const SCMBValue& scmbV,         const SCMBValue& scmbV,
         const char * base) const;          const char * base);
  
     CIMProperty _getCIMPropertyAtNodeIndex(Uint32 nodeIdx) const;     CIMProperty _getCIMPropertyAtNodeIndex(Uint32 nodeIdx) const;
  
Line 674 
Line 678 
         Uint32 size,         Uint32 size,
         SCMBUnion & u);         SCMBUnion & u);
  
     static void _setNonRefUnionValue(      static void _setUnionValue(
         Uint64 start,         Uint64 start,
         SCMBMgmt_Header** pmem,         SCMBMgmt_Header** pmem,
         CIMType type,         CIMType type,
Line 712 
Line 716 
  
     SCMO_RC _setKeyBindingFromString(const char* name,String cimKeyBinding);     SCMO_RC _setKeyBindingFromString(const char* name,String cimKeyBinding);
  
     Boolean _setCimKeyBindingStringToSCMOKeyBindigValue(      Boolean _setCimKeyBindingStringToSCMOKeyBindingValue(
         const char* v,          const String& kbs,
         Uint32 len,  
         CIMType type,         CIMType type,
         SCMBKeyBindingValue& scmoKBV         SCMBKeyBindingValue& scmoKBV
         );         );


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2