Public Types | Public Member Functions | Public Attributes | List of all members
DataMap::MapEntry< T > Struct Template Reference

#include <DataMap.h>

Public Types

using Value = T
 
using Map = typename std::map< Name, Value >
 
using Iterator = typename Map::const_iterator
 
using Entry = typename Map::value_type
 

Public Member Functions

 MapEntry (Iterator ient)
 
std::string toString () const
 

Public Attributes

const Entrym_ent
 

Detailed Description

template<typename T>
struct DataMap::MapEntry< T >

Definition at line 81 of file DataMap.h.

Member Typedef Documentation

template<typename T >
using DataMap::MapEntry< T >::Entry = typename Map::value_type

Definition at line 85 of file DataMap.h.

template<typename T >
using DataMap::MapEntry< T >::Iterator = typename Map::const_iterator

Definition at line 84 of file DataMap.h.

template<typename T >
using DataMap::MapEntry< T >::Map = typename std::map<Name,Value>

Definition at line 83 of file DataMap.h.

template<typename T >
using DataMap::MapEntry< T >::Value = T

Definition at line 82 of file DataMap.h.

Constructor & Destructor Documentation

template<typename T >
DataMap::MapEntry< T >::MapEntry ( Iterator  ient)
inline

Definition at line 87 of file DataMap.h.

87 : m_ent(*ient) { }
const Entry & m_ent
Definition: DataMap.h:86

Member Function Documentation

template<typename T >
std::string DataMap::MapEntry< T >::toString ( ) const
inline

Definition at line 88 of file DataMap.h.

88  {
89  std::ostringstream sout;
90  sout << m_ent.first << ": " << m_ent.second;
91  return sout.str();
92  }
const Entry & m_ent
Definition: DataMap.h:86

Member Data Documentation

template<typename T >
const Entry& DataMap::MapEntry< T >::m_ent

Definition at line 86 of file DataMap.h.


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