KASKADE 7 development version
Public Member Functions | List of all members
Kaskade::Get< Type, Source > Struct Template Reference

Get object from reference or functor. Is itself a functor. More...

#include <get.hh>

Detailed Description

template<class Type, class Source>
struct Kaskade::Get< Type, Source >

Get object from reference or functor. Is itself a functor.

Source should not be inherited from Type to guarantee proper behaviour!!

Parameters
Typeobject type
Sourcesource, i.e. functor type if object is obtained via a functor.

Definition at line 24 of file get.hh.

Public Member Functions

 Get ()
 
 Get (Source const &source)
 
 Get (Get const &get)
 
Getoperator= (Get const &get)
 
Type operator() () const
 

Constructor & Destructor Documentation

◆ Get() [1/3]

template<class Type , class Source >
Kaskade::Get< Type, Source >::Get ( )
inline

Definition at line 25 of file get.hh.

◆ Get() [2/3]

template<class Type , class Source >
Kaskade::Get< Type, Source >::Get ( Source const &  source)
inlineexplicit

Definition at line 26 of file get.hh.

◆ Get() [3/3]

template<class Type , class Source >
Kaskade::Get< Type, Source >::Get ( Get< Type, Source > const &  get)
inline

Definition at line 27 of file get.hh.

Member Function Documentation

◆ operator()()

template<class Type , class Source >
Type Kaskade::Get< Type, Source >::operator() ( ) const
inline

Definition at line 31 of file get.hh.

◆ operator=()

template<class Type , class Source >
Get & Kaskade::Get< Type, Source >::operator= ( Get< Type, Source > const &  get)
inline

Definition at line 29 of file get.hh.


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