Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric

Enums and Typedefs

Usage

Examples

SAValueRead

Construction / Destruction

SAValueRead Constructs a SAValueRead object
~SAValueRead Destructs a SAValueRead object

Methods

DataType Returns value data type

isNull Shows if value is null

asBool

Returns value as bool data; converts if needed

asShort

Returns value as short data; converts if needed

asLong

Returns value as long data; converts if needed

asDouble

Returns value as double data; converts if needed 

asNumeric

Returns value as SANumeric data; converts if needed 

asDateTime

Returns value as SADateTime data; converts if needed 

asString

Returns value as string data (SAString); converts if needed 

asBytes

Returns value as binary string data (SAString); converts if needed   

asLongBinary

Returns value as long binary data (SAString); converts if needed

asLongChar

Returns value as long character data (SAString); converts if needed 
asBLob Returns value as BLob data (SAString); converts if needed 
asCLob Returns value as CLob data (SAString); converts if needed

asCursor Returns value as a pointer to SACommand object 

setLongOrLobReaderMode Sets Long or Lob data reading mode 
LongOrLobReaderMode Gets Long or Lob data reading mode

operator bool()

Substitute asBool method to provide quick access for value.  Returns value as bool data; converts if needed 

operator short()

Substitute asShort method to provide quick access for value.  Returns value as short data; converts if needed 

operator long()

Substitute asLong method to provide quick access for value. Returns value as long data; converts if needed 

operator double()

Substitute asDouble method to provide quick access for  value. Returns value as double data; converts if needed 

operator SANumeric()

Substitute asNumeric method to provide quick access for  value. Returns value as SANumeric data; converts if needed 

operator SADateTime()

Substitute asDateTime method to provide quick access for value. Returns value as SADateTime data; converts if needed 

operator SAString()

Substitute asString method to provide quick access for value. Returns value as string data (SAString); converts if needed

operator SACommand *()

Substitute asCursor method to provide quick access for value. Returns value as a pointer to  SACommand object