Funções para obter o valor do elemento de sintaxe especificado.
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);
O valor do elemento é retornado.
Em alguns casos, por exemplo, cpiElementCharacterValue ou cpiElementDecimalValue, se o buffer não for grande o suficiente para receber os dados, os dados não serão gravados no buffer. O tamanho do buffer necessário é transmitido como o valor de retorno, e returnCode é definido como CCI_BUFFER_TOO_SMALL.
Se ocorrer um erro, returnCode indicará o motivo do erro.