#include <cursor.h>
Public Types | |
enum | ParamType { IN = 0, OUT } |
Parameter direction. More... | |
Public Member Functions | |
Parameter (ParamType type, const int pos, const Type &varType, const MetadataHolder &attributes=MetadataHolder::emptyMeta, bool setNull=false) | |
void | preExec (Cursor *cur) |
Notifies the parameter before Cursor::execute() is invoked. | |
void | postExec (Cursor *cur) |
Notifies the parameter after Cursor::execute() call. | |
void | preFetch (Cursor *cur) |
Notifies the parameter before first Cursor::fetchNext() after Cursor::execute() is invoked. | |
void | postFetch (Cursor *cur) |
Notifies the parameter after each Cursor::fetchNext() call. | |
bool | isNullValue () |
Determines if the last fetched value was database NULL. |
Parameter direction.
iopc::Parameter::Parameter | ( | ParamType | type, | |
const int | pos, | |||
const Type & | varType, | |||
const MetadataHolder & | attributes = MetadataHolder::emptyMeta , |
|||
bool | setNull = false | |||
) |