]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOGimmick.h
export from storage to storage functionality
[creaImageIO.git] / src2 / creaImageIOGimmick.h
index c6eb5a36f9b9d71e4258436628cef56af1de86a9..017d153ce92e0f8f6f1705c6f65ea85843ac7501 100644 (file)
@@ -6,12 +6,7 @@
 #include <creaImageIOSynchron.h>
 #include <creaImageIOSettings.h>
 
-#ifdef _RELWITHDEBINFO
-#include <crtdbg.h>
-#define DEBUG_NEW new(_NORMAL_BLOCK ,__FILE__, __LINE__)
-#else
-#define DEBUG_NEW new
-#endif
+
 
 #ifdef _DEBUG
 #include <crtdbg.h>
@@ -103,7 +98,7 @@ namespace creaImageIO
     void Initialize();
 
        /// Initializes with the local database descriptor in the path given (read/creates databases, etc.)
-       void Initialize(const std::string& namedescp, const std::string namedb = "Local Database");
+       void Initialize(const std::string namedescp, const std::string namedb = "Local Database");
     
     /// Finalize (closes databases, etc.)
     void Finalize();
@@ -116,8 +111,11 @@ namespace creaImageIO
     /// Type of map from TreeHandler name to TreeHandler*
        typedef std::map<std::string, TreeHandler*> TreeHandlerMapType;
 
+       typedef std::map<std::string, TreeHandler*>::const_iterator ItTreeHandlerMap;
+
     /// Returns the TreeHandlerMap (ref)
     TreeHandlerMapType& GetTreeHandlerMap() { return mTreeHandlerMap; }
+       
     /// Returns the TreeHandlerMap (const ref)
     const TreeHandlerMapType& GetTreeHandlerMap() const
     { return mTreeHandlerMap; }