3(2005-06-09)
π CMPIValue β CMPIValue class implementation π
okay bestie, sit down, hydrate, and let's talk about CMPIValue, a section 3 manual page (yes, the library-functions girlies) π
β¨ NAME β¨
CMPIValue β the CMPIValue class implementation π¦
πΈ SYNOPSIS πΈ
π Public Attributes π
so here's the whole cast of characters, every single one, no cuts π₯
CMPIUint64 uint64β the unsigned 64-bit one πCMPIUint32 uint32β unsigned 32-bit, iconicCMPIUint16 uint16β unsigned 16-bit, small but mightyCMPIUint8 uint8β the littlest unsigned, still slayingCMPISint64 sint64β signed 64-bit, main character energyCMPISint32 sint32β signed 32-bit, present and accounted forCMPISint16 sint16β signed 16-bit, doing its thingCMPISint8 sint8β signed 8-bit, tiny legendCMPIReal64 real64β 64-bit real, float but make it fancy π«CMPIReal32 real32β 32-bit real, the little siblingCMPIBoolean booleanβ true or false, no in-between, periodtCMPIChar16 char16β a 16-bit char, living her best lifeCMPIInstance * instβ pointer to aCMPIInstanceπ«ΆCMPIObjectPath * refβ pointer to aCMPIObjectPathCMPIArgs * argsβ pointer toCMPIArgsCMPIEnumeration * Enumβ pointer toCMPIEnumerationCMPIArray * arrayβ pointer toCMPIArrayCMPIString * stringβ pointer toCMPIStringchar * charsβ a rawchar *, unfilteredCMPIDateTime * dateTimeβ pointer toCMPIDateTimeβ°CMPIValuePtr dataPtrβ aCMPIValuePtrCMPISint8 Byteβ signed 8-bit, aliased asByteCMPISint16 Shortβ signed 16-bit, aliased asShortCMPISint32 Intβ signed 32-bit, aliased asIntCMPISint64 Longβ signed 64-bit, aliased asLongCMPIReal32 Floatβ 32-bit real, aliased asFloatCMPIReal64 Doubleβ 64-bit real, aliased asDouble
π METHODS π
the whole method lineup, signature-for-signature, because we do NOT abbreviate here:
void native_release_CMPIValue (CMPIType type, CMPIValue *val)
CMPIValue native_clone_CMPIValue (CMPIType type, CMPIValue *val,
CMPIStatus *rc)
char * pathToChars (CMPIObjectPath *cop, CMPIStatus *rc, char *str, int
uri)
char * value2CharsUri (CMPIType type, CMPIValue *value, int uri)
char * value2Chars (CMPIType type, CMPIValue *value)
char * keytype2Chars (CMPIType type)
CMPIValue * getKeyValueTypePtr (char *type, char *value,
XtokValueReference *ref, CMPIValue *val, CMPIType *typ)
CMPIType guessType (char *val)
CMPIValue str2CMPIValue (CMPIType type, char *val, XtokValueReference
*ref)
native_release_CMPIValueβ hands you avoidand takes aCMPITypeplus aCMPIValue *. the native release one πnative_clone_CMPIValueβ takes the sameCMPITypeandCMPIValue *, plus aCMPIStatus *rc, and gives back aCMPIValue. it's the clone. the native one.pathToCharsβCMPIObjectPath *cop,CMPIStatus *rc,char *str,int uriwalk in, achar *walks out π¦value2CharsUriβCMPIType type,CMPIValue *value,int uriβchar *value2CharsβCMPIType type,CMPIValue *valueβchar *(no uri, she's minimal)keytype2Charsβ oneCMPIType typein, onechar *outgetKeyValueTypePtrβ takeschar *type,char *value,XtokValueReference *ref,CMPIValue *val,CMPIType *typand returns aCMPIValue *guessTypeβchar *valin,CMPITypeout. she guesses. respectfully. πstr2CMPIValueβCMPIType type,char *val,XtokValueReference *refβCMPIValue
π DESCRIPTION π
so this is the CMPIValue class implementation, and what it represents is the Encapsulated value objects β¨
this is the native CMPIValue implementation, the one as used for remote providers. it reflects the well-defined interface of a regular CMPIValue β but plot twist β it works independently from the management broker. she doesn't need the broker's approval, she's self-sufficient π
it's part of a native broker implementation that simulates CMPI data types rather than interacting with the entities in a full-grown CIMOM. yes, she's doing an impression. yes, it's convincing. no cap.
π SEE ALSO π
- Common Manageability Programming Interface (CMPI) - OpenGroup π«Ά
bestie reminder: this is section 3, so it's the library-functions shelf, not the commands shelf. go read it in good health π
and that's the page, mwah π this came to you from the SFCBroker Client Library, sfcc, dated 3(2005-06-09) β an absolute vintage icon, she's been serving since 2005 and she has not missed a day πβ¨π
π¦ 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