/*virtual*/ void Mapping::accept(ConstVisitor & visitor, bool topdown /*=false*/) const { if(topdown) { if(! visitor.visit(*this)) { return; } } for(Mapping::const_iterator i = this->begin(); i != this->end(); ++i) { i->first.accept(visitor); i->second.accept(visitor); } if(! topdown) { visitor.visit(*this); } }
void Library::accept(ConstVisitor &visitor) const { visitor.visit(*this); }
void Instance::accept(ConstVisitor &visitor) const { visitor.visit(*this); }