memberFunctionSelectionTables.H File Reference

Macros to ease declaration of member function selection tables. More...

Include dependency graph for memberFunctionSelectionTables.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define declareMemberFunctionSelectionTable(returnType, baseType, funcName, argNames, argList, parListUnused)
 Declare a run-time member-function selection (variables and adder classes) More...
 
#define defineMemberFunctionSelectionTable(baseType, funcName, argNames)
 Define run-time selection table. More...
 
#define defineTemplateMemberFunctionSelectionTable(baseType, funcName, argNames)
 Define run-time selection table for template classes. More...
 
#define defineTemplatedMemberFunctionSelectionTable(baseType, funcName, argNames, Targ)
 Define run-time selection table for template classes. More...
 

Detailed Description

Macros to ease declaration of member function selection tables.

Original source file memberFunctionSelectionTables.H

Note
Uses macros from runTimeSelectionTables.H

Definition in file memberFunctionSelectionTables.H.

Macro Definition Documentation

◆ declareMemberFunctionSelectionTable

#define declareMemberFunctionSelectionTable (   returnType,
  baseType,
  funcName,
  argNames,
  argList,
  parListUnused 
)

Declare a run-time member-function selection (variables and adder classes)

Definition at line 47 of file memberFunctionSelectionTables.H.

◆ defineMemberFunctionSelectionTable

#define defineMemberFunctionSelectionTable (   baseType,
  funcName,
  argNames 
)
Value:
\
defineRunTimeSelectionTableBase( \
baseType,baseType::funcName##argNames##MemberFunction,)

Define run-time selection table.

Definition at line 147 of file memberFunctionSelectionTables.H.

◆ defineTemplateMemberFunctionSelectionTable

#define defineTemplateMemberFunctionSelectionTable (   baseType,
  funcName,
  argNames 
)
Value:
\
defineRunTimeSelectionTableBase( \
baseType,baseType::funcName##argNames##MemberFunction,template<>)

Define run-time selection table for template classes.

use when baseType doesn't need a template argument (eg, is a typedef)

Definition at line 155 of file memberFunctionSelectionTables.H.

◆ defineTemplatedMemberFunctionSelectionTable

#define defineTemplatedMemberFunctionSelectionTable (   baseType,
  funcName,
  argNames,
  Targ 
)
Value:
\
defineRunTimeSelectionTableBase( \
baseType,baseType<Targ>::funcName##argNames##MemberFunction,template<>)

Define run-time selection table for template classes.

use when baseType requires the Targ template argument

Definition at line 163 of file memberFunctionSelectionTables.H.