12 boost::shared_ptr<Map> n(
new Map(
name()));
14 NodeIdx previous_child_idx = -1;
18 target.
nodes[child_idx] = source.
nodes[it->second]->deepCopy(source, child_idx, target);
19 n->map_[it->first] = child_idx;
21 if (previous_child_idx !=
static_cast<NodeIdx>(-1))
24 previous_child_idx = child_idx;