指定した構文エレメントの値を取得するための関数。
CciSize cpiElementBitArrayValue( int* returnCode, CciElement* targetElement, const struct CciBitArray* value);
CciBool cpiElementBooleanValue( int* returnCode, CciElement* targetElement);
CciSize cpiElementByteArrayValue( int* returnCode, CciElement* targetElement, const struct CciByteArray* value);
CciSize cpiElementCharacterValue( int* returnCode, CciElement* targetElement, const CciChar* value, CciSize length);
struct CciDate cpiElementDateValue( int* returnCode, CciElement* targetElement);
CciSize cpiElementDecimalValue( int* returnCode, CciElement* targetElement, const CciChar* value, CciSize length);
struct CciTimestamp cpiElementGmtTimestampValue( int* returnCode, CciElement* targetElement);
struct CciTime cpiElementGmtTimeValue( int* returnCode, CciElement* targetElement);
CciInt cpiElementIntegerValue( int* returnCode, CciElement* targetElement);
CciReal cpiElementRealValue( int* returnCode, CciElement* targetElement);
struct CciTimestamp cpiElementTimestampValue( int* returnCode, CciElement* targetElement);
struct CciTime cpiElementTimeValue( int* returnCode, CciElement* targetElement);
エレメントの値が戻されます。
例えば cpiElementCharacterValue または cpiElementDecimalValue などで、 バッファーの大きさが不十分でデータを受け取れない場合、 このデータがバッファーに書き込まれることはありません。 必要なバッファーのサイズが戻り値として渡され、returnCode は CCI_BUFFER_TOO_SMALL に設定されます。
エラーが発生した場合、returnCode がエラーの理由を示します。