COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
TypeInfo Struct Reference

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 TypeInfoinstance ()
 

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...
 

Detailed Description

Handles type information This struct allows to associate a type to a string. It is a singleton.

Author
Tiago Quintino
Quentin Gasper

Definition at line 27 of file TypeInfo.hpp.

Constructor & Destructor Documentation

TypeInfo ( )

Constructor. Registers all supported otion types.

Definition at line 47 of file TypeInfo.cpp.

Member Function Documentation

TypeInfo & instance ( )
static
Returns
Returns the instance

Definition at line 66 of file TypeInfo.cpp.

void regist ( const std::string &  tname)
inline

Registers a type to a string.

Parameters
tnameThe type name

Definition at line 40 of file TypeInfo.hpp.

Member Data Documentation

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.


The documentation for this struct was generated from the following files:
Send comments to:
COOLFluiD Web Admin