Base DBMS values storage class. More...
Inherited by SAField, and SAValue.
Public Member Functions | |
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... | |
sa_int32_t | asInt32 () const |
Returns the value of current object. More... | |
sa_uint32_t | asUInt32 () const |
Returns the value of current object. More... | |
sa_int32_t | asLong () const |
Returns the value of current object. More... | |
sa_uint32_t | 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 sa_int32_t () const | |
Returns the value of current object. More... | |
operator sa_uint32_t () 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... | |
Detailed Description
Base DBMS values storage class.
Member Function Documentation
◆ asBool()
bool SAValueRead::asBool | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asShort()
signed short SAValueRead::asShort | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asUShort()
unsigned short SAValueRead::asUShort | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asInt32()
sa_int32_t SAValueRead::asInt32 | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asUInt32()
sa_uint32_t SAValueRead::asUInt32 | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asLong()
sa_int32_t SAValueRead::asLong | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asULong()
sa_uint32_t SAValueRead::asULong | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asInt64()
sa_int64_t SAValueRead::asInt64 | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asUInt64()
sa_uint64_t SAValueRead::asUInt64 | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asDouble()
double SAValueRead::asDouble | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asNumeric()
SANumeric SAValueRead::asNumeric | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asDateTime()
SADateTime SAValueRead::asDateTime | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asInterval()
SAInterval SAValueRead::asInterval | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asString()
SAString SAValueRead::asString | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asBytes()
SAString SAValueRead::asBytes | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asLongBinary()
SAString SAValueRead::asLongBinary | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asLongChar()
SAString SAValueRead::asLongChar | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asBLob()
SAString SAValueRead::asBLob | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asCLob()
SAString SAValueRead::asCLob | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ asCursor()
SACommand * SAValueRead::asCursor | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator bool()
SAValueRead::operator bool | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator short()
SAValueRead::operator short | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator unsigned short()
SAValueRead::operator unsigned short | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator sa_int32_t()
SAValueRead::operator sa_int32_t | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator sa_uint32_t()
SAValueRead::operator sa_uint32_t | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator sa_int64_t()
SAValueRead::operator sa_int64_t | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator sa_uint64_t()
SAValueRead::operator sa_uint64_t | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator double()
SAValueRead::operator double | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator SANumeric()
SAValueRead::operator SANumeric | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator SADateTime()
SAValueRead::operator SADateTime | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator SAInterval()
SAValueRead::operator SAInterval | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator SAString()
SAValueRead::operator SAString | ( | ) | const |
Returns the value of current object.
Converts if needed.
◆ operator SACommand *()
SAValueRead::operator SACommand * | ( | ) | const |
Returns the value of current object.
Converts if needed.