wns::Object Class Reference
Enables dynamic_cast and offers method to retrieve class name.
More...
#include <Object.hpp>
List of all members.
|
Public Member Functions |
| std::string | getClassName () const |
| | Return class name (e.g., "wns::Position").
|
| virtual | ~Object () |
| | Enabled dynamic_cast.
|
Detailed Description
- Author:
- Marc Schinnenburg <msg@comnets.rwth-aachen.de>
Deriving your class
virtual from this class will enable dynamic_cast and allows you to retrieve the class name. This class has no data member at all and will thus not add any overhead if you derive your class from this class. Only if your class has
no virtual functions, this class will add sizeof(void*) Bytes to your class.
Definition at line 47 of file Object.hpp.
Constructor & Destructor Documentation
| Object::~Object |
( |
|
) |
[virtual] |
Member Function Documentation
| std::string Object::getClassName |
( |
|
) |
const |
The documentation for this class was generated from the following files: