SimpleITK  2.0.0
Public Types | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 > Class Template Reference

#include <sitkMemberFunctionFactoryBase.h>

+ Inheritance diagram for itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >:
+ Collaboration diagram for itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >:

Public Types

typedef std::function< MemberFunctionResultType(MemberFunctionArgument0Type, MemberFunctionArgument1Type, MemberFunctionArgument2Type, MemberFunctionArgument3Type, MemberFunctionArgument4Type) > FunctionObjectType
 

Protected Types

using FunctionMapType = std::unordered_map< TKey, FunctionObjectType, hash< TKey > >
 
using KeyType = TKey
 
using MemberFunctionArgument0Type = typename ::detail::FunctionTraits< MemberFunctionType >::Argument0Type
 
using MemberFunctionArgument1Type = typename ::detail::FunctionTraits< MemberFunctionType >::Argument1Type
 
using MemberFunctionArgument2Type = typename ::detail::FunctionTraits< MemberFunctionType >::Argument2Type
 
using MemberFunctionArgument3Type = typename ::detail::FunctionTraits< MemberFunctionType >::Argument3Type
 
using MemberFunctionArgument4Type = typename ::detail::FunctionTraits< MemberFunctionType >::Argument4Type
 
using MemberFunctionResultType = typename ::detail::FunctionTraits< MemberFunctionType >::ResultType
 
using MemberFunctionType = TMemberFunctionPointer
 
using ObjectType = typename ::detail::FunctionTraits< MemberFunctionType >::ClassType
 

Protected Member Functions

 MemberFunctionFactoryBase ()
 
- Protected Member Functions inherited from itk::simple::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

Static Protected Member Functions

static FunctionObjectType BindObject (MemberFunctionType pfunc, ObjectType *objectPointer)
 

Protected Attributes

FunctionMapType m_PFunction
 

Detailed Description

template<typename TMemberFunctionPointer, typename TKey>
class itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >

Definition at line 373 of file sitkMemberFunctionFactoryBase.h.

Member Typedef Documentation

◆ FunctionMapType

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::FunctionMapType = std::unordered_map< TKey, FunctionObjectType, hash<TKey> >
protected

Definition at line 425 of file sitkMemberFunctionFactoryBase.h.

◆ FunctionObjectType

the pointer MemberFunctionType redefined ad a tr1::function object

Definition at line 402 of file sitkMemberFunctionFactoryBase.h.

◆ KeyType

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::KeyType = TKey
protected

Definition at line 407 of file sitkMemberFunctionFactoryBase.h.

◆ MemberFunctionArgument0Type

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::MemberFunctionArgument0Type = typename ::detail::FunctionTraits<MemberFunctionType>::Argument0Type
protected

Definition at line 380 of file sitkMemberFunctionFactoryBase.h.

◆ MemberFunctionArgument1Type

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::MemberFunctionArgument1Type = typename ::detail::FunctionTraits<MemberFunctionType>::Argument1Type
protected

Definition at line 381 of file sitkMemberFunctionFactoryBase.h.

◆ MemberFunctionArgument2Type

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::MemberFunctionArgument2Type = typename ::detail::FunctionTraits<MemberFunctionType>::Argument2Type
protected

Definition at line 382 of file sitkMemberFunctionFactoryBase.h.

◆ MemberFunctionArgument3Type

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::MemberFunctionArgument3Type = typename ::detail::FunctionTraits<MemberFunctionType>::Argument3Type
protected

Definition at line 383 of file sitkMemberFunctionFactoryBase.h.

◆ MemberFunctionArgument4Type

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::MemberFunctionArgument4Type = typename ::detail::FunctionTraits<MemberFunctionType>::Argument4Type
protected

Definition at line 384 of file sitkMemberFunctionFactoryBase.h.

◆ MemberFunctionResultType

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::MemberFunctionResultType = typename ::detail::FunctionTraits<MemberFunctionType>::ResultType
protected

Definition at line 379 of file sitkMemberFunctionFactoryBase.h.

◆ MemberFunctionType

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::MemberFunctionType = TMemberFunctionPointer
protected

Definition at line 378 of file sitkMemberFunctionFactoryBase.h.

◆ ObjectType

template<typename TMemberFunctionPointer , typename TKey >
using itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::ObjectType = typename ::detail::FunctionTraits<MemberFunctionType>::ClassType
protected

Definition at line 385 of file sitkMemberFunctionFactoryBase.h.

Constructor & Destructor Documentation

◆ MemberFunctionFactoryBase()

template<typename TMemberFunctionPointer , typename TKey >
itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::MemberFunctionFactoryBase ( )
inlineprotected

Definition at line 388 of file sitkMemberFunctionFactoryBase.h.

Member Function Documentation

◆ BindObject()

template<typename TMemberFunctionPointer , typename TKey >
static FunctionObjectType itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::BindObject ( MemberFunctionType  pfunc,
ObjectType objectPointer 
)
inlinestaticprotected

A function which binds the objectPointer to the calling object argument in the member function pointer, and returns a function object

Definition at line 413 of file sitkMemberFunctionFactoryBase.h.

Member Data Documentation

◆ m_PFunction

template<typename TMemberFunctionPointer , typename TKey >
FunctionMapType itk::simple::detail::MemberFunctionFactoryBase< TMemberFunctionPointer, TKey, 5 >::m_PFunction
protected

Definition at line 428 of file sitkMemberFunctionFactoryBase.h.


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