AddList(CppSQLite3Query& res):
key(res.getStringField(0)),
path(res.getStringField(1)),
AddList(CppSQLite3Query& res):
key(res.getStringField(0)),
path(res.getStringField(1)),
//================================================================================================================
//================================================================================================================
//================================================================================================================
//================================================================================================================
RemoveList(CppSQLite3Query& res):
key(res.getStringField(1)),
path(res.getStringField(2)),
RemoveList(CppSQLite3Query& res):
key(res.getStringField(1)),
path(res.getStringField(2)),
//================================================================================================================
//================================================================================================================
//================================================================================================================
//================================================================================================================
void InsertAddOp(const std::string& path,
const std::string& recursive,
const std::string& nChildren,
const std::string& refdb);
void InsertAddOp(const std::string& path,
const std::string& recursive,
const std::string& nChildren,
const std::string& refdb);
void InsertIgnoreFile(const std::string& addKey,
const std::string& path,
const std::string& remove,
const std::string& time,
const std::string& refdb);
void InsertIgnoreFile(const std::string& addKey,
const std::string& path,
const std::string& remove,
const std::string& time,
const std::string& refdb);
+ ///Removes several entries
+ void RemoveEntries(const std::string i_table,
+ const std::string i_attribute,
+ const std::string i_operand,
+ const std::string i_key);
+ ///Gets the list of AddFiles
std::string GetAttribute(const std::string& attribute,
const std::string& table,
const std::string& searchParam,
const std::string& searchValue,
const std::string& refdb);
std::string GetAttribute(const std::string& attribute,
const std::string& table,
const std::string& searchParam,
const std::string& searchValue,
const std::string& refdb);
void SetAttribute(const std::string& attribute,
const std::string& table,
const std::string& value,
const std::string& searchParam,
const std::string& searchValue,
const std::string& refdb);
void SetAttribute(const std::string& attribute,
const std::string& table,
const std::string& value,
const std::string& searchParam,
const std::string& searchValue,
const std::string& refdb);
+ // Get the List of indexed files (removed or not)
+ void GetList();
+ // Test to not if a file is indexed on db or not
+ bool isIndexed(const std::string filename);
+ // List of all indexed files
+ std::map <std::string, bool> mList;
+ ///The current AddList