Public Member Functions

nitro::MemberFunctionWrapper< void > Class Template Reference

#include <utilities/testing_utilities.h>

List of all members.

Public Member Functions

template<class class_type >
int operator() (void(class_type::*CallingFunction)(void) const , class_type &ob)
template<class class_type >
int operator() (void(class_type::*CallingFunction)(void), class_type &ob)
template<class class_type , class type1 >
int operator() (void(class_type::*CallingFunction)(type1) const , class_type &ob, type1 &Param1)
template<class class_type , class type1 >
int operator() (void(class_type::*CallingFunction)(type1), class_type &ob, type1 &Param1)
template<class class_type , class type1 , class type2 >
int operator() (void(class_type::*CallingFunction)(type1, type2) const , class_type &ob, type1 &Param1, type2 &Param2)
template<class class_type , class type1 , class type2 >
int operator() (void(class_type::*CallingFunction)(type1, type2), class_type &ob, type1 &Param1, type2 &Param2)
template<class class_type , class type1 , class type2 , class type3 >
int operator() (void(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 >
int operator() (void(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 >
int operator() (void(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 >
int operator() (void(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 >
int operator() (void(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 >
int operator() (void(class_type::*CallingFunction)(type1, type2, type3, type4, type5), class_type &ob, type1 &Param1, type2 &Param2, type3 &Param3, type4 &Param4, type5 &Param5)

Detailed Description

template<>
class nitro::MemberFunctionWrapper< void >

Definition at line 950 of file testing_utilities.h.


Member Function Documentation

template<class class_type >
int nitro::MemberFunctionWrapper< void >::operator() ( void(class_type::*)(void) const   CallingFunction,
class_type &  ob 
) [inline]

Wrapper calls function without any parameter.

Parameters:
CallingFunction - Calling function
ob - Object wich will call function.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 976 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )();
                        return( 0 );
                }

template<class class_type , class type1 , class type2 , class type3 , class type4 , class type5 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(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 4 parameters.

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.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1415 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 , Param4 , Param5 );
                        return( 0 );
                }

template<class class_type , class type1 , class type2 , class type3 , class type4 , class type5 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(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 4 parameters.

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.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1366 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 , Param4 , Param5 );
                        return( 0 );
                }

template<class class_type , class type1 , class type2 , class type3 , class type4 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(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.

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.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1317 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 , Param4 );
                        return( 0 );
                }

template<class class_type , class type1 , class type2 , class type3 , class type4 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(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.

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.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1272 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 , Param4 );
                        return( 0 );
                }

template<class class_type , class type1 , class type2 , class type3 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(class_type::*)(type1, type2, type3)  CallingFunction,
class_type &  ob,
type1 &  Param1,
type2 &  Param2,
type3 &  Param3 
) [inline]

Wrapper calls function with 3 parameters.

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.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1227 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 );
                        return( 0 );
                }

template<class class_type , class type1 , class type2 , class type3 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(class_type::*)(type1, type2, type3) const   CallingFunction,
class_type &  ob,
type1 &  Param1,
type2 &  Param2,
type3 &  Param3 
) [inline]

Wrapper calls function with 3 parameters.

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.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1186 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 , Param2 , Param3 );
                        return( 0 );
                }

template<class class_type , class type1 , class type2 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(class_type::*)(type1, type2)  CallingFunction,
class_type &  ob,
type1 &  Param1,
type2 &  Param2 
) [inline]

Wrapper calls function with 2 parameters.

Parameters:
CallingFunction - Calling function.
ob - Object wich will call function.
Param1 - Parameter of the wrapped function.
Param2 - Parameter of the wrapped function.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1145 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 , Param2 );
                        return( 0 );
                }

template<class class_type , class type1 , class type2 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(class_type::*)(type1, type2) const   CallingFunction,
class_type &  ob,
type1 &  Param1,
type2 &  Param2 
) [inline]

Wrapper calls function with 2 parameters.

Parameters:
CallingFunction - Calling function.
ob - Object wich will call function.
Param1 - Parameter of the wrapped function.
Param2 - Parameter of the wrapped function.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1108 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 , Param2 );
                        return( 0 );
                }

template<class class_type , class type1 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(class_type::*)(type1)  CallingFunction,
class_type &  ob,
type1 &  Param1 
) [inline]

Wrapper calls function with 1 parameter.

Parameters:
CallingFunction - Calling function
ob - Object wich will call function.
Param1 - Parameter of the wrapped function.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1071 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 );
                        return( 0 );
                }

template<class class_type , class type1 >
int nitro::MemberFunctionWrapper< void >::operator() ( void(class_type::*)(type1) const   CallingFunction,
class_type &  ob,
type1 &  Param1 
) [inline]

Wrapper calls function with 1 parameter.

Parameters:
CallingFunction - Calling function
ob - Object wich will call function.
Param1 - Parameter of the wrapped function.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1038 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )( Param1 );
                        return( 0 );
                }

template<class class_type >
int nitro::MemberFunctionWrapper< void >::operator() ( void(class_type::*)(void)  CallingFunction,
class_type &  ob 
) [inline]

Wrapper calls function without any parameter.

Parameters:
CallingFunction - Calling function
ob - Object wich will call function.
Returns:
Always 0.
Author:
Dododnov A.A.

Definition at line 1005 of file testing_utilities.h.

                {
                        ( ( &ob )->*CallingFunction )();
                        return( 0 );
                }


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

Generated by  doxygen 1.6.1