Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
Teuchos_TypeNameTraits.hpp File Reference

Defines basic traits returning the name of a type in a portable and readable way. More...

#include <typeinfo>
#include "Teuchos_ConfigDefs.hpp"

Go to the source code of this file.

Classes

class  Teuchos::TypeNameTraits< T >
 Default traits class that just returns typeid(T).name(). More...
 

Namespaces

 Teuchos
 The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines.
 

Functions

TEUCHOSCORE_LIB_DLL_EXPORT
std::string 
Teuchos::demangleName (const std::string &mangledName)
 Demangle a C++ name if valid. More...
 
template<typename T >
std::string Teuchos::typeName (const T &t)
 Template function for returning the concrete type name of a passed-in object. More...
 
template<typename T >
std::string Teuchos::concreteTypeName (const T &t)
 Template function for returning the type name of the actual concrete name of a passed-in object. More...
 

Detailed Description

Defines basic traits returning the name of a type in a portable and readable way.

Definition in file Teuchos_TypeNameTraits.hpp.