Interface class for the concept "Prototype". More...
#include <WPrototyped.h>
Inheritance diagram for WPrototyped:
Public Member Functions | |
| WPrototyped () | |
| Default constructor. | |
| virtual | ~WPrototyped () |
| Destructor. | |
| virtual const std::string | getName () const =0 |
| Gets the name of this prototype. | |
| virtual const std::string | getDescription () const =0 |
| Gets the description for this prototype. | |
| template<typename T > | |
| bool | isA () |
| Checks whether the actual prototype has the specified runtime type. | |
Interface class for the concept "Prototype".
The requirements are a zero-parameter constructor.
Definition at line 37 of file WPrototyped.h.
| WPrototyped::WPrototyped | ( | ) |
Default constructor.
Creates a instance of the class. This not necessarily mean that the instance is fully usable. This is required for type checking and inheritance checking.
Definition at line 29 of file WPrototyped.cpp.
| WPrototyped::~WPrototyped | ( | ) | [virtual] |
Destructor.
Definition at line 34 of file WPrototyped.cpp.
| virtual const std::string WPrototyped::getDescription | ( | ) | const [pure virtual] |
Gets the description for this prototype.
Implemented in WColoredVertices, WDendrogram, SomePrototypeClass1, SomePrototypeClass2, WFiberCluster, WJoinContourTree, WTriangleMesh, WTestTransferableBase, and WTestTransferableDerived.
| virtual const std::string WPrototyped::getName | ( | ) | const [pure virtual] |
Gets the name of this prototype.
Implemented in WColoredVertices, WDendrogram, SomePrototypeClass1, SomePrototypeClass2, WFiberCluster, WJoinContourTree, WTriangleMesh, WTestTransferableBase, and WTestTransferableDerived.
Referenced by WModule::debugLog(), WModule::errorLog(), WModule::getConnector(), WModule::getInputConnector(), WModule::getOutputConnector(), WModule::infoLog(), WModule::initialize(), WModule::threadMain(), and WModule::warnLog().
| bool WPrototyped::isA | ( | ) |
Checks whether the actual prototype has the specified runtime type.
Definition at line 78 of file WPrototyped.h.
Referenced by WPrototypedTest::testType().
1.7.1