|
int | get_prio (const std::string &memo) |
| Get the priority for a rep_memo.
|
|
void | load (const char *repinfo_file=0) |
| Like update, but it ignores the added, delete and updated stats.
|
|
void | update (const char *deffile, int *added, int *deleted, int *updated) |
| Update the report type information in the database using the data from the given file. More...
|
|
std::map< std::string, int > | get_priorities () const |
| Get a mapping between rep_memo and their priorities.
|
|
void | dump (FILE *out) const |
| Dump contents to a file.
|
|
|
std::map< std::string, int > | priorities |
|
void dballe::db::mem::Repinfo::update |
( |
const char * |
deffile, |
|
|
int * |
added, |
|
|
int * |
deleted, |
|
|
int * |
updated |
|
) |
| |
Update the report type information in the database using the data from the given file.
- Parameters
-
ri | dba_db_repinfo used to update the database |
deffile | Pathname of the file to use for the update. The NULL value is accepted and means to use the default configure repinfo.csv file. |
- Return values
-
added | Number of entries that have been added during the update. |
deleted | Number of entries that have been deleted during the update. |
updated | Number of entries that have been updated during the update. |
The documentation for this class was generated from the following file: