Rheolef  7.2
an efficient C++ finite element environment
Loading...
Searching...
No Matches
pretty_name.h

Go to the source code of this file.

Namespaces

namespace  rheolef
 This file is part of Rheolef.

Macros

#define typename_macro(T)
 get string from a type, with an optional pretty-printing for complex types
#define pretty_typename_macro(T)

Functions

std::string typeid_name (const char *name, bool do_indent)
template<class T>
std::string typename_of (T x)
 get string type from a variable or expression
template<class T>
std::string pretty_typename_of (T x)

Macro Definition Documentation

◆ typename_macro

#define typename_macro ( T)
Value:
rheolef::typeid_name(typeid(T).name(), false)
Expr1::float_type T
Definition field_expr.h:230
std::string typeid_name(const char *name, bool do_indent)

get string from a type, with an optional pretty-printing for complex types

Definition at line 54 of file pretty_name.h.

◆ pretty_typename_macro

#define pretty_typename_macro ( T)
Value:
rheolef::typeid_name(typeid(T).name(), true)

Definition at line 55 of file pretty_name.h.

Function Documentation

◆ typename_of()

template<class T>
std::string typename_of ( T x)

get string type from a variable or expression

Definition at line 58 of file pretty_name.h.

◆ pretty_typename_of()

template<class T>
std::string pretty_typename_of ( T x)

Definition at line 59 of file pretty_name.h.