X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOSQLiteTreeHandler.h;h=6948675d43d05fe154702695df4fab97a2558e7f;hb=381f766db11094bd9b96f9e948527cbec24f680a;hp=1284e169edd14fc17e138f64c74b973107533ef3;hpb=37ce7617170db97c1ad6bc736a331e7fedf56a8e;p=creaImageIO.git diff --git a/src2/creaImageIOSQLiteTreeHandler.h b/src2/creaImageIOSQLiteTreeHandler.h index 1284e16..6948675 100644 --- a/src2/creaImageIOSQLiteTreeHandler.h +++ b/src2/creaImageIOSQLiteTreeHandler.h @@ -55,6 +55,10 @@ namespace creaImageIO virtual bool Create(bool writable = false); /// Destroys the 'source' virtual bool Destroy(); + /// Begins a transaction + virtual void BeginTransaction(); + ///Commits results and ends transaction + virtual void EndTransaction(); //==================================================================== @@ -124,6 +128,11 @@ namespace creaImageIO const std::string& searchVal); //Deletes the tuple that matches the parameters given virtual void DeleteTuple(std::string levelDescriptor, std::string key, std::string value); + //Deletes the entries that match the parameters given + virtual void RemoveEntries(const std::string i_table, + const std::string i_attribute, + const std::string i_operand, + const std::string i_val); //====================================================================