typeInfo.H File Reference
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.
|
Detailed Description
Original source file typeInfo.H
Definition in file typeInfo.H.
Define Documentation
| #define TypeNameNoDebug |
( |
TypeNameString |
|
) |
|
| #define TypeName |
( |
TypeNameString |
|
) |
|
Value:
ClassName(TypeNameString); \
virtual const word& type() const { return typeName; }
Declare a
ClassName() with extra virtual type info.
Definition at line 62 of file typeInfo.H.
Copyright © 2000-2009 OpenCFD Ltd