3(2005-06-09)
π NAME π
CMPIObjectPath β the CMPIObjectPath class implementation, bestie. It's giving object path royalty. π
β¨ SYNOPSIS β¨
πΈ Public Attributes πΈ
int void * hdlβ an opaque pointer to the class instance data. iykyk, you don't peek inside, you just hold it. πCMPIObjectPathFT * ftβ a pointer to the Args Function Table. This is the plug you pull every single method through, no cap. π
π¦ METHODS π¦
Okay so every one of these lives on the function table, so you call them like op->ft->whatever(...). Let's go, one by one, nothing skipped:
CMPIStatus(* release )(CMPIObjectPath *op)β tells the world you're done with this ObjectPath object forever, and the CMPI run time system is free to yeet it. Bye babe π«ΆCMPIObjectPath *(* clone )(CMPIObjectPath *op, CMPIStatus *rc)β makes a fully independent copy of this ObjectPath object. Not a situationship copy, a real independent one. β¨CMPIStatus(* setNameSpace )(CMPIObjectPath *op, const char *ns)β sets or replaces the namespace component. glow-up forns. πCMPIString *(* getNameSpace )(CMPIObjectPath *op, CMPIStatus *rc)β hands you the namespace component back.CMPIStatus(* setHostname )(CMPIObjectPath *op, const char *hn)β sets or replaces the hostname component. hihnπCMPIString *(* getHostname )(CMPIObjectPath *op, CMPIStatus *rc)β gets the hostname component.CMPIStatus(* setClassName )(CMPIObjectPath *op, const char *cn)β sets or replaces the classname component. main character behavior tbh. πCMPIString *(* getClassName )(CMPIObjectPath *op, CMPIStatus *rc)β gets the classname component.CMPIStatus(* addKey )(CMPIObjectPath *op, const char *name, CMPIValue *value, CMPIType type)β adds or replaces a named key property. new key dropped, slay πCMPIData(* getKey )(CMPIObjectPath *op, const char *name, CMPIStatus *rc)β gets the value of a named key property.CMPIData(* getKeyAt )(CMPIObjectPath *op, unsigned int index, CMPIString **name, CMPIStatus *rc)β gets a key property value by itsindex, like pulling a card out of the deck. πunsigned int(* getKeyCount )(CMPIObjectPath *op, CMPIStatus *rc)β tells you how many key properties this ObjectPath is carrying. headcount, fr fr π’CMPIStatus(* setNameSpaceFromObjectPath )(CMPIObjectPath *op, CMPIObjectPath *src)β sets or replaces the namespace and classname components, taking them fromsrc. π§CMPIStatus(* setHostAndNameSpaceFromObjectPath )(CMPIObjectPath *op, CMPIObjectPath *src)β sets or replaces the hostname, namespace and classname components, all fromsrc. the full package. πCMPIData(* getClassQualifier )(CMPIObjectPath *op, const char *qName, CMPIStatus *rc)β gets a class qualifier value.CMPIData(* getPropertyQualifier )(CMPIObjectPath *op, const char *pName, const char *qName, CMPIStatus *rc)β gets a property qualifier value.CMPIData(* getMethodQualifier )(CMPIObjectPath *op, const char *methodName, const char *qName, CMPIStatus *rc)β gets a method qualifier value.CMPIData(* getParameterQualifier )(CMPIObjectPath *op, const char *mName, const char *pName, const char *qName, CMPIStatus *rc)β gets a method parameter quailifier value. (yes, the original says quailifier, we love her, typo and all π₯Ή)CMPIString *(* toString )(CMPIObjectPath *op, CMPIStatus *rc)β generates a well formed string representation of this ObjectPath. your fave in string form, iconic. π
π DESCRIPTION π
Native CMPIObjectPath implementation. periodt.
This is the native CMPIObjectPath implementation, the one used for remote providers. It reflects the well-defined interface of a regular CMPIObjectPath, but plot twist: 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. like, it's cosplaying the data types instead of actually talking to the whole big system. π¦
π Examples π
here's the vibe in code, bestie β copy it exactly, no notes:
CMPIString * namespace = objpath->ft->getNameSpace(objectpath, NULL);
CMPIString * classname = objpath->ft->getClassName(objectpath, NULL);
int numkeys = objectpath->ft->getKeyCount(objectpath, NULL);
see how the NULL is just chilling in the rc slot? that's the energy. β¨
π SEE ALSO π
- Common Manageability Programming Interface (CMPI) - OpenGroup
that's the whole page, babe π this one came from the SFCBroker Client Library, version sfcc, manual section 3, dated 2005-06-09. ancient. iconic. we stan a legacy page. π«Άβ¨
π¦ where this page comes from
- centos-stream 10: sblim-sfcc 2.2.8-28.el10 Β· EPL-1.0
- centos-stream 9: sblim-sfcc 2.2.8-18.el9 Β· EPL-1.0
- centos-stream 9: sblim-sfcc 2.2.8-18.el9 Β· EPL-1.0
- fedora 43: sblim-sfcc 2.2.8-29.fc43 Β· EPL-1.0
- fedora 43: sblim-sfcc 2.2.8-29.fc43 Β· EPL-1.0
- fedora 44: sblim-sfcc 2.2.8-30.fc44 Β· EPL-1.0
- fedora 44: sblim-sfcc 2.2.8-30.fc44 Β· EPL-1.0
- nixos 26.05: sblim-sfcc 2.2.8-unstable-2023-06-26
- nixpkgs unstable: sblim-sfcc 2.2.8-unstable-2023-06-26
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms