#include <DCUnaryAdapter.h>
Public Types | |
typedef TFunc::argument_type | argument_type |
typedef TFunc::argument_type | argument_type |
typedef TFunc::result_type | result_type |
typedef TFunc::result_type | result_type |
Public Member Functions | |
DCUnaryAdapter (TFunc *iFunc) | |
DCUnaryAdapter (TFunc &iFunc) | |
DCUnaryAdapter () | |
DCUnaryAdapter (TFunc *iFunc) | |
DCUnaryAdapter (TFunc &iFunc) | |
DCUnaryAdapter () | |
operator bool () | |
operator bool () | |
result_type | operator() (argument_type iArg) const |
result_type | operator() (argument_type iArg) const |
Private Attributes | |
TFunc * | m_func |
TFunc * | m_func |
|
|
|
|
|
|
|
|
|
00050 : m_func(0) {}
|
|
00051 : m_func(&iFunc) {}
|
|
00052 : m_func(iFunc) {}
|
|
00050 : m_func(0) {}
|
|
00051 : m_func(&iFunc) {}
|
|
00052 : m_func(iFunc) {}
|
|
00063 {
00064 return 0 != m_func;
00065 }
|
|
00063 {
00064 return 0 != m_func;
00065 }
|
|
00059 {
00060 return (*m_func)(iArg);
00061 }
|
|
00059 {
00060 return (*m_func)(iArg);
00061 }
|
|
|
|
|