#include <CmpiArray.h>
Inheritance diagram for CmpiArray:
Public Member Functions | |
void | operator= (int x) |
CMPIArray * | getEnc () const |
Gets the encapsulated CMPIArray. | |
void * | makeArray (CMPIBroker *mb, CMPICount max, CMPIType type) |
CmpiArray (CMPICount max, CMPIType type) | |
CmpiArray () | |
CMPICount | size () |
CmpiArrayIdx | operator[] (int idx) |
Friends | |
class | CmpiArrayIdx |
Index operations use the [] operator. Data extraction uses the >> operator. Extraction operations can be appended to an array indexing operation like this:
CmpiString state;
CmpiArray states;
ci.getProperty("States")>>states;
states[3]>>state;
Assignment statements use array indexing operations as well:
states[5]="offline";
Type mismatches will be signalled by exceptions.
Definition at line 91 of file CmpiArray.h.
|
Definition at line 101 of file CmpiArray.h. References CmpiObject::enc, CmpiProviderBase::getBroker(), and makeArray(). |
|
Definition at line 104 of file CmpiArray.h. |
|
Gets the encapsulated CMPIArray.
Definition at line 97 of file CmpiArray.h. References CmpiObject::enc. Referenced by CmpiArrayIdx::operator=(), CmpiArrayIdx::operator>>(), and size(). |
|
Definition at line 465 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIBroker::eft, _CMPIBrokerEncFT::newArray, and _CMPIStatus::rc. Referenced by CmpiArray(). |
|
Definition at line 94 of file CmpiArray.h. |
|
Definition at line 106 of file CmpiArray.h. References CmpiArrayIdx. |
|
Definition at line 472 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIArray::ft, getEnc(), _CMPIArrayFT::getSize, and _CMPIStatus::rc. |
|
Definition at line 92 of file CmpiArray.h. Referenced by operator[](). |