makeFunction1s.H File Reference

Macros for creating standard Function1-s. More...

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

Go to the source code of this file.

Macros

#define makeFunction1s(Type, nullArg)
 

Detailed Description

Macros for creating standard Function1-s.

Original source file makeFunction1s.H

InClass Foam::Function1

Definition in file makeFunction1s.H.

Macro Definition Documentation

◆ makeFunction1s

#define makeFunction1s (   Type,
  nullArg 
)
Value:
\
template<> \
( \
"Tuple2<scalar," #Type ">" \
); \
\
namespace Function1s \
{ \
addFunction1(None, Type); \
addStreamConstructableFunction1(Constant, Type); \
addStreamConstructableFunction1(Uniform, Type); \
addFunction1(ZeroConstant, Type); \
addFunction1(OneConstant, Type); \
addStreamConstructableFunction1(Polynomial, Type); \
addFunction1(Add, Type); \
addFunction1(Repeat, Type); \
addFunction1(Scale, Type); \
addFunction1(Shift, Type); \
addFunction1(Sine, Type); \
addFunction1(Square, Type); \
addStreamConstructableFunction1(Table, Type); \
addNamedFunction1(Table, Type, tableFile); \
addFunction1(UniformTable, Type); \
addFunction1(NonUniformTable, Type); \
addFunction1(Coded, Type); \
}
#define defineFunction1(Type)
Definition: Function1.H:349
A 2-tuple for storing two objects of different types.
Definition: Tuple2.H:66

Definition at line 54 of file makeFunction1s.H.