COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Handles type information This struct allows to associate a type to a string. It is a singleton. More...
#include <TypeInfo.hpp>
Inherits noncopyable.
Public Member Functions | |
TypeInfo () | |
Constructor. Registers all supported otion types. More... | |
template<typename TYPE > | |
void | regist (const std::string &tname) |
Registers a type to a string. More... | |
Static Public Member Functions | |
static TypeInfo & | instance () |
Public Attributes | |
std::map< std::string, std::string > | portable_types |
Map for types and their associated string The key is the type, the value is the associated string. The type is converted to a string using typeid . More... | |
Handles type information This struct allows to associate a type to a string. It is a singleton.
Definition at line 27 of file TypeInfo.hpp.
TypeInfo | ( | ) |
Constructor. Registers all supported otion types.
Definition at line 47 of file TypeInfo.cpp.
|
static |
Definition at line 66 of file TypeInfo.cpp.
|
inline |
Registers a type to a string.
tname | The type name |
Definition at line 40 of file TypeInfo.hpp.
std::map< std::string, std::string> portable_types |
Map for types and their associated string The key is the type, the value is the associated string. The type is converted to a string using typeid
.
Definition at line 48 of file TypeInfo.hpp.
Send comments to: COOLFluiD Web Admin |