#include <polarity_ldb.hpp>
|
| PolarityLDB (const dbItem &db_item, const std::string table_name=std::string(), bool is_rewrite=true) |
|
| ~PolarityLDB () |
|
bool | load (PolarityVec &pol_vec) |
|
bool | save (const PolarityVec &pol_vec, int *saved_db_line=0x0) |
|
void | setDbItem (const dbItem &db_item) |
|
const dbItem & | getDbItem () const |
|
void | setTableName (const std::string &table_name) |
|
const std::string & | getTableName () const |
|
void | setRewriteFlag (bool rewrite) |
|
bool | getRewriteFlag () const |
|
LDB i/o object for polarity table
PolarityLDB::PolarityLDB |
( |
const dbItem & |
db_item, |
|
|
const std::string |
table_name = std::string() , |
|
|
bool |
is_rewrite = true |
|
) |
| |
Default constructor with ldb item, table name and rewrite flag provided.
PolarityLDB::~PolarityLDB |
( |
| ) |
|
bool PolarityLDB::load |
( |
PolarityVec & |
pol_vec | ) |
|
Load table from LDB item into provided polarity table. Return false on error.
bool PolarityLDB::save |
( |
const PolarityVec & |
pol_vec, |
|
|
int * |
saved_db_line = 0x0 |
|
) |
| |
Save provided polarity into LDB item. May return line where item was saved. Return false on error.
bool PolarityLDB::m_b_rewrite |
|
protected |
std::string PolarityLDB::m_table_name |
|
protected |
The documentation for this class was generated from the following file: