]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTreeHandler.h
fix _T(...
[creaImageIO.git] / src2 / creaImageIOTreeHandler.h
index 5a7cecd32f644aa3f9cb1fb47a70b7417b824cb6..b84d0f9e64b3cfe85e7944587f449704a9371ece 100644 (file)
@@ -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(){}
     //====================================================================
 
 
@@ -105,6 +109,13 @@ namespace creaImageIO
     virtual void UnLoad(tree::Node* n) { return; }
     //====================================================================
 
+       //====================================================================
+    /// Returns the top level node id for the given search param and search value
+    virtual void GetTopLevelNodeId(const std::string& searchParam, 
+                                                                                       const std::string& searchValue, 
+                                                                                       std::string& parent_id){ return; }
+    ///====================================================================
+
 
     //====================================================================
     // WRITE METHODS : WORK ONLY IN WRITE MODE
@@ -129,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){}
  
     //====================================================================