IBR-DTNSuite  0.12
dtn::storage::SQLiteDatabase::Statement Class Reference

#include <SQLiteDatabase.h>

Collaboration diagram for dtn::storage::SQLiteDatabase::Statement:
Collaboration graph

Public Member Functions

 Statement (sqlite3 *database, const std::string &)
 
 ~Statement ()
 
sqlite3_stmt * operator* ()
 
void prepare () throw (SQLiteQueryException)
 
void reset () throw ()
 
int step () throw (SQLiteQueryException)
 

Detailed Description

Definition at line 170 of file SQLiteDatabase.h.

Constructor & Destructor Documentation

dtn::storage::SQLiteDatabase::Statement::Statement ( sqlite3 *  database,
const std::string &  query 
)

Definition at line 138 of file SQLiteDatabase.cpp.

References prepare().

Here is the call graph for this function:

dtn::storage::SQLiteDatabase::Statement::~Statement ( )

Definition at line 144 of file SQLiteDatabase.cpp.

Member Function Documentation

sqlite3_stmt * dtn::storage::SQLiteDatabase::Statement::operator* ( )

Definition at line 151 of file SQLiteDatabase.cpp.

void dtn::storage::SQLiteDatabase::Statement::prepare ( )
throw (SQLiteQueryException
)

Definition at line 191 of file SQLiteDatabase.cpp.

Referenced by Statement().

void dtn::storage::SQLiteDatabase::Statement::reset ( )
throw (
)

Definition at line 156 of file SQLiteDatabase.cpp.

Referenced by dtn::storage::SQLiteDatabase::iterateAll().


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