Class wrapps member-function call. More...
#include <utilities/testing_utilities.h>
Public Member Functions | |
| template<class class_type > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(void) const , class_type &ob) |
| template<class class_type > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(void), class_type &ob) |
| template<class class_type , class type1 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1) const , class_type &ob, type1 &Param1) |
| template<class class_type , class type1 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1), class_type &ob, type1 &Param1) |
| template<class class_type , class type1 , class type2 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1, type2) const , class_type &ob, type1 &Param1, type2 &Param2) |
| template<class class_type , class type1 , class type2 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1, type2), class_type &ob, type1 &Param1, type2 &Param2) |
| template<class class_type , class type1 , class type2 , class type3 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1, type2, type3) const , class_type &ob, type1 &Param1, type2 &Param2, type3 &Param3) |
| template<class class_type , class type1 , class type2 , class type3 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1, type2, type3), class_type &ob, type1 &Param1, type2 &Param2, type3 &Param3) |
| template<class class_type , class type1 , class type2 , class type3 , class type4 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1, type2, type3, type4) const , class_type &ob, type1 &Param1, type2 &Param2, type3 &Param3, type4 &Param4) |
| template<class class_type , class type1 , class type2 , class type3 , class type4 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1, type2, type3, type4), class_type &ob, type1 &Param1, type2 &Param2, type3 &Param3, type4 &Param4) |
| template<class class_type , class type1 , class type2 , class type3 , class type4 , class type5 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1, type2, type3, type4, type5) const , class_type &ob, type1 &Param1, type2 &Param2, type3 &Param3, type4 &Param4, type5 &Param5) |
| template<class class_type , class type1 , class type2 , class type3 , class type4 , class type5 > | |
| ret_value_type | operator() (ret_value_type(class_type::*CallingFunction)(type1, type2, type3, type4, type5), class_type &ob, type1 &Param1, type2 &Param2, type3 &Param3, type4 &Param4, type5 &Param5) |
Class wrapps member-function call.
Class wrapps member-function call (in case function returns void).
Definition at line 478 of file testing_utilities.h.
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(void) const | CallingFunction, | |
| class_type & | ob | |||
| ) | [inline] |
Wrapper calls function without any parameter.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. |
Definition at line 504 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )() );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1, type2, type3, type4, type5) | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1, | |||
| type2 & | Param2, | |||
| type3 & | Param3, | |||
| type4 & | Param4, | |||
| type5 & | Param5 | |||
| ) | [inline] |
Wrapper calls function with 5 parameters.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. | |
| Param2 | - Parameter of the wrapped function. | |
| Param3 | - Parameter of the wrapped function. | |
| Param4 | - Parameter of the wrapped function. | |
| Param5 | - Parameter of the wrapped function. |
Definition at line 932 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 , Param4 , Param5 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1, type2, type3, type4, type5) const | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1, | |||
| type2 & | Param2, | |||
| type3 & | Param3, | |||
| type4 & | Param4, | |||
| type5 & | Param5 | |||
| ) | [inline] |
Wrapper calls function with 5 parameters.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. | |
| Param2 | - Parameter of the wrapped function. | |
| Param3 | - Parameter of the wrapped function. | |
| Param4 | - Parameter of the wrapped function. | |
| Param5 | - Parameter of the wrapped function. |
Definition at line 884 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 , Param4 , Param5 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1, type2, type3, type4) | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1, | |||
| type2 & | Param2, | |||
| type3 & | Param3, | |||
| type4 & | Param4 | |||
| ) | [inline] |
Wrapper calls function with 4 parameters.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. | |
| Param2 | - Parameter of the wrapped function. | |
| Param3 | - Parameter of the wrapped function. | |
| Param4 | - Parameter of the wrapped function. |
Definition at line 836 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 , Param4 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1, type2, type3, type4) const | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1, | |||
| type2 & | Param2, | |||
| type3 & | Param3, | |||
| type4 & | Param4 | |||
| ) | [inline] |
Wrapper calls function with 4 parameters.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. | |
| Param2 | - Parameter of the wrapped function. | |
| Param3 | - Parameter of the wrapped function. | |
| Param4 | - Parameter of the wrapped function. |
Definition at line 792 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 , Param4 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1, type2, type3) | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1, | |||
| type2 & | Param2, | |||
| type3 & | Param3 | |||
| ) | [inline] |
Wrapper calls function with 3 parameters.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. | |
| Param2 | - Parameter of the wrapped function. | |
| Param3 | - Parameter of the wrapped function. |
Definition at line 748 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1, type2, type3) const | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1, | |||
| type2 & | Param2, | |||
| type3 & | Param3 | |||
| ) | [inline] |
Wrapper calls function with 3 parameters.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. | |
| Param2 | - Parameter of the wrapped function. | |
| Param3 | - Parameter of the wrapped function. |
Definition at line 708 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1, type2) | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1, | |||
| type2 & | Param2 | |||
| ) | [inline] |
Wrapper calls function with 2 parameters.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. | |
| Param2 | - Parameter of the wrapped function. |
Definition at line 668 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 , Param2 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1, type2) const | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1, | |||
| type2 & | Param2 | |||
| ) | [inline] |
Wrapper calls function with 2 parameters.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. | |
| Param2 | - Parameter of the wrapped function. |
Definition at line 632 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 , Param2 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1) | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1 | |||
| ) | [inline] |
Wrapper calls function with 1 parameter.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. |
Definition at line 596 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(type1) const | CallingFunction, | |
| class_type & | ob, | |||
| type1 & | Param1 | |||
| ) | [inline] |
Wrapper calls function with 1 parameter.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. | |
| Param1 | - Parameter of the wrapped function. |
Definition at line 564 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )( Param1 ) );
}
| ret_value_type nitro::MemberFunctionWrapper< ret_value_type >::operator() | ( | ret_value_type(class_type::*)(void) | CallingFunction, | |
| class_type & | ob | |||
| ) | [inline] |
Wrapper calls function without any parameter.
| CallingFunction | - Calling function | |
| ob | - Object wich will call function. |
Definition at line 532 of file testing_utilities.h.
{
return( ( ( &ob )->*CallingFunction )() );
}
1.6.1