Loading...
Searching...
No Matches
exprDriverTemplates.C File Reference
Include dependency graph for exprDriverTemplates.C:

Go to the source code of this file.

Macros

#define doLocalCode(WhichType, MapperMember)
#define doLocalCode(WhichType, MapperMember)
#define doLocalCode(WhichType, MapperMember)

Detailed Description

Original source file exprDriverTemplates.C

Definition in file exprDriverTemplates.C.

Macro Definition Documentation

◆ doLocalCode [1/3]

#define doLocalCode ( WhichType,
MapperMember )
Value:
if constexpr (std::is_same_v<Type, WhichType>) \
{ \
return bool \
( \
this->template getFunction1Ptr<WhichType> \
( \
name, MapperMember \
) \
); \
}
auto & name

◆ doLocalCode [2/3]

#define doLocalCode ( WhichType,
MapperMember )
Value:
if constexpr (std::is_same_v<Type, WhichType>) \
{ \
const Function1<WhichType>* ptr = \
this->template getFunction1Ptr<WhichType> \
( \
name, MapperMember, &failed \
); \
func = reinterpret_cast<const Function1<Type>*>(ptr); \
break; \
}

◆ doLocalCode [3/3]

#define doLocalCode ( WhichType,
MapperMember )
Value:
if constexpr (std::is_same_v<Type, WhichType>) \
{ \
const Function1<WhichType>* ptr = \
this->template getFunction1Ptr<WhichType> \
( \
name, MapperMember, &failed \
); \
func = reinterpret_cast<const Function1<Type>*>(ptr); \
break; \
}