ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
Signatures Struct Reference

Description:

This struct holds static arrays of pointers to sample values. The arrays are used with helper-class Calculus to denote accepted "function signatures" when* initializing column FunctionEntry::Signature of table Calculus::Functions.

Each static field of this class represents a permutation of function arguments. Note, that only those permutations which are needed and used by the built-in compiler plugins ( Arithmetics, Math, Strings and DateAndTime ) are contained here.

Custom compiler plug-ins may use the argument signatures given here, if a fitting signature is already included. Otherwise a custom signature array has to be defined, initialized and provided to the function definition table.

Definition at line 263 of file expressionscamp.hpp.

#include <expressionscamp.hpp>

Collaboration diagram for Signatures:
[legend]

Public Static Field Index:

static ALIB_API BoxB [1] = { &Types::Boolean }
 Function accepts one boolean argument.
 
static ALIB_API BoxBB [2] = { &Types::Boolean , &Types::Boolean }
 Function accepts two boolean arguments.
 
static ALIB_API BoxD [1] = { &Types::DateTime }
 Function accepts a DateTime argument.
 
static ALIB_API BoxDDur [2] = { &Types::DateTime , &Types::Duration }
 Function accepts a DateTime argument; followed by a Duration.
 
static ALIB_API BoxDur [1] = { &Types::Duration }
 Function accepts a Duration argument.
 
static ALIB_API BoxF [1] = { &Types::Float }
 Function accepts one floating point argument.
 
static ALIB_API BoxFF [2] = { &Types::Float , &Types::Float }
 Function accepts two floating point arguments.
 
static ALIB_API BoxI [1] = { &Types::Integer }
 Function accepts one integral argument.
 
static ALIB_API BoxII [2] = { &Types::Integer , &Types::Integer }
 Function accepts two integral arguments.
 
static ALIB_API BoxIVar [2] = { &Types::Integer , nullptr }
 Function accepts one integral argument, followed by variadic arguments.
 
static ALIB_API BoxS [1] = { &Types::String }
 Function accepts one string argument.
 
static ALIB_API BoxSI [2] = { &Types::String , &Types::Integer }
 Function accepts one string argument, followed by an integral argument.
 
static ALIB_API BoxSII [3] = { &Types::String , &Types::Integer , &Types::Integer }
 Function accepts one string argument, followed by two integral arguments.
 
static ALIB_API BoxSS [2] = { &Types::String , &Types::String }
 Function accepts two string arguments.
 
static ALIB_API BoxSSB [3] = { &Types::String , &Types::String , &Types::Boolean }
 Function accepts two string arguments, followed by a boolean argument.
 
static ALIB_API BoxSSI [3] = { &Types::String , &Types::String , &Types::Integer }
 Function accepts two string arguments, followed by an integral argument.
 
static ALIB_API BoxSSS [3] = { &Types::String , &Types::String , &Types::String }
 Function accepts three string arguments.
 
static ALIB_API BoxSVar [2] = { &Types::String , nullptr }
 Function accepts one string argument, followed by variadic arguments.
 
static ALIB_API BoxVar [1] = { nullptr }
 Function accepts variadic arguments.
 

Field Details:

◆ B

Box * B = { &Types::Boolean }
static

Function accepts one boolean argument.

Definition at line 266 of file expressionscamp.hpp.

◆ BB

Box * BB = { &Types::Boolean , &Types::Boolean }
static

Function accepts two boolean arguments.

Definition at line 267 of file expressionscamp.hpp.

◆ D

Box * D = { &Types::DateTime }
static

Function accepts a DateTime argument.

Definition at line 282 of file expressionscamp.hpp.

◆ DDur

Box * DDur = { &Types::DateTime , &Types::Duration }
static

Function accepts a DateTime argument; followed by a Duration.

Definition at line 284 of file expressionscamp.hpp.

◆ Dur

Box * Dur = { &Types::Duration }
static

Function accepts a Duration argument.

Definition at line 283 of file expressionscamp.hpp.

◆ F

Box * F = { &Types::Float }
static

Function accepts one floating point argument.

Definition at line 271 of file expressionscamp.hpp.

◆ FF

Box * FF = { &Types::Float , &Types::Float }
static

Function accepts two floating point arguments.

Definition at line 272 of file expressionscamp.hpp.

◆ I

Box * I = { &Types::Integer }
static

Function accepts one integral argument.

Definition at line 268 of file expressionscamp.hpp.

◆ II

Box * II = { &Types::Integer , &Types::Integer }
static

Function accepts two integral arguments.

Definition at line 269 of file expressionscamp.hpp.

◆ IVar

Box * IVar = { &Types::Integer , nullptr }
static

Function accepts one integral argument, followed by variadic arguments.

Definition at line 270 of file expressionscamp.hpp.

◆ S

Box * S = { &Types::String }
static

Function accepts one string argument.

Definition at line 273 of file expressionscamp.hpp.

◆ SI

Box * SI = { &Types::String , &Types::Integer }
static

Function accepts one string argument, followed by an integral argument.

Definition at line 276 of file expressionscamp.hpp.

◆ SII

Box * SII = { &Types::String , &Types::Integer , &Types::Integer }
static

Function accepts one string argument, followed by two integral arguments.

Definition at line 279 of file expressionscamp.hpp.

◆ SS

Box * SS = { &Types::String , &Types::String }
static

Function accepts two string arguments.

Definition at line 275 of file expressionscamp.hpp.

◆ SSB

Box * SSB = { &Types::String , &Types::String , &Types::Boolean }
static

Function accepts two string arguments, followed by a boolean argument.

Definition at line 277 of file expressionscamp.hpp.

◆ SSI

Box * SSI = { &Types::String , &Types::String , &Types::Integer }
static

Function accepts two string arguments, followed by an integral argument.

Definition at line 278 of file expressionscamp.hpp.

◆ SSS

Box * SSS = { &Types::String , &Types::String , &Types::String }
static

Function accepts three string arguments.

Definition at line 280 of file expressionscamp.hpp.

◆ SVar

Box * SVar = { &Types::String , nullptr }
static

Function accepts one string argument, followed by variadic arguments.

Definition at line 274 of file expressionscamp.hpp.

◆ Var

Box * Var = { nullptr }
static

Function accepts variadic arguments.

Definition at line 265 of file expressionscamp.hpp.


The documentation for this struct was generated from the following files: