11 #ifndef CARMA_ARCHIVE_TRANSFERDB_H_
12 #define CARMA_ARCHIVE_TRANSFERDB_H_
15 #include <sys/types.h>
32 #include "log4cpp/Category.hh"
55 TransferDB(std::string mutex, std::string dbFilename);
70 std::vector<std::string> getKeys();
75 std::vector<std::string> getDeleteDates();
80 std::vector<std::string> getTimestamps();
85 std::string getChecksum();
90 void update(
int row,
int col, std::string value);
95 void add(std::string aRow);
100 void removeRow(
int row);
105 void updateDBFile(std::vector<std::string>& dbRecords,
bool append);
128 std::vector<std::string> tokenize(std::string& line);
Simple ASCII Table format, fully memory based.