![]() |
|
Functions | |
template<class T > | |
std::string | get_type_name (T &obj) |
template<class T > | |
std::string | get_type_name (T *obj) |
std::string oomph::TypeNames::get_type_name | ( | T & | obj | ) |
Get the type name of an object. Only for use in debugging, do not write real code using this function as it is implementation dependant!
References plotDoE::name, OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, oomph::Global_string_for_annotation::string(), and oomph::StringConversion::to_string().
Referenced by get_type_name().
std::string oomph::TypeNames::get_type_name | ( | T * | obj | ) |
Get the type name of an object from a pointer to the object (we usually want the type of the object itself not the pointer because the type of the pointer may be a base class). Only for use in debugging, do not write real code using this function as it is implementation dependant!
References get_type_name().