#include <cursor.h>
Public Member Functions | |
EnhancedTypeParameter (ParamType type, const int pos, EnhancedTypeBase &obj, const MetadataHolder &attributes=MetadataHolder::emptyMeta) |
It provides more comfort than SimpleTypeParameter as users need not to provide any pointers, any data type descriptions or allocate any buffers. All these tasks are handled by the Enhanced data types.
iopc::EnhancedTypeParameter::EnhancedTypeParameter | ( | ParamType | type, | |
const int | pos, | |||
EnhancedTypeBase & | obj, | |||
const MetadataHolder & | attributes = MetadataHolder::emptyMeta | |||
) |
type | Parameter direction | |
pos | Position of the parameter in the prepared statement or in the result set, starting from 1. Note that some drivers (like the IopcOracle10g driver) require the OUT parameters to be bound as a sequence so that no positions are skipped. | |
obj | Reference to the value being bound. The reference must be valid as long as the cursor is used. | |
attributes | Additional attributes or driver-dependent data.
|