これらの関数は、指定した構文エレメントの値を検索します。
CciSize cniElementBitArrayValue( int* returnCode, CciElement* targetElement, const struct CciBitArray* value);
CciBool cniElementBooleanValue( int* returnCode, CciElement* targetElement);
CciSize cniElementByteArrayValue( int* returnCode, CciElement* targetElement, const struct CciByteArray* value);
CciSize cniElementCharacterValue( int* returnCode, CciElement* targetElement, const CciChar* value, CciSize length);
struct CciDate cniElementDateValue( int* returnCode, CciElement* targetElement);
CciSize cniElementDecimalValue( int* returnCode, CciElement* targetElement, const CciChar* value, CciSize length);
struct CciTimestamp cniElementGmtTimestampValue( int* returnCode, CciElement* targetElement);
struct CciTime cniElementGmtTimeValue( int* returnCode, CciElement* targetElement);
CciInt cniElementIntegerValue( int* returnCode, CciElement* targetElement);
CciReal cniElementRealValue( int* returnCode, CciElement* targetElement);
struct CciTimestamp cniElementTimestampValue( int* returnCode, CciElement* targetElement);
struct CciTime cniElementTimeValue( int* returnCode, CciElement* targetElement);
numberOfChars = cniElementCharacterValue( &rc, firstChild, (CciChar*)&elementValue, sizeof(elementValue) ); if (rc==CCI_BUFFER_TOO_SMALL) { free(elementValue); elementValue = (CciChar*)malloc(numberOfChars * sizeof(CciChar)); numberOfChars = cniElementCharacterValue( &rc, firstChild, (CciChar*)&elementValue, sizeof(elementValue)); }