(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.3 and 1.1.2.5

version 1.1.2.3, 2009/08/04 13:28:47 version 1.1.2.5, 2009/08/06 09:08:09
Line 106 
Line 106 
      * CIMInstance data into the new SCMOInstance.      * CIMInstance data into the new SCMOInstance.
      * @param baseClass The SCMOClass of this instance.      * @param baseClass The SCMOClass of this instance.
      * @param cimInstance A CIMInstace of the same class.      * @param cimInstance A CIMInstace of the same class.
        * @exception Exception if class name and name space does not match.
        * @exception
        *     Exception if CIMInstance has more key bindings then the SCMOClass.
        * @exception
        *     Exception if a key binding is not found as a key property
        *     of the SCMOClass.
        * @exception Exception if a key binding does not match
        *     the class definition.
        * @exception Exception if a property is not part of class definition.
        * @exception Exception if a property does not match the class definition.
      */      */
     SCMOInstance(SCMOClass baseClass, const CIMInstance& cimInstance);     SCMOInstance(SCMOClass baseClass, const CIMInstance& cimInstance);
  
     /**     /**
        * Builds a SCMOInstance from the given SCMOClass and copies all
        * CIMObjectPath data into the new SCMOInstance.
        * @param baseClass The SCMOClass of this instance.
        * @param cimInstance A CIMObjectpath of the same class.
        * @exception Exception if class name and name space does not match.
        * @exception
        *     Exception if CIMInstance has more key bindings then the SCMOClass.
        * @exception
        *     Exception if a key binding is not found as a key property
        *     of the SCMOClass.
        * @exception Exception if a key binding does not match
        *     the class definition.
        */
       SCMOInstance(SCMOClass baseClass, const CIMObjectPath& cimObj);
   
       /**
      * Converts the SCMOInstance into a CIMInstance.      * Converts the SCMOInstance into a CIMInstance.
      * It is a deep copy of the SCMOInstance into the CIMInstance.      * It is a deep copy of the SCMOInstance into the CIMInstance.
      * @param cimInstance An empty CIMInstance.      * @param cimInstance An empty CIMInstance.
Line 119 
Line 145 
     /**     /**
      * Makes a deep copy of the instance.      * Makes a deep copy of the instance.
      * This creates a new copy of the instance.      * This creates a new copy of the instance.
        * @param objectPathOnly If set to true, only the object path relevant parts
        *     host name and key bindings are part of the cloned instance.
      * @return A new copy of the SCMOInstance object.      * @return A new copy of the SCMOInstance object.
      */      */
     SCMOInstance clone() const;      SCMOInstance clone(Boolean objectPathOnly = false) const;
  
     /**     /**
      * Returns the number of properties of the instance.      * Returns the number of properties of the instance.
Line 479 
Line 507 
         Boolean isArray,         Boolean isArray,
         Uint32 size);         Uint32 size);
  
       void _setCIMValueAtNodeIndex(Uint32 node, CIMValueRep* valRep);
   
       void _setCIMObjectPath(const CIMObjectPath& cimObj);
   
     void* _getSCMBUnion(     void* _getSCMBUnion(
         CIMType type,         CIMType type,
         Boolean isArray,         Boolean isArray,
Line 493 
Line 525 
         Uint32 size,         Uint32 size,
         Uint64 start);         Uint64 start);
  
       static void _setUnionValue(
           Uint64 start,
           SCMBMgmt_Header** pmem,
           CIMType type,
           Union& u);
   
       static void _setArrayValue(
           Uint64 start,
           SCMBMgmt_Header** pmem,
           CIMType type,
           Uint32& n,
           Union& u);
   
     SCMO_RC _getKeyBindingAtNodeIndex(     SCMO_RC _getKeyBindingAtNodeIndex(
         Uint32 pos,         Uint32 pos,
         const char** pname,         const char** pname,
         CIMKeyBinding::Type& ptype,         CIMKeyBinding::Type& ptype,
         const char** pvalue) const;         const char** pvalue) const;
  
       void _copyKeyBindings(SCMOInstance& targetInst) const;
   
     Uint32 _initPropFilterWithKeys();     Uint32 _initPropFilterWithKeys();
  
     void _setPropertyInPropertyFilter(Uint32 i);     void _setPropertyInPropertyFilter(Uint32 i);


Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2