Go to the source code of this file.
Classes | |
struct | isAOp< TargetType > |
Check if dynamic_cast to TargetType is possible, as a functor. More... | |
struct | isTypeOp< TargetType > |
Check is typeid is identical to the TargetType, as a functor. More... | |
Namespaces | |
namespace | Foam |
Namespace for OpenFOAM. | |
Macros | |
#define | TypeNameNoDebug(TypeNameString) |
Declare a ClassNameNoDebug() with extra virtual type info. More... | |
#define | TypeName(TypeNameString) |
Declare a ClassName() with extra virtual type info. More... | |
Functions | |
template<class To , class From > | |
To & | dynamicCast (From &r) |
template<class To , class From > | |
To & | dynamicCast (From &r, const dictionary &d) |
template<class To , class From > | |
To & | refCast (From &r) |
Reference type cast template function. More... | |
template<class To , class From > | |
To & | refCast (From &r, const label index) |
Reference type cast template function. More... | |
template<class To , class From > | |
To & | refCast (From &r, const dictionary &d) |
Reference type cast template function. More... | |
template<class TargetType , class Type > | |
const TargetType * | isA (const Type &t) |
Check if dynamic_cast to TargetType is possible. More... | |
template<class TargetType , class Type > | |
bool | isType (const Type &t) |
Check is typeid is identical to the TargetType. More... | |
Original source file typeInfo.H
Definition in file typeInfo.H.
#define TypeNameNoDebug | ( | TypeNameString | ) |
Declare a ClassNameNoDebug() with extra virtual type info.
Definition at line 68 of file typeInfo.H.
#define TypeName | ( | TypeNameString | ) |
Declare a ClassName() with extra virtual type info.
Definition at line 73 of file typeInfo.H.