22 #ifndef DBALLE_DB_MEM_REPINFO_H
23 #define DBALLE_DB_MEM_REPINFO_H
36 std::map<std::string, int> priorities;
40 int get_prio(
const std::string& memo);
43 void load(
const char* repinfo_file=0);
61 void update(
const char* deffile,
int* added,
int* deleted,
int* updated);
69 void dump(FILE* out)
const;
void dump(FILE *out) const
Dump contents to a file.
std::map< std::string, int > get_priorities() const
Get a mapping between rep_memo and their priorities.
void load(const char *repinfo_file=0)
Like update, but it ignores the added, delete and updated stats.
Copyright (C) 2008–2010 ARPA-SIM urpsim@smr.arpa.emr.it
Definition: cmdline.h:17
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.
int get_prio(const std::string &memo)
Get the priority for a rep_memo.
Definition: mem/repinfo.h:33