///====================================================================
/// 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; }
///====================================================================