30 #include <boost/shared_ptr.hpp>
56 virtual const std::string
getName()
const = 0;
70 template <
typename T >
bool isA();
76 template <
typename T >
79 return dynamic_cast< T*
>( this );
82 #endif // WPROTOTYPED_H
virtual const std::string getName() const =0
Gets the name of this prototype.
bool isA()
Checks whether the actual prototype has the specified runtime type.
Interface class for the concept "Prototype".
virtual ~WPrototyped()
Destructor.
virtual const std::string getDescription() const =0
Gets the description for this prototype.
WPrototyped()
Default constructor.