43 #ifndef __Panzer_TypeAssocMap_hpp__
44 #define __Panzer_TypeAssocMap_hpp__
46 #include "Sacado_mpl_for_each.hpp"
53 template <
typename TypesVector,
typename ValueType>
60 const int sz = Sacado::mpl::size<TypesVector>::value;
68 const int idx = Sacado::mpl::find<TypesVector,T>::value;
76 const int idx = Sacado::mpl::find<TypesVector,T>::value;
80 template <
typename BuilderOpT>
87 template <
typename BuilderOpT>
89 std::vector<ValueType> &
mv_;
94 const int idx = Sacado::mpl::find<TypesVector,T>::value;
std::vector< ValueType > & mv_
const BuilderOpT & builder_
This struct helps will build the values stored in the map.
void buildObjects(const BuilderOpT &builder)
std::vector< ValueType > mapValues_
void set(ValueType v)
Modify routine.
BuildObjects(std::vector< ValueType > &mv, const BuilderOpT &builder)