tntdb::Hostvar Class Reference

Helper class to hold a Statement and a column name. More...

#include <tntdb/bits/statement.h>

Public Member Functions

 Hostvar (Statement &stmt, const std::string &name)
StatementgetStatement ()
const std::string & getName ()
void setNull ()
void setBool (bool data)
void setInt (int data)
void setLong (long data)
void setUnsigned (unsigned data)
void setUnsignedLong (unsigned long data)
void setInt32 (int32_t data)
void setUnsigned32 (uint32_t data)
void setInt64 (int64_t data)
void setUnsigned64 (uint64_t data)
void setDecimal (const Decimal &data)
void setFloat (float data)
void setDouble (double data)
void setChar (char data)
void setString (const std::string &data)
void setString (const char *data)
void setUString (const cxxtools::String &data)
void setBlob (const Blob &data)
void setDate (const Date &data)
void setTime (const Time &data)
void setDatetime (const Datetime &data)
template<typename T >
void set (const T &data)

Detailed Description

Helper class to hold a Statement and a column name.

Constructor & Destructor Documentation

tntdb::Hostvar::Hostvar ( Statement stmt,
const std::string &  name 
)
inline

Member Function Documentation

const std::string& tntdb::Hostvar::getName ( )
inline
Statement& tntdb::Hostvar::getStatement ( )
inline
template<typename T >
void tntdb::Hostvar::set ( const T &  data)
void tntdb::Hostvar::setBlob ( const Blob data)
inline
void tntdb::Hostvar::setBool ( bool  data)
inline
void tntdb::Hostvar::setChar ( char  data)
inline
void tntdb::Hostvar::setDate ( const Date data)
inline
void tntdb::Hostvar::setDatetime ( const Datetime data)
inline
void tntdb::Hostvar::setDecimal ( const Decimal data)
inline
void tntdb::Hostvar::setDouble ( double  data)
inline
void tntdb::Hostvar::setFloat ( float  data)
inline
void tntdb::Hostvar::setInt ( int  data)
inline
void tntdb::Hostvar::setInt32 ( int32_t  data)
inline
void tntdb::Hostvar::setInt64 ( int64_t  data)
inline
void tntdb::Hostvar::setLong ( long  data)
inline
void tntdb::Hostvar::setNull ( )
inline
void tntdb::Hostvar::setString ( const std::string &  data)
inline
void tntdb::Hostvar::setString ( const char *  data)
inline
void tntdb::Hostvar::setTime ( const Time data)
inline
void tntdb::Hostvar::setUnsigned ( unsigned  data)
inline
void tntdb::Hostvar::setUnsigned32 ( uint32_t  data)
inline
void tntdb::Hostvar::setUnsigned64 ( uint64_t  data)
inline
void tntdb::Hostvar::setUnsignedLong ( unsigned long  data)
inline
void tntdb::Hostvar::setUString ( const cxxtools::String data)
inline

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