|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiClassName.h>
Inheritance diagram for lti::className:


Public Member Functions | |
| className () | |
| ~className () | |
| const char * | get (const object *o) const |
| const char * | get (const object &o) const |
| void | get (const object &o, std::string &result) const |
| void | get (const object *o, std::string &result) const |
| std::string | decode (const std::string &name) const |
Protected Member Functions | |
| void | decode (char *dest, int &dpos, const char *src, int &spos) const |
|
|
default constructor
|
|
|
destructor
|
|
||||||||||||||||||||
|
implementation of the native-to-readable decoding of class names.
|
|
|
decodes a typename returned by typeid(). You can use this to get decoded names for objects that are not derived from lti::object
|
|
||||||||||||
|
returns the name of this type (obtained by using the std::typeinfo functions). The returned string considers the template arguments and is usually fully qualified.
|
|
||||||||||||
|
returns the name of this type (obtained by using the std::typeinfo functions). The returned string considers the template arguments and is usually fully qualified.
|
|
|
|
|
|
returns the name of this type (obtained by using the std::typeinfo functions). The returned string considers the template arguments and is usually fully qualified. The implementation should ensure that the returned name has the following format: <namespace>::<classname>::<innerclassname>::... Example: lti::boundingBox<double>::parametersWARNING: The function returns a pointer to an internal class member. So, the pointer is only valid for the lifetime of this object or until the next time get is called, whatever occurs first. |