Specialization of the function template class for a method with 3 parameters.
More...
|
| Function () |
| Create a new default function object with a NULL function pointer. More...
|
|
| Function (R(*functionPointer)(T1, T2, T3)) |
| Create a new function object that wraps the specified non-member function pointer. More...
|
|
template<typename ObjectType , typename ObjectType2 > |
| Function (R(ObjectType2::*functionPointer)(T1, T2, T3), ObjectType *objectPointer) |
| Create a new function object that wraps the specified object and member function pointer. More...
|
|
template<typename ObjectType , typename ObjectType2 > |
| Function (R(ObjectType2::*functionPointer)(T1, T2, T3) const, const ObjectType *objectPointer) |
| Create a new function object that wraps the specified object and const member function pointer. More...
|
|
ReturnType | operator() (T1 p1, T2 p2, T3 p3) const |
| Call this function and return its return value. More...
|
|
Bool | operator== (const Function &other) const |
| Return whether or not this function references the same function as another function object. More...
|
|
Bool | operator!= (const Function &other) const |
| Return whether or not this function references a different function as onother function object. More...
|
|
Bool | isNull () const |
| Return whether or not this function object has a function/object pointer that is NULL. More...
|
|
Bool | isSet () const |
| Return whether or not this function object has a function/object pointer that is not NULL. More...
|
|
Bool | isMember () const |
| Return whether or not this function object refers to a member function of a class object. More...
|
|
template<typename R, typename T1, typename T2, typename T3>
class om::lang::Function< R(T1, T2, T3) >
Specialization of the function template class for a method with 3 parameters.
template<typename R , typename T1 , typename T2 , typename T3 >
template<typename ObjectType , typename ObjectType2 >
Create a new function object that wraps the specified object and member function pointer.
template<typename R , typename T1 , typename T2 , typename T3 >
template<typename ObjectType , typename ObjectType2 >
om::lang::Function< R(T1, T2, T3) >::Function |
( |
R(ObjectType2::*)(T1, T2, T3) const |
functionPointer, |
|
|
const ObjectType * |
objectPointer |
|
) |
| |
|
inline |
Create a new function object that wraps the specified object and const member function pointer.
template<typename R , typename T1 , typename T2 , typename T3 >
Return whether or not this function object has a function/object pointer that is NULL.
If this method returns TRUE, calling the function will result in an assertion being raised.
template<typename R , typename T1 , typename T2 , typename T3 >
Return whether or not this function object has a function/object pointer that is not NULL.
If this method returns FALSE, calling the function will result in an assertion being raised.