#include <Nameable.hpp>
Public Member Functions | |
virtual const std::string | getName () const throw () |
void | setName (const std::string &inSource) throw (Error) |
Private Member Functions | |
Nameable (const Nameable &source) throw () | |
Nameable & | operator= (const Nameable &source) throw () |
Private Attributes | |
std::string | mName |
The Nameable class provides an interface for and implements functionality that allows an object of a derivd class to have a string name.
Definition at line 38 of file Nameable.hpp.
const std::string torc::generic::Nameable::getName | ( | void | ) | const throw () [inline, virtual] |
void torc::generic::Nameable::setName | ( | const std::string & | inSource | ) | throw (Error) |
Set a name for this object
[in] | inSource | Name of the object |
Error | Could not set name, because name is empty (Will be used by array members)
|
[in] | inSource | Name of the object |
Error | Could not set name, because name is empty (Will be used by array members) |
Definition at line 48 of file Nameable.cpp.