vdj_pipe
pipeline for processing DNA sequence data
Public Types | Public Member Functions | Private Attributes | List of all members
vdj_pipe::detail::Getter< Stor, Id, Obj, Result, MemFunPtr > Class Template Reference

Extract object by its ID and apply member function. More...

#include <get_by_id.hpp>

Public Types

typedef boost::remove_const< typename boost::remove_reference< Result >::type >::type result_type
 

Public Member Functions

 Getter (Stor const &stor)
 
Result operator() (const Id id) const
 

Private Attributes

Stor const & stor_
 

Detailed Description

template<class Stor, class Id, class Obj, typename Result, Result(Obj::*)() const MemFunPtr>
class vdj_pipe::detail::Getter< Stor, Id, Obj, Result, MemFunPtr >

Extract object by its ID and apply member function.

use as boost::multi_index key extractor for storing object IDs in multi_index

Member Typedef Documentation

template<class Stor , class Id , class Obj , typename Result , Result(Obj::*)() const MemFunPtr>
typedef boost::remove_const< typename boost::remove_reference<Result>::type >::type vdj_pipe::detail::Getter< Stor, Id, Obj, Result, MemFunPtr >::result_type

Constructor & Destructor Documentation

template<class Stor , class Id , class Obj , typename Result , Result(Obj::*)() const MemFunPtr>
vdj_pipe::detail::Getter< Stor, Id, Obj, Result, MemFunPtr >::Getter ( Stor const &  stor)
inlineexplicit

Member Function Documentation

template<class Stor , class Id , class Obj , typename Result , Result(Obj::*)() const MemFunPtr>
Result vdj_pipe::detail::Getter< Stor, Id, Obj, Result, MemFunPtr >::operator() ( const Id  id) const
inline

Member Data Documentation

template<class Stor , class Id , class Obj , typename Result , Result(Obj::*)() const MemFunPtr>
Stor const& vdj_pipe::detail::Getter< Stor, Id, Obj, Result, MemFunPtr >::stor_
private

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