Panzer Version of the Day
Loading...
Searching...
No Matches
panzer::TypeAssocMap< TypesVector, ValueType > Class Template Reference

#include <Panzer_TypeAssocMap.hpp>

Inheritance diagram for panzer::TypeAssocMap< TypesVector, ValueType >:

Classes

struct  BuildObjects
 This struct helps will build the values stored in the map. More...
 

Public Types

typedef TypesVector types_vector
 

Public Member Functions

 TypeAssocMap ()
 
template<typename T>
void set (ValueType v)
 Modify routine.
 
template<typename T>
ValueType get () const
 Access routine.
 
template<typename BuilderOpT>
void buildObjects (const BuilderOpT &builder)
 

Public Attributes

std::vector< ValueType > mapValues_
 

Detailed Description

template<typename TypesVector, typename ValueType>
class panzer::TypeAssocMap< TypesVector, ValueType >

This class lets you associate evaluation types with a particular value.

Definition at line 54 of file Panzer_TypeAssocMap.hpp.

Member Typedef Documentation

◆ types_vector

template<typename TypesVector, typename ValueType>
typedef TypesVector panzer::TypeAssocMap< TypesVector, ValueType >::types_vector

Definition at line 56 of file Panzer_TypeAssocMap.hpp.

Constructor & Destructor Documentation

◆ TypeAssocMap()

template<typename TypesVector, typename ValueType>
panzer::TypeAssocMap< TypesVector, ValueType >::TypeAssocMap ( )
inline

Definition at line 58 of file Panzer_TypeAssocMap.hpp.

Member Function Documentation

◆ set()

template<typename TypesVector, typename ValueType>
template<typename T>
void panzer::TypeAssocMap< TypesVector, ValueType >::set ( ValueType v)
inline

Modify routine.

Definition at line 66 of file Panzer_TypeAssocMap.hpp.

◆ get()

template<typename TypesVector, typename ValueType>
template<typename T>
ValueType panzer::TypeAssocMap< TypesVector, ValueType >::get ( ) const
inline

Access routine.

Definition at line 74 of file Panzer_TypeAssocMap.hpp.

◆ buildObjects()

template<typename TypesVector, typename ValueType>
template<typename BuilderOpT>
void panzer::TypeAssocMap< TypesVector, ValueType >::buildObjects ( const BuilderOpT & builder)
inline

Definition at line 81 of file Panzer_TypeAssocMap.hpp.

Member Data Documentation

◆ mapValues_

template<typename TypesVector, typename ValueType>
std::vector<ValueType> panzer::TypeAssocMap< TypesVector, ValueType >::mapValues_

Definition at line 99 of file Panzer_TypeAssocMap.hpp.


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