tntdb::mysql::BindValues Class Reference

#include <tntdb/mysql/bindvalues.h>

Inheritance diagram for tntdb::mysql::BindValues:
tntdb::mysql::BoundRow

Classes

struct  BindAttributes

Public Member Functions

 BindValues (unsigned n)
 BindValues ()
 ~BindValues ()
MYSQL_BIND * getMysqlBind () const
void setSize (unsigned n)
unsigned getSize () const
void setNull (unsigned n)
void setBool (unsigned n, bool data)
void setShort (unsigned n, short data)
void setInt (unsigned n, int data)
void setLong (unsigned n, int data)
void setUnsignedShort (unsigned n, unsigned short data)
void setUnsigned (unsigned n, unsigned data)
void setUnsignedLong (unsigned n, unsigned data)
void setInt32 (unsigned n, int32_t data)
void setUnsigned32 (unsigned n, uint32_t data)
void setInt64 (unsigned n, int64_t data)
void setUnsigned64 (unsigned n, uint64_t data)
void setDecimal (unsigned n, const Decimal &data)
void setFloat (unsigned n, float data)
void setDouble (unsigned n, double data)
void setChar (unsigned n, char data)
void setString (unsigned n, const char *data)
void setString (unsigned n, const std::string &data)
void setBlob (unsigned n, const Blob &data)
void setDate (unsigned n, const Date &data)
void setTime (unsigned n, const Time &data)
void setDatetime (unsigned n, const Datetime &data)
bool isNull (unsigned n) const
bool getBool (unsigned n) const
int getInt (unsigned n) const
unsigned getUnsigned (unsigned n) const
int32_t getInt32 (unsigned n) const
uint32_t getUnsigned32 (unsigned n) const
int64_t getInt64 (unsigned n) const
uint64_t getUnsigned64 (unsigned n) const
Decimal getDecimal (unsigned n) const
long getLong (unsigned n) const
float getFloat (unsigned n) const
double getDouble (unsigned n) const
char getChar (unsigned n) const
void getString (unsigned n, std::string &ret) const
const std::string & getName (unsigned n) const
void initOutBuffer (unsigned n, MYSQL_FIELD &f)
void clear ()

Constructor & Destructor Documentation

tntdb::mysql::BindValues::BindValues ( unsigned  n)
explicit
tntdb::mysql::BindValues::BindValues ( )
tntdb::mysql::BindValues::~BindValues ( )

Member Function Documentation

void tntdb::mysql::BindValues::clear ( )
bool tntdb::mysql::BindValues::getBool ( unsigned  n) const
inline
char tntdb::mysql::BindValues::getChar ( unsigned  n) const
inline
Decimal tntdb::mysql::BindValues::getDecimal ( unsigned  n) const
inline
double tntdb::mysql::BindValues::getDouble ( unsigned  n) const
inline
float tntdb::mysql::BindValues::getFloat ( unsigned  n) const
inline
int tntdb::mysql::BindValues::getInt ( unsigned  n) const
inline
int32_t tntdb::mysql::BindValues::getInt32 ( unsigned  n) const
inline
int64_t tntdb::mysql::BindValues::getInt64 ( unsigned  n) const
inline
long tntdb::mysql::BindValues::getLong ( unsigned  n) const
inline
MYSQL_BIND* tntdb::mysql::BindValues::getMysqlBind ( ) const
inline
const std::string& tntdb::mysql::BindValues::getName ( unsigned  n) const
inline
unsigned tntdb::mysql::BindValues::getSize ( ) const
inline
void tntdb::mysql::BindValues::getString ( unsigned  n,
std::string &  ret 
) const
inline
unsigned tntdb::mysql::BindValues::getUnsigned ( unsigned  n) const
inline
uint32_t tntdb::mysql::BindValues::getUnsigned32 ( unsigned  n) const
inline
uint64_t tntdb::mysql::BindValues::getUnsigned64 ( unsigned  n) const
inline
void tntdb::mysql::BindValues::initOutBuffer ( unsigned  n,
MYSQL_FIELD &  f 
)
bool tntdb::mysql::BindValues::isNull ( unsigned  n) const
inline
void tntdb::mysql::BindValues::setBlob ( unsigned  n,
const Blob data 
)
inline
void tntdb::mysql::BindValues::setBool ( unsigned  n,
bool  data 
)
inline
void tntdb::mysql::BindValues::setChar ( unsigned  n,
char  data 
)
inline
void tntdb::mysql::BindValues::setDate ( unsigned  n,
const Date data 
)
inline
void tntdb::mysql::BindValues::setDatetime ( unsigned  n,
const Datetime data 
)
inline
void tntdb::mysql::BindValues::setDecimal ( unsigned  n,
const Decimal data 
)
inline
void tntdb::mysql::BindValues::setDouble ( unsigned  n,
double  data 
)
inline
void tntdb::mysql::BindValues::setFloat ( unsigned  n,
float  data 
)
inline
void tntdb::mysql::BindValues::setInt ( unsigned  n,
int  data 
)
inline
void tntdb::mysql::BindValues::setInt32 ( unsigned  n,
int32_t  data 
)
inline
void tntdb::mysql::BindValues::setInt64 ( unsigned  n,
int64_t  data 
)
inline
void tntdb::mysql::BindValues::setLong ( unsigned  n,
int  data 
)
inline
void tntdb::mysql::BindValues::setNull ( unsigned  n)
inline
void tntdb::mysql::BindValues::setShort ( unsigned  n,
short  data 
)
inline
void tntdb::mysql::BindValues::setSize ( unsigned  n)
void tntdb::mysql::BindValues::setString ( unsigned  n,
const char *  data 
)
inline
void tntdb::mysql::BindValues::setString ( unsigned  n,
const std::string &  data 
)
inline
void tntdb::mysql::BindValues::setTime ( unsigned  n,
const Time data 
)
inline
void tntdb::mysql::BindValues::setUnsigned ( unsigned  n,
unsigned  data 
)
inline
void tntdb::mysql::BindValues::setUnsigned32 ( unsigned  n,
uint32_t  data 
)
inline
void tntdb::mysql::BindValues::setUnsigned64 ( unsigned  n,
uint64_t  data 
)
inline
void tntdb::mysql::BindValues::setUnsignedLong ( unsigned  n,
unsigned  data 
)
inline
void tntdb::mysql::BindValues::setUnsignedShort ( unsigned  n,
unsigned short  data 
)
inline

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