Public Types | Static Public Attributes

PHAL::TypeKeyMap< TypeMap >::GetObjectTypeAndPos< T > Struct Template Reference

Meta-function for getting the object type indexed by T. More...

#include <PHAL_TypeKeyMap.hpp>

List of all members.

Public Types

typedef boost::mpl::find_if
< TypeMap, boost::is_same
< boost::mpl::first
< boost::mpl::placeholders::_1 >
, T > >::type 
Iter
typedef boost::mpl::deref
< Iter >::type 
Pair
typedef boost::mpl::second
< Pair >::type 
type
typedef Iter::pos pos

Static Public Attributes

static const int value = pos::value

Detailed Description

template<typename TypeMap>
template<typename T>
struct PHAL::TypeKeyMap< TypeMap >::GetObjectTypeAndPos< T >

Meta-function for getting the object type indexed by T.

Definition at line 40 of file PHAL_TypeKeyMap.hpp.


Member Typedef Documentation

template<typename TypeMap>
template<typename T>
typedef boost::mpl::find_if< TypeMap, boost::is_same<boost::mpl::first<boost::mpl::placeholders::_1>, T > >::type PHAL::TypeKeyMap< TypeMap >::GetObjectTypeAndPos< T >::Iter

Definition at line 44 of file PHAL_TypeKeyMap.hpp.

template<typename TypeMap>
template<typename T>
typedef boost::mpl::deref<Iter>::type PHAL::TypeKeyMap< TypeMap >::GetObjectTypeAndPos< T >::Pair

Definition at line 45 of file PHAL_TypeKeyMap.hpp.

template<typename TypeMap>
template<typename T>
typedef boost::mpl::second<Pair>::type PHAL::TypeKeyMap< TypeMap >::GetObjectTypeAndPos< T >::type

Definition at line 46 of file PHAL_TypeKeyMap.hpp.

template<typename TypeMap>
template<typename T>
typedef Iter::pos PHAL::TypeKeyMap< TypeMap >::GetObjectTypeAndPos< T >::pos

Definition at line 47 of file PHAL_TypeKeyMap.hpp.


Member Data Documentation

template<typename TypeMap>
template<typename T>
const int PHAL::TypeKeyMap< TypeMap >::GetObjectTypeAndPos< T >::value = pos::value [static]

Definition at line 48 of file PHAL_TypeKeyMap.hpp.


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