|
#include <CParams.h>
Public Member Functions | |
| CParamBinding () | |
| Constructor. | |
| void | reset () |
| Resets the binding information. | |
| bool | check (void *stmt, CVariantType type, uint32_t size, void *buffer) |
| Checks if the parameter binding is matching the cached. | |
Stores the last information on parameter binding
| bool sptk::CParamBinding::check | ( | void * | stmt, | |
| CVariantType | type, | |||
| uint32_t | size, | |||
| void * | buffer | |||
| ) | [inline] |
Checks if the parameter binding is matching the cached.
Returns true, if the passed parameters are matching last binding parameters. Returns false and stores new parameters into last binding parameters otherwise.
| stmt | void*, statement handle | |
| type | CVariantType, data type | |
| size | uint32_t, binding buffer size | |
| buffer | void*, binding buffer |