]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOSQLiteTreeHandler.h
new Output format and structure for Gimmick. Based on creaImageIO Output document...
[creaImageIO.git] / src / creaImageIOSQLiteTreeHandler.h
index 1172298500f114096ee6195b71b0687251853084..e5c001edd0ecd02e2aa760cf42d02a20b6c24362 100644 (file)
@@ -2,6 +2,7 @@
 #define __creaImageIOSQLiteTreeHandler_h_INCLUDED__
 
 #include <creaImageIOTreeHandler.h>
+#include <creaImageIOTree.h>
 
 class CppSQLite3DB;
 
@@ -135,9 +136,15 @@ namespace creaImageIO
                const std::string i_val);
  
     //====================================================================
-    
+    /// get all attributes from database for a given file
+       void getAllAttributes(std::string i_filename, std::map<std::string, std::string> &i_results);
+       
+       /// get selected attributes from database for a given file
+       void GetAttributes(std::string name, std::string i_id, std::string i_value, tree::LevelDescriptor::AttributeDescriptorListType i_attr, std::vector<std::string> &i_results);
+       
+       /// get Id for the up level node
+       void GetUpLevelNodeId(int level, const std::string& searchParam, const std::string& searchValue, std::string& parent_id);
 
-    
   protected:
     //======================================================================
     /// Open the database