tntdb::sqlite::Statement Class Reference

#include <tntdb/sqlite/impl/statement.h>

Inheritance diagram for tntdb::sqlite::Statement:
tntdb::IStatement cxxtools::SimpleRefCounted

Public Member Functions

 Statement (Connection *conn, const std::string &query)
 ~Statement ()
virtual void clear ()
virtual void setNull (const std::string &col)
virtual void setBool (const std::string &col, bool data)
virtual void setShort (const std::string &col, short data)
virtual void setInt (const std::string &col, int data)
virtual void setLong (const std::string &col, long data)
virtual void setUnsignedShort (const std::string &col, unsigned short data)
virtual void setUnsigned (const std::string &col, unsigned data)
virtual void setUnsignedLong (const std::string &col, unsigned long data)
virtual void setInt32 (const std::string &col, int32_t data)
virtual void setUnsigned32 (const std::string &col, uint32_t data)
virtual void setInt64 (const std::string &col, int64_t data)
virtual void setUnsigned64 (const std::string &col, uint64_t data)
virtual void setDecimal (const std::string &col, const Decimal &data)
virtual void setFloat (const std::string &col, float data)
virtual void setDouble (const std::string &col, double data)
virtual void setChar (const std::string &col, char data)
virtual void setString (const std::string &col, const std::string &data)
virtual void setBlob (const std::string &col, const Blob &data)
virtual void setDate (const std::string &col, const Date &data)
virtual void setTime (const std::string &col, const Time &data)
virtual void setDatetime (const std::string &col, const Datetime &data)
virtual size_type execute ()
virtual tntdb::Result select ()
virtual tntdb::Row selectRow ()
virtual tntdb::Value selectValue ()
virtual ICursorcreateCursor (unsigned fetchsize)
sqlite3_stmt * getStmt () const
void putback (sqlite3_stmt *stmt)
- Public Member Functions inherited from tntdb::IStatement
virtual void setUString (const std::string &col, const cxxtools::String &data)
- Public Member Functions inherited from cxxtools::SimpleRefCounted
 SimpleRefCounted ()
 SimpleRefCounted (unsigned refs_)
virtual ~SimpleRefCounted ()
virtual unsigned addRef ()
virtual unsigned release ()
unsigned refs () const

Additional Inherited Members

- Public Types inherited from tntdb::IStatement
typedef unsigned size_type

Constructor & Destructor Documentation

tntdb::sqlite::Statement::Statement ( Connection conn,
const std::string &  query 
)
tntdb::sqlite::Statement::~Statement ( )

Member Function Documentation

virtual void tntdb::sqlite::Statement::clear ( )
virtual

Implements tntdb::IStatement.

virtual ICursor* tntdb::sqlite::Statement::createCursor ( unsigned  fetchsize)
virtual

Implements tntdb::IStatement.

virtual size_type tntdb::sqlite::Statement::execute ( )
virtual

Implements tntdb::IStatement.

sqlite3_stmt* tntdb::sqlite::Statement::getStmt ( ) const
inline
void tntdb::sqlite::Statement::putback ( sqlite3_stmt *  stmt)
virtual tntdb::Result tntdb::sqlite::Statement::select ( )
virtual

Implements tntdb::IStatement.

virtual tntdb::Row tntdb::sqlite::Statement::selectRow ( )
virtual

Implements tntdb::IStatement.

virtual tntdb::Value tntdb::sqlite::Statement::selectValue ( )
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setBlob ( const std::string &  col,
const Blob data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setBool ( const std::string &  col,
bool  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setChar ( const std::string &  col,
char  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setDate ( const std::string &  col,
const Date data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setDatetime ( const std::string &  col,
const Datetime data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setDecimal ( const std::string &  col,
const Decimal data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setDouble ( const std::string &  col,
double  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setFloat ( const std::string &  col,
float  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setInt ( const std::string &  col,
int  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setInt32 ( const std::string &  col,
int32_t  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setInt64 ( const std::string &  col,
int64_t  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setLong ( const std::string &  col,
long  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setNull ( const std::string &  col)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setShort ( const std::string &  col,
short  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setString ( const std::string &  col,
const std::string &  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setTime ( const std::string &  col,
const Time data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setUnsigned ( const std::string &  col,
unsigned  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setUnsigned32 ( const std::string &  col,
uint32_t  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setUnsigned64 ( const std::string &  col,
uint64_t  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setUnsignedLong ( const std::string &  col,
unsigned long  data 
)
virtual

Implements tntdb::IStatement.

virtual void tntdb::sqlite::Statement::setUnsignedShort ( const std::string &  col,
unsigned short  data 
)
virtual

Implements tntdb::IStatement.


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