16 #ifndef TORC_GENERIC_VISITORTYPE_HPP
17 #define TORC_GENERIC_VISITORTYPE_HPP
70 virtual void visit(_Tp& client)
throw (
Error) = 0;
82 if(ConcreteVisitor *p = dynamic_cast<ConcreteVisitor *>(&inoutVisitor)) {
84 p->
visit(inoutVisited);
98 #endif // TORC_GENERIC_VISITORTYPE_HPP
An acyclic inoutVisitor implementation.
void runVisitor(_Tp &inoutVisited, BaseVisitor &inoutVisitor)
BaseVisitor & operator=(const BaseVisitor &)
virtual void visit(_Tp &client)=0
The Error object thrown by different methods of EdifOM.
A base class for Visitor.
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)