Ocean
Ocean::ParameterCounter< RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 > Class Template Reference

This class implements a helper class providing the number of parameters of a parameterized function. More...

Static Public Member Functions

static unsigned int parameters ()
 Returns the number of parameters for a given function type. More...
 

Detailed Description

template<typename RT, typename PT0, typename PT1, typename PT2, typename PT3, typename PT4, typename PT5, typename PT6, typename PT7, typename PT8, typename PT9, typename PT10, typename PT11, typename PT12, typename PT13, typename PT14, typename PT15, typename PT16, typename PT17, typename PT18, typename PT19>
class Ocean::ParameterCounter< RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >

This class implements a helper class providing the number of parameters of a parameterized function.


As this class is a helper class, there is no need to use it directly.
The template parameters define the function's ten possible function parameters (PT0 - PT19).
Therefore, functions with at most ten function parameters are supported.

Template Parameters
RTReturn type
PT0Data type of the 1st parameter
PT1Data type of the 2nd parameter
PT2Data type of the 3rd parameter
PT3Data type of the 4th parameter
PT4Data type of the 5th parameter
PT5Data type of the 6th parameter
PT6Data type of the 7th parameter
PT7Data type of the 8th parameter
PT8Data type of the 9th parameter
PT9Data type of the 10th parameter
PT10Data type of the 11th parameter
PT11Data type of the 12th parameter
PT12Data type of the 13th parameter
PT13Data type of the 14th parameter
PT14Data type of the 15th parameter
PT15Data type of the 16th parameter
PT16Data type of the 17th parameter
PT17Data type of the 18th parameter
PT18Data type of the 19th parameter
PT19Data type of the 20th parameter

Member Function Documentation

◆ parameters()

template<typename RT , typename PT0 , typename PT1 , typename PT2 , typename PT3 , typename PT4 , typename PT5 , typename PT6 , typename PT7 , typename PT8 , typename PT9 , typename PT10 , typename PT11 , typename PT12 , typename PT13 , typename PT14 , typename PT15 , typename PT16 , typename PT17 , typename PT18 , typename PT19 >
unsigned int Ocean::ParameterCounter< RT, PT0, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16, PT17, PT18, PT19 >::parameters
inlinestatic

Returns the number of parameters for a given function type.

Returns
Parameter number

The documentation for this class was generated from the following file: