BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlf::MemFn< PROTOTYPE > Class Template Reference

#include <bdlf_memfn.h>

Public Types

typedef Traits::ResultType ResultType
 
typedef Traits::ArgumentList Args
 
typedef Traits::ClassType ObjectType
 
typedef PROTOTYPE Prototype
 
typedef PROTOTYPE ProtoType
 

Public Member Functions

 MemFn (PROTOTYPE func)
 
 MemFn (const MemFn< PROTOTYPE > &original)
 
 ~MemFn ()=default
 Destroy this object.
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10, ARG11 arg11) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10, ARG11 arg11, ARG12 arg12) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10, ARG11 arg11, ARG12 arg12, ARG13 arg13) const
 
template<class INSTANCE >
ResultType operator() (INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10, ARG11 arg11, ARG12 arg12, ARG13 arg13, ARG14 arg14) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10, ARG11 arg11) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10, ARG11 arg11, ARG12 arg12) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10, ARG11 arg11, ARG12 arg12, ARG13 arg13) const
 
template<class INSTANCE >
ResultType operator() (const INSTANCE &object, ARG1 arg1, ARG2 arg2, ARG3 arg3, ARG4 arg4, ARG5 arg5, ARG6 arg6, ARG7 arg7, ARG8 arg8, ARG9 arg9, ARG10 arg10, ARG11 arg11, ARG12 arg12, ARG13 arg13, ARG14 arg14) const
 

Detailed Description

template<class PROTOTYPE>
class bdlf::MemFn< PROTOTYPE >

This class encapsulates a member function pointer having the parameterized PROTOTYPE, such that the member function pointer can be invoked in syntactically the same manner as a free function pointer. When invoking a member function through this wrapper, the first argument must be a pointer or reference to the instance on which to invoke the member function pointer. Zero to fourteen additional arguments may be specified depending on PROTOTYPE.

See bdlf_memfn

Member Typedef Documentation

◆ Args

template<class PROTOTYPE >
typedef Traits::ArgumentList bdlf::MemFn< PROTOTYPE >::Args

Args is an alias for the list of arguments passed to an invocation of this member function wrapper, expressed as a bslmf_Typelist.

◆ ObjectType

template<class PROTOTYPE >
typedef Traits::ClassType bdlf::MemFn< PROTOTYPE >::ObjectType

ObjectType is an alias for the class type to which the member function that is wrapped belongs.

◆ Prototype

template<class PROTOTYPE >
typedef PROTOTYPE bdlf::MemFn< PROTOTYPE >::Prototype

ProtoType is an alias for the parameterized PROTOTYPE passed as a template argument to this wrapper.

◆ ProtoType

template<class PROTOTYPE >
typedef PROTOTYPE bdlf::MemFn< PROTOTYPE >::ProtoType

ProtoType is an alias for the parameterized PROTOTYPE passed as a template argument to this wrapper.

DEPRECATED: Use Prototype instead.

◆ ResultType

template<class PROTOTYPE >
typedef Traits::ResultType bdlf::MemFn< PROTOTYPE >::ResultType

ResultType is an alias for the type of the object returned by an invocation of this member function wrapper.

Constructor & Destructor Documentation

◆ MemFn() [1/2]

template<class PROTOTYPE >
bdlf::MemFn< PROTOTYPE >::MemFn ( PROTOTYPE  func)
inlineexplicit

Create a member function pointer wrapper holding the address of the specified func member function having the parameterized PROTOTYPE.

◆ MemFn() [2/2]

template<class PROTOTYPE >
bdlf::MemFn< PROTOTYPE >::MemFn ( const MemFn< PROTOTYPE > &  original)
inline

Create a member function pointer wrapper holding the address of the same member function as the specified original object.

◆ ~MemFn()

template<class PROTOTYPE >
bdlf::MemFn< PROTOTYPE >::~MemFn ( )
default

Member Function Documentation

◆ operator()() [1/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with no arguments, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [2/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified argument arg1, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [3/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg2, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [4/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg3, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [5/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg4, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [6/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg5, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [7/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg6, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [8/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg7, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [9/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg8, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [10/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg9, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [11/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg10, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [12/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10,
ARG11  arg11 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg11, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [13/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10,
ARG11  arg11,
ARG12  arg12 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg12, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [14/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10,
ARG11  arg11,
ARG12  arg12,
ARG13  arg13 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg13, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [15/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( const INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10,
ARG11  arg11,
ARG12  arg12,
ARG13  arg13,
ARG14  arg14 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a non-modifiable instance of the parameterized INSTANCE type, with the specified arguments arg1 up to arg14, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [16/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with no specified arguments, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [17/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [18/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg2, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [19/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg3, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [20/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg4, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [21/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg5, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [22/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg6, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [23/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg7, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [24/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg8, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [25/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg9, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [26/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg10, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [27/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10,
ARG11  arg11 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg11, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [28/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10,
ARG11  arg11,
ARG12  arg12 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg12, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [29/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10,
ARG11  arg11,
ARG12  arg12,
ARG13  arg13 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg13, and return the result of this invocation, or void if this member function pointer does not return a result.

◆ operator()() [30/30]

template<class PROTOTYPE >
template<class INSTANCE >
ResultType bdlf::MemFn< PROTOTYPE >::operator() ( INSTANCE &  object,
ARG1  arg1,
ARG2  arg2,
ARG3  arg3,
ARG4  arg4,
ARG5  arg5,
ARG6  arg6,
ARG7  arg7,
ARG8  arg8,
ARG9  arg9,
ARG10  arg10,
ARG11  arg11,
ARG12  arg12,
ARG13  arg13,
ARG14  arg14 
) const
inline

Invoke the member function pointer held by this wrapper on the specified object reference to a modifiable instance of the parameterized INSTANCE type, with the specified argument arg1 up to arg14, and return the result of this invocation, or void if this member function pointer does not return a result.


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