X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOTreeHandler.h;h=b84d0f9e64b3cfe85e7944587f449704a9371ece;hb=9ae1b3a039da8e28aa41c6963744bfa86c382a35;hp=9b7c4db9eb8ba36b297e81e287f9e60909e2b77a;hpb=37ce7617170db97c1ad6bc736a331e7fedf56a8e;p=creaImageIO.git diff --git a/src2/creaImageIOTreeHandler.h b/src2/creaImageIOTreeHandler.h index 9b7c4db..b84d0f9 100644 --- a/src2/creaImageIOTreeHandler.h +++ b/src2/creaImageIOTreeHandler.h @@ -64,6 +64,10 @@ namespace creaImageIO virtual bool Create(bool writable = false) { return false; } /// Destroys the 'source' virtual bool Destroy() { return false; } + /// Begins a transaction + virtual void BeginTransaction(){} + ///Commits results and ends transaction + virtual void EndTransaction(){} //==================================================================== @@ -136,6 +140,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){} //====================================================================