STK++ 0.9.13
|
In this file we define the macro and utilities function used throughout the stk++ library. More...
Go to the source code of this file.
Macros | |
#define | STKERROR_NO_ARG2(Where, Error) |
generate an Error message with no arguments. | |
#define | STKERROR_NO_ARG(Where, Error) STKERROR_NO_ARG2(Where, Error) |
#define | STKERROR_1ARG2(Where, Arg, Error) |
generate an Error message with one argument. | |
#define | STKERROR_1ARG(Where, Arg, Error) STKERROR_1ARG2(Where, Arg, Error) |
#define | STKERROR_2ARG2(Where, Arg1, Arg2, Error) |
generate an Error message with no argument. | |
#define | STKERROR_2ARG(Where, Arg1, Arg2, Error) STKERROR_2ARG2(Where, Arg1, Arg2, Error) |
#define | STKERROR_3ARG2(Where, Arg1, Arg2, Arg3, Error) |
generate an Error message with three arguments. | |
#define | STKERROR_3ARG(Where, Arg1, Arg2, Arg3, Error) STKERROR_3ARG2(Where, Arg1, Arg2, Arg3, Error) |
#define | STKOUT_OF_RANGE_1ARG2(Where, Arg, Error) throw STK::out_of_range(STKERROR_1ARG2(Where, Arg, Error)) |
throw an STK::out_of_range exception with one arguments. | |
#define | STKOUT_OF_RANGE_1ARG(Where, Arg, Error) STKOUT_OF_RANGE_1ARG2(Where, Arg, Error) |
#define | STKOUT_OF_RANGE_2ARG2(Where, Arg1, Arg2, Error) throw STK::out_of_range(STKERROR_2ARG2(Where, Arg1, Arg2, Error)) |
throw an STK::out_of_range exception with two arguments. | |
#define | STKOUT_OF_RANGE_2ARG(Where, Arg1, Arg2, Error) STKOUT_OF_RANGE_2ARG2(Where, Arg1, Arg2, Error) |
#define | STKOUT_OF_RANGE_3ARG2(Where, Arg1, Arg2, Arg3, Error) throw STK::out_of_range(STKERROR_3ARG2(Where, Arg1, Arg2, Arg3, Error)) |
throw an STK::out_of_range exception with three arguments. | |
#define | STKOUT_OF_RANGE_3ARG(Where, Arg1, Arg2, Arg3, Error) STKOUT_OF_RANGE_3ARG2(Where, Arg1, Arg2, Arg3, Error) |
#define | STKRUNTIME_ERROR_2ARG2(Where, Arg1, Arg2, Error) throw STK::runtime_error(STKERROR_2ARG2(Where, Arg1, Arg2, Error)) |
throw an runtime exception with two arguments. | |
#define | STKRUNTIME_ERROR_2ARG(Where, Arg1, Arg2, Error) STKRUNTIME_ERROR_2ARG2(Where, Arg1, Arg2, Error) |
#define | STKRUNTIME_ERROR_1ARG2(Where, Arg, Error) throw STK::runtime_error(STKERROR_1ARG2(Where, Arg, Error)) |
throw an runtime exception with one arguments. | |
#define | STKRUNTIME_ERROR_1ARG(Where, Arg, Error) STKRUNTIME_ERROR_1ARG2(Where, Arg, Error) |
#define | STKRUNTIME_ERROR_NO_ARG2(Where, Error) throw STK::runtime_error(STKERROR_NO_ARG2(Where, Error)) |
throw an runtime exception with one arguments. | |
#define | STKRUNTIME_ERROR_NO_ARG(Where, Error) STKRUNTIME_ERROR_NO_ARG2(Where, Error) |
#define | STKDOMAIN_ERROR_2ARG2(Where, Arg1, Arg2, Error) throw STK::domain_error(STKERROR_2ARG2(Where, Arg1, Arg2, Error)) |
throw an domain exception with two arguments. | |
#define | STKDOMAIN_ERROR_2ARG(Where, Arg1, Arg2, Error) STKDOMAIN_ERROR_2ARG2(Where, Arg1, Arg2, Error) |
#define | STKDOMAIN_ERROR_3ARG2(Where, Arg1, Arg2, Arg3, Error) throw STK::domain_error(STKERROR_3ARG2(Where, Arg1, Arg2, Arg3, Error)) |
throw an domain exception with two arguments. | |
#define | STKDOMAIN_ERROR_3ARG(Where, Arg1, Arg2, Arg3, Error) STKDOMAIN_ERROR_3ARG2(Where, Arg1, Arg2, Arg3, Error) |
#define | STKDOMAIN_ERROR_1ARG2(Where, Arg, Error) throw STK::domain_error(STKERROR_1ARG2(Where, Arg, Error)) |
throw an domain exception with one arguments. | |
#define | STKDOMAIN_ERROR_1ARG(Where, Arg, Error) STKDOMAIN_ERROR_1ARG2(Where, Arg, Error) |
#define | STKDOMAIN_ERROR_NO_ARG2(Where, Error) throw STK::domain_error(STKERROR_NO_ARG2(Where, Error)) |
throw an domain exception with no argument. | |
#define | STKDOMAIN_ERROR_NO_ARG(Where, Error) STKDOMAIN_ERROR_NO_ARG2(Where, Error) |
#define | STKINVALIDARGUMENT_ERROR_2ARG2(Where, Arg1, Arg2, Error) throw STK::invalid_argument(STKERROR_2ARG2(Where, Arg1, Arg2, Error)) |
throw an invalid argument exception with two arguments. | |
#define | STKINVALIDARGUMENT_ERROR_2ARG(Where, Arg1, Arg2, Error) STKINVALIDARGUMENT_ERROR_2ARG2(Where, Arg1, Arg2, Error) |
#define | STKINVALIDARGUMENT_ERROR_1ARG2(Where, Arg1, Error) throw STK::invalid_argument(STKERROR_1RG2(Where, Arg1, Error)) |
throw an invalid argument exception with one argument. | |
#define | STKINVALIDARGUMENT_ERROR_1ARG(Where, Arg1, Error) STKINVALIDARGUMENT_ERROR_1ARG2(Where, Arg1, Error) |
#define | STKINVALIDARGUMENT_ERROR_NO_ARG2(Where, Error) throw STK::invalid_argument(STKERROR_NO_ARG2(Where, Error)) |
throw an invalid argument exception with no argument. | |
#define | STKINVALIDARGUMENT_ERROR_NO_ARG(Where, Error) STKINVALIDARGUMENT_ERROR_NO_ARG2(Where, Error) |
In this file we define the macro and utilities function used throughout the stk++ library.
In this file we define the macros allowing to know the version we are using.
This is in most case a support for handling errors messages and errors exceptions.
Definition in file STK_Macros.h.
#define STKDOMAIN_ERROR_1ARG | ( | Where, | |
Arg, | |||
Error | |||
) | STKDOMAIN_ERROR_1ARG2(Where, Arg, Error) |
Definition at line 165 of file STK_Macros.h.
#define STKDOMAIN_ERROR_2ARG | ( | Where, | |
Arg1, | |||
Arg2, | |||
Error | |||
) | STKDOMAIN_ERROR_2ARG2(Where, Arg1, Arg2, Error) |
Definition at line 147 of file STK_Macros.h.
#define STKDOMAIN_ERROR_3ARG | ( | Where, | |
Arg1, | |||
Arg2, | |||
Arg3, | |||
Error | |||
) | STKDOMAIN_ERROR_3ARG2(Where, Arg1, Arg2, Arg3, Error) |
Definition at line 156 of file STK_Macros.h.
#define STKDOMAIN_ERROR_NO_ARG | ( | Where, | |
Error | |||
) | STKDOMAIN_ERROR_NO_ARG2(Where, Error) |
Definition at line 174 of file STK_Macros.h.
#define STKERROR_1ARG | ( | Where, | |
Arg, | |||
Error | |||
) | STKERROR_1ARG2(Where, Arg, Error) |
Definition at line 61 of file STK_Macros.h.
#define STKERROR_2ARG | ( | Where, | |
Arg1, | |||
Arg2, | |||
Error | |||
) | STKERROR_2ARG2(Where, Arg1, Arg2, Error) |
Definition at line 72 of file STK_Macros.h.
#define STKERROR_3ARG | ( | Where, | |
Arg1, | |||
Arg2, | |||
Arg3, | |||
Error | |||
) | STKERROR_3ARG2(Where, Arg1, Arg2, Arg3, Error) |
Definition at line 84 of file STK_Macros.h.
#define STKERROR_NO_ARG | ( | Where, | |
Error | |||
) | STKERROR_NO_ARG2(Where, Error) |
Definition at line 49 of file STK_Macros.h.
#define STKINVALIDARGUMENT_ERROR_1ARG | ( | Where, | |
Arg1, | |||
Error | |||
) | STKINVALIDARGUMENT_ERROR_1ARG2(Where, Arg1, Error) |
Definition at line 192 of file STK_Macros.h.
#define STKINVALIDARGUMENT_ERROR_2ARG | ( | Where, | |
Arg1, | |||
Arg2, | |||
Error | |||
) | STKINVALIDARGUMENT_ERROR_2ARG2(Where, Arg1, Arg2, Error) |
Definition at line 183 of file STK_Macros.h.
#define STKINVALIDARGUMENT_ERROR_NO_ARG | ( | Where, | |
Error | |||
) | STKINVALIDARGUMENT_ERROR_NO_ARG2(Where, Error) |
Definition at line 201 of file STK_Macros.h.
#define STKOUT_OF_RANGE_1ARG | ( | Where, | |
Arg, | |||
Error | |||
) | STKOUT_OF_RANGE_1ARG2(Where, Arg, Error) |
Definition at line 93 of file STK_Macros.h.
#define STKOUT_OF_RANGE_2ARG | ( | Where, | |
Arg1, | |||
Arg2, | |||
Error | |||
) | STKOUT_OF_RANGE_2ARG2(Where, Arg1, Arg2, Error) |
Definition at line 102 of file STK_Macros.h.
#define STKOUT_OF_RANGE_3ARG | ( | Where, | |
Arg1, | |||
Arg2, | |||
Arg3, | |||
Error | |||
) | STKOUT_OF_RANGE_3ARG2(Where, Arg1, Arg2, Arg3, Error) |
Definition at line 111 of file STK_Macros.h.
#define STKRUNTIME_ERROR_1ARG | ( | Where, | |
Arg, | |||
Error | |||
) | STKRUNTIME_ERROR_1ARG2(Where, Arg, Error) |
Definition at line 129 of file STK_Macros.h.
#define STKRUNTIME_ERROR_2ARG | ( | Where, | |
Arg1, | |||
Arg2, | |||
Error | |||
) | STKRUNTIME_ERROR_2ARG2(Where, Arg1, Arg2, Error) |
Definition at line 120 of file STK_Macros.h.
#define STKRUNTIME_ERROR_NO_ARG | ( | Where, | |
Error | |||
) | STKRUNTIME_ERROR_NO_ARG2(Where, Error) |
Definition at line 138 of file STK_Macros.h.