|
Ocean
|
This class implements a helper class providing the number of parameters of a parameterized function. More...
#include <Caller.h>
Static Public Member Functions | |
| static unsigned int | parameters () |
| Returns the number of parameters for a given function type. | |
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.
| RT | Return type |
| PT0 | Data type of the 1st parameter |
| PT1 | Data type of the 2nd parameter |
| PT2 | Data type of the 3rd parameter |
| PT3 | Data type of the 4th parameter |
| PT4 | Data type of the 5th parameter |
| PT5 | Data type of the 6th parameter |
| PT6 | Data type of the 7th parameter |
| PT7 | Data type of the 8th parameter |
| PT8 | Data type of the 9th parameter |
| PT9 | Data type of the 10th parameter |
| PT10 | Data type of the 11th parameter |
| PT11 | Data type of the 12th parameter |
| PT12 | Data type of the 13th parameter |
| PT13 | Data type of the 14th parameter |
| PT14 | Data type of the 15th parameter |
| PT15 | Data type of the 16th parameter |
| PT16 | Data type of the 17th parameter |
| PT17 | Data type of the 18th parameter |
| PT18 | Data type of the 19th parameter |
| PT19 | Data type of the 20th parameter |
|
inlinestatic |
Returns the number of parameters for a given function type.