22 #ifndef NDN_CXX_UTIL_SQLITE3_STATEMENT_HPP 
   23 #define NDN_CXX_UTIL_SQLITE3_STATEMENT_HPP 
   63   bind(
int index, 
const char* value, 
size_t size, 
void(*destructor)(
void*));
 
   74   bind(
int index, 
const std::string& value, 
void(*destructor)(
void*));
 
   86   bind(
int index, 
const void* value, 
size_t size, 
void(*destructor)(
void*));
 
   97   bind(
int index, 
const Block& block, 
void(*destructor)(
void*));
 
  107   bind(
int index, 
int number);
 
  148   operator sqlite3_stmt*();
 
  151   sqlite3_stmt* m_stmt;
 
Represents a TLV element of the NDN packet format.
 
wrap an SQLite3 prepared statement
 
Sqlite3Statement(sqlite3 *database, const std::string &statement)
initialize and prepare Sqlite3 statement
 
int bind(int index, const char *value, size_t size, void(*destructor)(void *))
bind a string to the statement
 
int getInt(int column)
get an integer from column.
 
const uint8_t * getBlob(int column)
get a pointer of byte blob from column.
 
Block getBlock(int column)
get a block from column.
 
~Sqlite3Statement()
finalize the statement
 
int getSize(int column)
get the size of column.
 
int step()
wrapper of sqlite3_step
 
std::string getString(int column)
get a string from column.