CppUnit project page CppUnit home page

functor.h File Reference

#include <cpptl/config.h>

Include dependency graph for functor.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CppTL

Classes

class  CppTL::ReferenceWrapper< T >
class  CppTL::FunctorCommon
class  CppTL::Functor0
class  CppTL::Functor0R< Return >
class  CppTL::Functor1< Arg1 >
class  CppTL::Functor1R< Return, Arg1 >
class  CppTL::Functor2< Arg1, Arg2 >
class  CppTL::Functor2R< Return, Arg1, Arg2 >
class  CppTL::Functor3< Arg1, Arg2, Arg3 >
class  CppTL::Functor3R< Return, Arg1, Arg2, Arg3 >
class  CppTL::Functor4< Arg1, Arg2, Arg3, Arg4 >
class  CppTL::Functor4R< Return, Arg1, Arg2, Arg3, Arg4 >
class  CppTL::Functor5< Arg1, Arg2, Arg3, Arg4, Arg5 >
class  CppTL::Functor5R< Return, Arg1, Arg2, Arg3, Arg4, Arg5 >

Functions

template<class T>
ReferenceWrapper< T > CppTL::ref (T &t)
template<class T>
ReferenceWrapper< const T > CppTL::cref (const T &t)
Functor0 CppTL::cfn0 (void(*function)())
template<class Holder, class Object>
Functor0 CppTL::memfn0 (const Holder &holder, void(Object::*member)())
template<class Functor>
Functor0 CppTL::fn0 (Functor functor)
template<class Functor, class BindArg>
Impl::Bind0< Functor,BindArg > CppTL::bind1 (Functor functor, BindArg arg)
template<class Return>
Functor0R< Return > CppTL::cfn0r (Return(*function)())
template<class Holder, class Object, class Return>
Functor0R< Return > CppTL::memfn0r (const Holder &holder, Return(Object::*member)())
template<class Functor>
Functor0R< typename
Functor::result_type > 
CppTL::fn0r (Functor functor)
template<class Functor, class BindArg>
Impl::Bind0R< Functor,
typename Functor::result_type,BindArg > 
CppTL::bind1r (Functor functor, BindArg arg)
template<class Arg1>
Functor1< Arg1 > CppTL::cfn1 (void(*function)(Arg1 a1))
template<class Holder, class Object, class Arg1>
Functor1< Arg1 > CppTL::memfn1 (const Holder &holder, void(Object::*member)(Arg1 a1))
template<class Functor>
Functor1< typename
Functor::first_argument_type > 
CppTL::fn1 (Functor functor)
template<class Functor, class BindArg>
Impl::Bind1< Functor, typename
Functor::first_argument_type,BindArg > 
CppTL::bind2 (Functor functor, BindArg arg)
template<class Functor, class Arg1>
Functor0 CppTL::bind (Functor functor, Arg1 a1)
template<class Arg1, class FA1>
Functor0 CppTL::bind_cfn (void(*function)(FA1), Arg1 a1)
template<class Holder, class Object, class Arg1, class FA1>
Functor0 CppTL::bind_memfn (const Holder &holder, void(Object::*member)(FA1), Arg1 a1)
template<class Return, class Arg1>
Functor1R< Return, Arg1 > CppTL::cfn1r (Return(*function)(Arg1 a1))
template<class Holder, class Object, class Return, class Arg1>
Functor1R< Return, Arg1 > CppTL::memfn1r (const Holder &holder, Return(Object::*member)(Arg1 a1))
template<class Functor>
Functor1R< typename
Functor::result_type, typename
Functor::first_argument_type > 
CppTL::fn1r (Functor functor)
template<class Functor, class BindArg>
Impl::Bind1R< Functor,
typename Functor::result_type,
typename
Functor::first_argument_type,BindArg > 
CppTL::bind2r (Functor functor, BindArg arg)
template<class Functor, class Arg1>
Functor0R< typename
Functor::result_type > 
CppTL::bindr (Functor functor, Arg1 a1)
template<class Return, class Arg1, class FA1>
Functor0R< Return > CppTL::bind_cfnr (Return(*function)(FA1), Arg1 a1)
template<class Holder, class Object, class Return, class Arg1, class FA1>
Functor0R< Return > CppTL::bind_memfnr (const Holder &holder, Return(Object::*member)(FA1), Arg1 a1)
template<class Arg1, class Arg2>
Functor2< Arg1, Arg2 > CppTL::cfn2 (void(*function)(Arg1 a1, Arg2 a2))
template<class Holder, class Object, class Arg1, class Arg2>
Functor2< Arg1, Arg2 > CppTL::memfn2 (const Holder &holder, void(Object::*member)(Arg1 a1, Arg2 a2))
template<class Functor>
Functor2< typename
Functor::first_argument_type,
typename
Functor::second_argument_type > 
CppTL::fn2 (Functor functor)
template<class Functor, class BindArg>
Impl::Bind2< Functor, typename
Functor::first_argument_type,
typename
Functor::second_argument_type,BindArg > 
CppTL::bind3 (Functor functor, BindArg arg)
template<class Functor, class Arg1, class Arg2>
Functor0 CppTL::bind (Functor functor, Arg1 a1, Arg2 a2)
template<class Arg1, class Arg2, class FA1, class FA2>
Functor0 CppTL::bind_cfn (void(*function)(FA1, FA2), Arg1 a1, Arg2 a2)
template<class Holder, class Object, class Arg1, class Arg2, class FA1, class FA2>
Functor0 CppTL::bind_memfn (const Holder &holder, void(Object::*member)(FA1, FA2), Arg1 a1, Arg2 a2)
template<class Return, class Arg1, class Arg2>
Functor2R< Return, Arg1, Arg2 > CppTL::cfn2r (Return(*function)(Arg1 a1, Arg2 a2))
template<class Holder, class Object, class Return, class Arg1, class Arg2>
Functor2R< Return, Arg1, Arg2 > CppTL::memfn2r (const Holder &holder, Return(Object::*member)(Arg1 a1, Arg2 a2))
template<class Functor>
Functor2R< typename
Functor::result_type, typename
Functor::first_argument_type,
typename
Functor::second_argument_type > 
CppTL::fn2r (Functor functor)
template<class Functor, class BindArg>
Impl::Bind2R< Functor,
typename Functor::result_type,
typename
Functor::first_argument_type,
typename
Functor::second_argument_type,BindArg > 
CppTL::bind3r (Functor functor, BindArg arg)
template<class Functor, class Arg1, class Arg2>
Functor0R< typename
Functor::result_type > 
CppTL::bindr (Functor functor, Arg1 a1, Arg2 a2)
template<class Return, class Arg1, class Arg2, class FA1, class FA2>
Functor0R< Return > CppTL::bind_cfnr (Return(*function)(FA1, FA2), Arg1 a1, Arg2 a2)
template<class Holder, class Object, class Return, class Arg1, class Arg2, class FA1, class FA2>
Functor0R< Return > CppTL::bind_memfnr (const Holder &holder, Return(Object::*member)(FA1, FA2), Arg1 a1, Arg2 a2)
template<class Arg1, class Arg2, class Arg3>
Functor3< Arg1, Arg2, Arg3 > CppTL::cfn3 (void(*function)(Arg1 a1, Arg2 a2, Arg3 a3))
template<class Holder, class Object, class Arg1, class Arg2, class Arg3>
Functor3< Arg1, Arg2, Arg3 > CppTL::memfn3 (const Holder &holder, void(Object::*member)(Arg1 a1, Arg2 a2, Arg3 a3))
template<class Functor>
Functor3< typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type > 
CppTL::fn3 (Functor functor)
template<class Functor, class BindArg>
Impl::Bind3< Functor, typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,BindArg > 
CppTL::bind4 (Functor functor, BindArg arg)
template<class Functor, class Arg1, class Arg2, class Arg3>
Functor0 CppTL::bind (Functor functor, Arg1 a1, Arg2 a2, Arg3 a3)
template<class Arg1, class Arg2, class Arg3, class FA1, class FA2, class FA3>
Functor0 CppTL::bind_cfn (void(*function)(FA1, FA2, FA3), Arg1 a1, Arg2 a2, Arg3 a3)
template<class Holder, class Object, class Arg1, class Arg2, class Arg3, class FA1, class FA2, class FA3>
Functor0 CppTL::bind_memfn (const Holder &holder, void(Object::*member)(FA1, FA2, FA3), Arg1 a1, Arg2 a2, Arg3 a3)
template<class Return, class Arg1, class Arg2, class Arg3>
Functor3R< Return, Arg1, Arg2,
Arg3 > 
CppTL::cfn3r (Return(*function)(Arg1 a1, Arg2 a2, Arg3 a3))
template<class Holder, class Object, class Return, class Arg1, class Arg2, class Arg3>
Functor3R< Return, Arg1, Arg2,
Arg3 > 
CppTL::memfn3r (const Holder &holder, Return(Object::*member)(Arg1 a1, Arg2 a2, Arg3 a3))
template<class Functor>
Functor3R< typename
Functor::result_type, typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type > 
CppTL::fn3r (Functor functor)
template<class Functor, class BindArg>
Impl::Bind3R< Functor,
typename Functor::result_type,
typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,BindArg > 
CppTL::bind4r (Functor functor, BindArg arg)
template<class Functor, class Arg1, class Arg2, class Arg3>
Functor0R< typename
Functor::result_type > 
CppTL::bindr (Functor functor, Arg1 a1, Arg2 a2, Arg3 a3)
template<class Return, class Arg1, class Arg2, class Arg3, class FA1, class FA2, class FA3>
Functor0R< Return > CppTL::bind_cfnr (Return(*function)(FA1, FA2, FA3), Arg1 a1, Arg2 a2, Arg3 a3)
template<class Holder, class Object, class Return, class Arg1, class Arg2, class Arg3, class FA1, class FA2, class FA3>
Functor0R< Return > CppTL::bind_memfnr (const Holder &holder, Return(Object::*member)(FA1, FA2, FA3), Arg1 a1, Arg2 a2, Arg3 a3)
template<class Arg1, class Arg2, class Arg3, class Arg4>
Functor4< Arg1, Arg2, Arg3, Arg4 > CppTL::cfn4 (void(*function)(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4))
template<class Holder, class Object, class Arg1, class Arg2, class Arg3, class Arg4>
Functor4< Arg1, Arg2, Arg3, Arg4 > CppTL::memfn4 (const Holder &holder, void(Object::*member)(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4))
template<class Functor>
Functor4< typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,
typename Functor::arg4_type > 
CppTL::fn4 (Functor functor)
template<class Functor, class BindArg>
Impl::Bind4< Functor, typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,
typename Functor::arg4_type,BindArg > 
CppTL::bind5 (Functor functor, BindArg arg)
template<class Functor, class Arg1, class Arg2, class Arg3, class Arg4>
Functor0 CppTL::bind (Functor functor, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
template<class Arg1, class Arg2, class Arg3, class Arg4, class FA1, class FA2, class FA3, class FA4>
Functor0 CppTL::bind_cfn (void(*function)(FA1, FA2, FA3, FA4), Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
template<class Holder, class Object, class Arg1, class Arg2, class Arg3, class Arg4, class FA1, class FA2, class FA3, class FA4>
Functor0 CppTL::bind_memfn (const Holder &holder, void(Object::*member)(FA1, FA2, FA3, FA4), Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
template<class Return, class Arg1, class Arg2, class Arg3, class Arg4>
Functor4R< Return, Arg1, Arg2,
Arg3, Arg4 > 
CppTL::cfn4r (Return(*function)(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4))
template<class Holder, class Object, class Return, class Arg1, class Arg2, class Arg3, class Arg4>
Functor4R< Return, Arg1, Arg2,
Arg3, Arg4 > 
CppTL::memfn4r (const Holder &holder, Return(Object::*member)(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4))
template<class Functor>
Functor4R< typename
Functor::result_type, typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,
typename Functor::arg4_type > 
CppTL::fn4r (Functor functor)
template<class Functor, class BindArg>
Impl::Bind4R< Functor,
typename Functor::result_type,
typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,
typename Functor::arg4_type,BindArg > 
CppTL::bind5r (Functor functor, BindArg arg)
template<class Functor, class Arg1, class Arg2, class Arg3, class Arg4>
Functor0R< typename
Functor::result_type > 
CppTL::bindr (Functor functor, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
template<class Return, class Arg1, class Arg2, class Arg3, class Arg4, class FA1, class FA2, class FA3, class FA4>
Functor0R< Return > CppTL::bind_cfnr (Return(*function)(FA1, FA2, FA3, FA4), Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
template<class Holder, class Object, class Return, class Arg1, class Arg2, class Arg3, class Arg4, class FA1, class FA2, class FA3, class FA4>
Functor0R< Return > CppTL::bind_memfnr (const Holder &holder, Return(Object::*member)(FA1, FA2, FA3, FA4), Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4)
template<class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
Functor5< Arg1, Arg2, Arg3,
Arg4, Arg5 > 
CppTL::cfn5 (void(*function)(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5))
template<class Holder, class Object, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
Functor5< Arg1, Arg2, Arg3,
Arg4, Arg5 > 
CppTL::memfn5 (const Holder &holder, void(Object::*member)(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5))
template<class Functor>
Functor5< typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,
typename Functor::arg4_type,
typename Functor::arg5_type > 
CppTL::fn5 (Functor functor)
template<class Functor, class BindArg>
Impl::Bind5< Functor, typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,
typename Functor::arg4_type,
typename Functor::arg5_type,BindArg > 
CppTL::bind6 (Functor functor, BindArg arg)
template<class Functor, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
Functor0 CppTL::bind (Functor functor, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)
template<class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class FA1, class FA2, class FA3, class FA4, class FA5>
Functor0 CppTL::bind_cfn (void(*function)(FA1, FA2, FA3, FA4, FA5), Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)
template<class Holder, class Object, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class FA1, class FA2, class FA3, class FA4, class FA5>
Functor0 CppTL::bind_memfn (const Holder &holder, void(Object::*member)(FA1, FA2, FA3, FA4, FA5), Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)
template<class Return, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
Functor5R< Return, Arg1, Arg2,
Arg3, Arg4, Arg5 > 
CppTL::cfn5r (Return(*function)(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5))
template<class Holder, class Object, class Return, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
Functor5R< Return, Arg1, Arg2,
Arg3, Arg4, Arg5 > 
CppTL::memfn5r (const Holder &holder, Return(Object::*member)(Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5))
template<class Functor>
Functor5R< typename
Functor::result_type, typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,
typename Functor::arg4_type,
typename Functor::arg5_type > 
CppTL::fn5r (Functor functor)
template<class Functor, class BindArg>
Impl::Bind5R< Functor,
typename Functor::result_type,
typename
Functor::first_argument_type,
typename
Functor::second_argument_type,
typename Functor::arg3_type,
typename Functor::arg4_type,
typename Functor::arg5_type,BindArg > 
CppTL::bind6r (Functor functor, BindArg arg)
template<class Functor, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5>
Functor0R< typename
Functor::result_type > 
CppTL::bindr (Functor functor, Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)
template<class Return, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class FA1, class FA2, class FA3, class FA4, class FA5>
Functor0R< Return > CppTL::bind_cfnr (Return(*function)(FA1, FA2, FA3, FA4, FA5), Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)
template<class Holder, class Object, class Return, class Arg1, class Arg2, class Arg3, class Arg4, class Arg5, class FA1, class FA2, class FA3, class FA4, class FA5>
Functor0R< Return > CppTL::bind_memfnr (const Holder &holder, Return(Object::*member)(FA1, FA2, FA3, FA4, FA5), Arg1 a1, Arg2 a2, Arg3 a3, Arg4 a4, Arg5 a5)


SourceForge Logo hosts this site. Send comments to:
CppUnit Developers