Definition in file typeInfo.H.
#include "src/OpenFOAM/db/error/error.H"#include "src/OpenFOAM/db/typeInfo/className.H"#include <typeinfo> Include dependency graph for typeInfo.H:
 Include dependency graph for typeInfo.H:Go to the source code of this file.
| Namespaces | |
| namespace | Foam | 
| Namespace for OpenFOAM. | |
| Defines | |
| #define | TypeNameNoDebug(TypeNameString) | 
| Declare a ClassNameNoDebug() with extra virtual type info. | |
| #define | TypeName(TypeNameString) | 
| Declare a ClassName() with extra virtual type info. | |
| Functions | |
| template<class To , class From > | |
| To & | dynamicCast (From &r) | 
| Reference type cast template function,. | |
| template<class To , class From > | |
| To & | refCast (From &r) | 
| Reference type cast template function. | |
| template<class TestType , class Type > | |
| bool | isType (const Type &t) | 
| Check the typeid. | |
| template<class TestType , class Type > | |
| bool | isA (const Type &t) | 
| Check if a dynamic_cast to typeid is possible. | |
| #define TypeNameNoDebug | ( | TypeNameString ) | 
ClassNameNoDebug(TypeNameString); \ virtual const word& type() const { return typeName; }
Declare a ClassNameNoDebug() with extra virtual type info.
Definition at line 64 of file typeInfo.H.
| #define TypeName | ( | TypeNameString ) | 
Declare a ClassName() with extra virtual type info.
Definition at line 69 of file typeInfo.H.