/*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); } }
virtual void Accept(ConstVisitor& visitor) const { visitor.Visit(m_Element); }
void Library::accept(ConstVisitor &visitor) const { visitor.visit(*this); }
virtual void VisitWith( ConstVisitor & visitor ) const { visitor.Visit( element ); }
void Instance::accept(ConstVisitor &visitor) const { visitor.visit(*this); }