#include <database.h>
Definition at line 43 of file database.h.
Public Member Functions | |
void | Load (string filename) |
Load a database-text file into memory. | |
string | Find (string key) |
Find an item in the database and return its data. | |
void | Clear () |
Clear the Database in memory. | |
void | Insert (string key, string data) |
Insert one database-item (key + data) into the DB_Map. |
|
Clear the Database in memory. The DB_Map is erased. Definition at line 134 of file database.cpp. |
|
Find an item in the database and return its data. Whitespace at begin and end of key is ignored.
|
|
Insert one database-item (key + data) into the DB_Map. Expand any escape-strings. Replace "<ESC>" with the escape-code for the PCxx's (\x1b)
|
|
Load a database-text file into memory. Multiple files can be loaded. Any duplicate entries are overwritten.
|