logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CMPIObjectPath - CMPIObjectPath class implementation

Description

       Native CMPIObjectPath implementation.

       This  is  the  native  CMPIObjectPath  implementation as used for remote providers. It reflects the well-
       defined interface of a regular CMPIObjectPath,  however,  it  works  independently  from  the  management
       broker.

       It  is part of a native broker implementation that simulates CMPI data types rather than interacting with
       the entities in a full-grown CIMOM.

Examples

CMPIString*namespace=objpath->ft->getNameSpace(objectpath,NULL);CMPIString*classname=objpath->ft->getClassName(objectpath,NULL);intnumkeys=objectpath->ft->getKeyCount(objectpath,NULL);

Methods

CMPIStatus(* release )(CMPIObjectPath *op)
       TheObjectPathobjectwillnotbeusedanyfurtherandmaybefreedbyCMPIruntimesystem.CMPIObjectPath *(* clone )(CMPIObjectPath *op, CMPIStatus *rc)
       CreateanindependentcopyofthisObjectPathobject.CMPIStatus(* setNameSpace )(CMPIObjectPath *op, const char *ns)
       Set/replacethenamespacecomponent.CMPIString *(* getNameSpace )(CMPIObjectPath *op, CMPIStatus *rc)
       Getthenamespacecomponent.CMPIStatus(* setHostname )(CMPIObjectPath *op, const char *hn)
       Set/replacethehostnamecomponent.CMPIString *(* getHostname )(CMPIObjectPath *op, CMPIStatus *rc)
       Getthehostnamecomponent.CMPIStatus(* setClassName )(CMPIObjectPath *op, const char *cn)
       Set/replacetheclassnamecomponent.CMPIString *(* getClassName )(CMPIObjectPath *op, CMPIStatus *rc)
       Gettheclassnamecomponent.CMPIStatus(* addKey )(CMPIObjectPath *op, const char *name, CMPIValue *value, CMPIType type)
       Adds/replacesanamedkeyproperty.CMPIData(* getKey )(CMPIObjectPath *op, const char *name, CMPIStatus *rc)
       Getsanamedkeypropertyvalue.CMPIData(* getKeyAt )(CMPIObjectPath *op, unsigned int index, CMPIString **name, CMPIStatus *rc)
       Getsakeypropertyvaluedefinedbyitsindex.
   unsigned int(* getKeyCount )(CMPIObjectPath *op, CMPIStatus *rc)
       GetsthenumberofkeypropertiescontainedinthisObjectPath.CMPIStatus(* setNameSpaceFromObjectPath )(CMPIObjectPath *op, CMPIObjectPath *src)
       Set/replacenamespaceandclassnamecomponentsfrom<src>.CMPIStatus(* setHostAndNameSpaceFromObjectPath )(CMPIObjectPath *op, CMPIObjectPath *src)
       Set/replacehostname,namespaceandclassnamecomponentsfrom<src>.CMPIData(* getClassQualifier )(CMPIObjectPath *op, const char *qName, CMPIStatus *rc)
       Getclassqualifiervalue.CMPIData(* getPropertyQualifier )(CMPIObjectPath *op, const char *pName, const char *qName, CMPIStatus *rc)
       Getpropertyqualifiervalue.CMPIData(*  getMethodQualifier  )(CMPIObjectPath  *op,  const char *methodName, const char *qName, CMPIStatus
       *rc)
       Getmethodqualifiervalue.CMPIData(* getParameterQualifier )(CMPIObjectPath *op, const char  *mName,  const  char  *pName,  const  char
       *qName, CMPIStatus *rc)
       Getmethodparameterquailifiervalue.CMPIString *(* toString )(CMPIObjectPath *op, CMPIStatus *rc)
       GeneratesawellformedstringrepresentationofthisObjectPath.

Name

       CMPIObjectPath - CMPIObjectPath class implementation

See Also

       Common Manageability Programming Interface (CMPI) - OpenGroup

sfcc                                               2005-06-09                                  CMPIOBJECTPATH(3)

Synopsis

PublicAttributes
       int void*hdl
           Opaque pointer to class instance data.
       CMPIObjectPathFT * ftPointertotheArgsFunctionTable.

See Also