Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

dchain::DCUnaryAdapter< TFunc > Class Template Reference

#include <DCUnaryAdapter.h>

List of all members.

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

template<class TFunc>
class dchain::DCUnaryAdapter< TFunc >


Member Typedef Documentation

template<class TFunc>
typedef TFunc::argument_type dchain::DCUnaryAdapter< TFunc >::argument_type
 

template<class TFunc>
typedef TFunc::argument_type dchain::DCUnaryAdapter< TFunc >::argument_type
 

template<class TFunc>
typedef TFunc::result_type dchain::DCUnaryAdapter< TFunc >::result_type
 

template<class TFunc>
typedef TFunc::result_type dchain::DCUnaryAdapter< TFunc >::result_type
 


Constructor & Destructor Documentation

template<class TFunc>
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter  )  [inline]
 

00050 : m_func(0) {}

template<class TFunc>
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter TFunc &  iFunc  )  [inline]
 

00051 : m_func(&iFunc) {}

template<class TFunc>
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter TFunc *  iFunc  )  [inline]
 

00052 : m_func(iFunc) {}

template<class TFunc>
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter  )  [inline]
 

00050 : m_func(0) {}

template<class TFunc>
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter TFunc &  iFunc  )  [inline]
 

00051 : m_func(&iFunc) {}

template<class TFunc>
dchain::DCUnaryAdapter< TFunc >::DCUnaryAdapter TFunc *  iFunc  )  [inline]
 

00052 : m_func(iFunc) {}


Member Function Documentation

template<class TFunc>
dchain::DCUnaryAdapter< TFunc >::operator bool  )  [inline]
 

00063                       {
00064          return 0 != m_func;
00065       }

template<class TFunc>
dchain::DCUnaryAdapter< TFunc >::operator bool  )  [inline]
 

00063                       {
00064          return 0 != m_func;
00065       }

template<class TFunc>
result_type dchain::DCUnaryAdapter< TFunc >::operator() argument_type  iArg  )  const [inline]
 

00059                                                        {
00060          return (*m_func)(iArg);
00061       }

template<class TFunc>
result_type dchain::DCUnaryAdapter< TFunc >::operator() argument_type  iArg  )  const [inline]
 

00059                                                        {
00060          return (*m_func)(iArg);
00061       }


Member Data Documentation

template<class TFunc>
TFunc* dchain::DCUnaryAdapter< TFunc >::m_func [private]
 

template<class TFunc>
TFunc* dchain::DCUnaryAdapter< TFunc >::m_func [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 19:16:40 2011 for BOSS6.5.5 by  doxygen 1.3.9.1