Simbody
3.5
|
In case you don't like the name you get from typeid(), you can specialize this class to provide a nicer name. More...
Static Public Member Functions | |
static const char * | name () |
The default implementation of name() here returns the raw result from typeid(T).name() which will be fast but may be a mangled name in some compilers (gcc and clang included). More... | |
static std::string | namestr () |
The default implementation of namestr() attempts to return a nicely demangled type name on all platforms, using the SimTK::demangle() method defined above. More... | |
In case you don't like the name you get from typeid(), you can specialize this class to provide a nicer name.
This class is typically used for error messages and testing.
|
inlinestatic |
|
inlinestatic |
The default implementation of namestr() attempts to return a nicely demangled type name on all platforms, using the SimTK::demangle() method defined above.
Don't expect this to be fast.