]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOTreeHandler.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOTreeHandler.h
index c88bbc970921a9c62bf433c965d32d39537c20db..368c519c637e54fbe352ded1b3e16bb9ba056138 100644 (file)
@@ -87,12 +87,12 @@ namespace creaImageIO
     ///====================================================================
     /// WRITE METHODS : WORK ONLY IN WRITE MODE
     ///====================================================================
-    /// Adds a branch in the tree with the attributes provided
+    typedef tree::Node::AttributeMapType AttributeMapType;
+   /// Adds a branch in the tree with the attributes provided
     /// returns the Level in the tree where the branch was connected 
     /// (-1 for error, 0 for top level, etc. ) 
     /// Of course the branch is loaded on exit
-    virtual int AddBranch
-    ( const std::map<std::string,std::string>& attr ) { return -1; }
+    virtual int AddBranch( const AttributeMapType& ) { return -1; }
     /// Removes the node and its descendants 
     bool Remove(tree::Node*)  { return false; }
     ///====================================================================