Soar Kernel  9.3.2 08-06-12
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes
soar_module::pooled_sqlite_statement Class Reference

#include <soar_db.h>

Inherits soar_module::sqlite_statement.

Public Member Functions

sqlite_statement_poolget_pool ()
 pooled_sqlite_statement (sqlite_statement_pool *new_pool, sqlite_database *new_db, const char *new_sql, timer *new_query_timer=NULL)
- Public Member Functions inherited from soar_module::sqlite_statement
void bind_double (int param, double val)
void bind_int (int param, int64_t val)
void bind_null (int param)
void bind_text (int param, const char *val)
double column_double (int col)
int64_t column_int (int col)
const char * column_text (int col)
value_type column_type (int col)
 sqlite_statement (sqlite_database *new_db, const char *new_sql, timer *new_query_timer=NULL)
virtual ~sqlite_statement ()
- Public Member Functions inherited from soar_module::statement
void clean ()
exec_result execute (statement_action post_action=op_none)
void prepare ()
void reinitialize ()
void set_timer (timer *new_query_timer)
 statement (const char *new_sql, timer *new_query_timer)
virtual ~statement ()
- Public Member Functions inherited from soar_module::status_object< statement_status >
const char * get_errmsg ()
int get_errno ()
statement_status get_status ()
 status_object ()
virtual ~status_object ()

Protected Attributes

sqlite_statement_poolstmt_pool
- Protected Attributes inherited from soar_module::sqlite_statement
sqlite_databasemy_db
sqlite3_stmtmy_stmt
- Protected Attributes inherited from soar_module::statement
timerquery_timer
const char * sql
- Protected Attributes inherited from soar_module::status_object< statement_status >
char * my_errmsg
int my_errno
statement_status my_status

Additional Inherited Members

- Protected Member Functions inherited from soar_module::sqlite_statement
virtual bool _destroy ()
virtual exec_result _exec ()
virtual bool _prep ()
virtual void _reinit ()
void sqlite_err ()

Detailed Description

Definition at line 533 of file soar_db.h.

Constructor & Destructor Documentation

soar_module::pooled_sqlite_statement::pooled_sqlite_statement ( sqlite_statement_pool new_pool,
sqlite_database new_db,
const char *  new_sql,
timer new_query_timer = NULL 
)
inline

Definition at line 539 of file soar_db.h.

: sqlite_statement( new_db, new_sql, new_query_timer ), stmt_pool( new_pool ) {}

Member Function Documentation

sqlite_statement_pool* soar_module::pooled_sqlite_statement::get_pool ( )
inline

Definition at line 541 of file soar_db.h.

References stmt_pool.

Referenced by epmem_process_query(), and epmem_register_pedges().

{
return stmt_pool;
}

Field Documentation

sqlite_statement_pool* soar_module::pooled_sqlite_statement::stmt_pool
protected

Definition at line 536 of file soar_db.h.

Referenced by get_pool().


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