SAValue
Subsidiary class. More...
Inherits SAValueRead.
Inherited by SAParam.
Public Member Functions | |
void | setAsNull () |
Sets value as null. | |
void | setAsDefault () |
Sets a flag to use default value. | |
bool | isDefault () const |
Shows if "default value" flag is set. | |
void | setAsUnknown () |
Sets the value type as unknown. | |
bool & | setAsBool () |
Sets the value as bool data. | |
short & | setAsShort () |
Sets the value as short integer data. | |
unsigned short & | setAsUShort () |
Sets the value as unsigned short integer data. | |
long & | setAsLong () |
Sets the value as long integer data. | |
unsigned long & | setAsULong () |
Sets the value as unsigned long integer data. | |
sa_int64_t & | setAsInt64 () |
Sets the value as 64-bit integer data. | |
sa_uint64_t & | setAsUInt64 () |
Sets the value as unsigned 64-bit integer data. | |
double & | setAsDouble () |
Sets the value as double precision data. | |
SANumeric & | setAsNumeric () |
Sets the value as SANumeric data. | |
SADateTime & | setAsDateTime () |
Sets the value as SADateTime data. | |
SAInterval & | setAsInterval () |
Sets the value as SAInterval data. | |
SAString & | setAsString () |
Sets value as character string data (SAString). | |
SAString & | setAsBytes () |
Sets value as binary string data (SAString). | |
SAString & | setAsLongBinary (saLongOrLobWriter_t fnWriter=NULL, size_t nWriterSize=0, void *pAddlData=NULL) |
Sets value as long binary data (SAString). | |
SAString & | setAsLongChar (saLongOrLobWriter_t fnWriter=NULL, size_t nWriterSize=0, void *pAddlData=NULL) |
Sets value as long character data (SAString). | |
SAString & | setAsBLob (saLongOrLobWriter_t fnWriter=NULL, size_t nWriterSize=0, void *pAddlData=NULL) |
Sets parameter's value as BLob data (SAString). | |
SAString & | setAsCLob (saLongOrLobWriter_t fnWriter=NULL, size_t nWriterSize=0, void *pAddlData=NULL) |
Sets parameter's value as CLob data (SAString). | |
SACommand *& | setAsCursor () |
Sets value as a pointer to SACommand object. | |
![]() | |
SAValueRead (SADataType_t eDataType) | |
Initializes the object with specified data type. | |
SAValueRead (const SAValueRead &vr) | |
Copy constructor. | |
SAValueRead & | operator= (const SAValueRead &vr) |
Copy operator. | |
SADataType_t | DataType () const |
Returns the object's data type. | |
bool | isNull () const |
Returns true if the value of current object is NULL; otherwise false. | |
void | setLongOrLobReaderMode (SALongOrLobReaderModes_t eMode) |
Sets Long or Lob data reading mode. | |
SALongOrLobReaderModes_t | LongOrLobReaderMode () const |
Returns Long or Lob data reading mode. | |
bool | asBool () const |
Returns the value of current object. More... | |
short | asShort () const |
Returns the value of current object. More... | |
unsigned short | asUShort () const |
Returns the value of current object. More... | |
long | asLong () const |
Returns the value of current object. More... | |
unsigned long | asULong () const |
Returns the value of current object. More... | |
sa_int64_t | asInt64 () const |
Returns the value of current object. More... | |
sa_uint64_t | asUInt64 () const |
Returns the value of current object. More... | |
double | asDouble () const |
Returns the value of current object. More... | |
SANumeric | asNumeric () const |
Returns the value of current object. More... | |
SADateTime | asDateTime () const |
Returns the value of current object. More... | |
SAInterval | asInterval () const |
Returns the value of current object. More... | |
SAString | asString () const |
Returns the value of current object. More... | |
SAString | asBytes () const |
Returns the value of current object. More... | |
SAString | asLongBinary () const |
Returns the value of current object. More... | |
SAString | asLongChar () const |
Returns the value of current object. More... | |
SAString | asBLob () const |
Returns the value of current object. More... | |
SAString | asCLob () const |
Returns the value of current object. More... | |
SACommand * | asCursor () const |
Returns the value of current object. More... | |
operator bool () const | |
Returns the value of current object. More... | |
operator short () const | |
Returns the value of current object. More... | |
operator unsigned short () const | |
Returns the value of current object. More... | |
operator long () const | |
Returns the value of current object. More... | |
operator unsigned long () const | |
Returns the value of current object. More... | |
operator sa_int64_t () const | |
Returns the value of current object. More... | |
operator sa_uint64_t () const | |
Returns the value of current object. More... | |
operator double () const | |
Returns the value of current object. More... | |
operator SANumeric () const | |
Returns the value of current object. More... | |
operator SADateTime () const | |
Returns the value of current object. More... | |
operator SAInterval () const | |
Returns the value of current object. More... | |
operator SAString () const | |
Returns the value of current object. More... | |
operator SACommand * () const | |
Returns the value of current object. More... | |