(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.10 and 1.1.2.11

version 1.1.2.10, 2009/08/17 13:47:46 version 1.1.2.11, 2009/09/03 13:54:05
Line 206 
Line 206 
         Uint32& size ) const;         Uint32& size ) const;
  
     /**     /**
        * Gets the property name, type, and value addressed by a positional index.
        * The property name and value has to be copied by the caller !
        * @param pos The positional index of the property
        * @param pname Returns the property name as '\0' terminated string.
        *              Has to be copied by caller.
        *              It is set to NULL if rc != SCMO_OK.
        * @param value Returns an absolute pointer to the value of property.
        *                  Sub-pointers are NOT resolved!
        *               The value has to be copied by the caller !
        *               It returns NULL if rc != SCMO_OK.
        *               If the value is an array, the
        *               value array is stored in continuous memory.
        *               e.g. If the CIMType is CIMTYPE_UINT32:
        *               value = (void*)Uint32[0 to size-1]
        *               If it is an array of CIMTYPE_STRING, an array
        *               of char* to the string values is returned.
        *               This array has to be freed by the caller !
        * @param valueBase Returns an absolute pointer to the base of value,
        *                  because subsequent pointers in the value are NOT
        *                  resolved.
        * @param propDef Returns an absolute pointer to the property definition
        *                  Sub-pointers are NOT resolved!
        *             It is invalid if rc == SCMO_INDEX_OUT_OF_BOUND.
        *
        * @return     SCMO_OK
        *             SCMO_NULL_VALUE : The value is a null value.
        *             SCMO_INDEX_OUT_OF_BOUND : Given index not found
        *
        */
       SCMO_RC getPropertyAt(
           Uint32 pos,
           SCMBValue** value,
           const char ** valueBase,
           SCMBClassProperty ** propDef) const;
   
       /**
      * Gets the type and value of the named property.      * Gets the type and value of the named property.
      * The value has to be copied by the caller !      * The value has to be copied by the caller !
      * @param name The property name      * @param name The property name
Line 409 
Line 445 
      * Gets the key binding count.      * Gets the key binding count.
      * @return the number of key bindings set.      * @return the number of key bindings set.
      */      */
     Uint32 getKeyBindingCount();      Uint32 getKeyBindingCount() const;
  
     /**     /**
      * Get the indexed key binding.      * Get the indexed key binding.
Line 475 
Line 511 
     void setHostName(const char* hostName);     void setHostName(const char* hostName);
  
     /**     /**
      * Get the class name of the instance. The cabler has to make a copy !       * Get the class name of the instance. The caller has to make a copy !
      * @return The class name as UTF8.      * @return The class name as UTF8.
      */      */
     const char* getClassName() const;     const char* getClassName() const;
  
     /**     /**
        * Get the class name of the instance. The caller has to make a copy !
        * @return The class name as UTF8. Return length of result string.
        */
       const char* getClassName_l(Uint64 & length) const;
   
       /**
      * Get the name space of the instance. The caller has to make a copy !      * Get the name space of the instance. The caller has to make a copy !
      * @return The name space as UTF8.      * @return The name space as UTF8.
      */      */
Line 616 
Line 658 
         CIMKeyBinding::Type& ptype,         CIMKeyBinding::Type& ptype,
         const char** pvalue) const;         const char** pvalue) const;
  
       SCMO_RC _getKeyBindingAtNodeIndex_l(
           Uint32 node,
           const char** pname,
           Uint32 & pnameLen,
           CIMKeyBinding::Type& type,
           const char** pvalue,
           Uint32 & pvalueLen) const;
   
     void _copyKeyBindings(SCMOInstance& targetInst) const;     void _copyKeyBindings(SCMOInstance& targetInst) const;
  
     Uint32 _initPropFilterWithKeys();     Uint32 _initPropFilterWithKeys();
Line 642 
Line 692 
  
     friend class SCMOClass;     friend class SCMOClass;
     friend class SCMODump;     friend class SCMODump;
       friend class SCMOXmlWriter;
 }; };
  
  


Legend:
Removed from v.1.1.2.10  
changed lines
  Added in v.1.1.2.11

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2