sptk2 logo
SPTK Home Page

sptk::CParamBinding Class Reference
[Database Support]

Parameter Binding descriptor. More...

#include <CParams.h>

List of all members.

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.


Detailed Description

Parameter Binding descriptor.

Stores the last information on parameter binding


Member Function Documentation

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.

Parameters:
stmt void*, statement handle
type CVariantType, data type
size uint32_t, binding buffer size
buffer void*, binding buffer


The documentation for this class was generated from the following file:

Mon Mar 5 11:56:07 2012: SPTK 3.5.7