Honeycomb  0.1
Component-Model Framework
Public Member Functions | Public Attributes | Friends | List of all members
honey::ManipFunc< Func, Tuple > Struct Template Reference

Helper to create a manipulator that takes arguments. More...

#include <StdUtil.h>

Public Member Functions

template<class Func_ , class Tuple_ >
 ManipFunc (Func_ &&f, Tuple_ &&args)
 
template<class Stream , szt... Seq>
void apply (Stream &ios, mt::idxseq< Seq... >) const
 

Public Attributes

Func f
 
Tuple args
 

Friends

template<class Stream >
Stream & operator<< (Stream &os, const ManipFunc &manip)
 
template<class Stream >
Stream & operator>> (Stream &is, const ManipFunc &manip)
 

Detailed Description

template<class Func, class Tuple>
struct honey::ManipFunc< Func, Tuple >

Helper to create a manipulator that takes arguments.

See also
manipFunc()

Constructor & Destructor Documentation

template<class Func , class Tuple >
template<class Func_ , class Tuple_ >
honey::ManipFunc< Func, Tuple >::ManipFunc ( Func_ &&  f,
Tuple_ &&  args 
)
inline

Member Function Documentation

template<class Func , class Tuple >
template<class Stream , szt... Seq>
void honey::ManipFunc< Func, Tuple >::apply ( Stream &  ios,
mt::idxseq< Seq... >   
) const
inline

Friends And Related Function Documentation

template<class Func , class Tuple >
template<class Stream >
Stream& operator<< ( Stream &  os,
const ManipFunc< Func, Tuple > &  manip 
)
friend
template<class Func , class Tuple >
template<class Stream >
Stream& operator>> ( Stream &  is,
const ManipFunc< Func, Tuple > &  manip 
)
friend

Member Data Documentation

template<class Func , class Tuple >
Tuple honey::ManipFunc< Func, Tuple >::args
template<class Func , class Tuple >
Func honey::ManipFunc< Func, Tuple >::f

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