Public Member Functions |
| Attr (Connection &conn) |
void | set (const wreport::Var &var) |
| Set the input fields using the values in a wreport::Var.
|
void | set_value (const char *value) |
| Set the value input field from a string.
|
void | insert (bool replace) |
| Insert an entry into the attr table.
|
void | load (wreport::Var &var) |
| Load from the database all the attributes for var.
|
void | dump (FILE *out) |
| Dump the entire contents of the table to an output stream.
|
Data Fields |
db::Connection & | conn |
| DB connection.
|
db::Statement * | sstm |
| Precompiled select statement.
|
db::Statement * | istm |
| Precompiled insert statement.
|
db::Statement * | rstm |
| Precompiled replace statement.
|
DBALLE_SQL_C_SINT_TYPE | id_context |
| context id SQL parameter
|
wreport::Varcode | id_var |
| variable id SQL parameter
|
wreport::Varcode | type |
| attribute id SQL parameter
|
char | value [255] |
| attribute value SQL parameter
|
SQLLEN | value_ind |
| attribute value indicator
|
Precompiled queries to manipulate the attr table.