ug4
ug::detail::RegisterTypePairFunctor< TRegistry > Struct Template Reference

#include <register_type_pair_functor.h>

Public Member Functions

template<typename TPair >
void operator() (TPair)
 inserts classes into the set of known classes More...
 
 RegisterTypePairFunctor (TRegistry *reg)
 

Private Attributes

TRegistry * m_reg
 

Constructor & Destructor Documentation

◆ RegisterTypePairFunctor()

template<typename TRegistry >
ug::detail::RegisterTypePairFunctor< TRegistry >::RegisterTypePairFunctor ( TRegistry *  reg)
inline

Member Function Documentation

◆ operator()()

template<typename TRegistry >
template<typename TPair >
void ug::detail::RegisterTypePairFunctor< TRegistry >::operator() ( TPair  )
inline

inserts classes into the set of known classes

This function allows for the usage of boost::mpl::for_each. It assumes that the template type 'TPair' is a boost::mpl::pair which contains an arbitrary type as first entry and a boost::mpl::string as second entry.

References ug::detail::RegisterTypePairFunctor< TRegistry >::m_reg.

Member Data Documentation

◆ m_reg

template<typename TRegistry >
TRegistry* ug::detail::RegisterTypePairFunctor< TRegistry >::m_reg
private

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