13(2005-06-09) 3(2005-06-09)
2
3
4
6 CMPIObjectPath - CMPIObjectPath class implementation
7
9 Public Attributes
10 int void * hdl
11 Opaque pointer to class instance data.
12 CMPIObjectPathFT * ft
13 Pointer to the Args Function Table.
14
16 CMPIStatus(* release )(CMPIObjectPath *op)
17 The ObjectPath object will not be used any further and may be freed by
18 CMPI run time system.
19 CMPIObjectPath *(* clone )(CMPIObjectPath *op, CMPIStatus *rc)
20 Create an independent copy of this ObjectPath object.
21 CMPIStatus(* setNameSpace )(CMPIObjectPath *op, const char *ns)
22 Set/replace the namespace component.
23 CMPIString *(* getNameSpace )(CMPIObjectPath *op, CMPIStatus *rc)
24 Get the namespace component.
25 CMPIStatus(* setHostname )(CMPIObjectPath *op, const char *hn)
26 Set/replace the hostname component.
27 CMPIString *(* getHostname )(CMPIObjectPath *op, CMPIStatus *rc)
28 Get the hostname component.
29 CMPIStatus(* setClassName )(CMPIObjectPath *op, const char *cn)
30 Set/replace the classname component.
31 CMPIString *(* getClassName )(CMPIObjectPath *op, CMPIStatus *rc)
32 Get the classname component.
33 CMPIStatus(* addKey )(CMPIObjectPath *op, const char *name, CMPIValue
34 *value, CMPIType type)
35 Adds/replaces a named key property.
36 CMPIData(* getKey )(CMPIObjectPath *op, const char *name, CMPIStatus *rc)
37 Gets a named key property value.
38 CMPIData(* getKeyAt )(CMPIObjectPath *op, unsigned int index, CMPIString
39 **name, CMPIStatus *rc)
40 Gets a key property value defined by its index.
41 unsigned int(* getKeyCount )(CMPIObjectPath *op, CMPIStatus *rc)
42 Gets the number of key properties contained in this ObjectPath.
43 CMPIStatus(* setNameSpaceFromObjectPath )(CMPIObjectPath *op, CMPIObject‐
44 Path *src)
45 Set/replace namespace and classname components from <src>.
46 CMPIStatus(* setHostAndNameSpaceFromObjectPath )(CMPIObjectPath *op, CMPI‐
47 ObjectPath *src)
48 Set/replace hostname, namespace and classname components from <src>.
49 CMPIData(* getClassQualifier )(CMPIObjectPath *op, const char *qName, CMP‐
50 IStatus *rc)
51 Get class qualifier value.
52 CMPIData(* getPropertyQualifier )(CMPIObjectPath *op, const char *pName,
53 const char *qName, CMPIStatus *rc)
54 Get property qualifier value.
55 CMPIData(* getMethodQualifier )(CMPIObjectPath *op, const char *methodName,
56 const char *qName, CMPIStatus *rc)
57 Get method qualifier value.
58 CMPIData(* getParameterQualifier )(CMPIObjectPath *op, const char *mName,
59 const char *pName, const char *qName, CMPIStatus *rc)
60 Get method parameter quailifier value.
61 CMPIString *(* toString )(CMPIObjectPath *op, CMPIStatus *rc)
62 Generates a well formed string representation of this ObjectPath.
63
65 Native CMPIObjectPath implementation.
66
67 This is the native CMPIObjectPath implementation as used for remote
68 providers. It reflects the well-defined interface of a regular CMPIOb‐
69 jectPath, however, it works independently from the management broker.
70
71 It is part of a native broker implementation that simulates CMPI data
72 types rather than interacting with the entities in a full-grown CIMOM.
73
75 CMPIString * namespace = objpath->ft->getNameSpace(objectpath, NULL);
76 CMPIString * classname = objpath->ft->getClassName(objectpath, NULL);
77 int numkeys = objectpath->ft->getKeyCount(objectpath, NULL);
78
79
81 Common Manageability Programming Interface (CMPI) - OpenGroup
82
83
84
85SFCBroker Client Library sfcc 3(2005-06-09)