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

#include <DataMap.h>

Public Types

using Value = typename std::vector< 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< std::vector< T > >

Definition at line 97 of file DataMap.h.

Member Typedef Documentation

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

Definition at line 101 of file DataMap.h.

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

Definition at line 100 of file DataMap.h.

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

Definition at line 99 of file DataMap.h.

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

Definition at line 98 of file DataMap.h.

Constructor & Destructor Documentation

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

Definition at line 103 of file DataMap.h.

103 : m_ent(*ient) { }

Member Function Documentation

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

Definition at line 104 of file DataMap.h.

104  {
105  std::ostringstream sout;
106  sout << m_ent.first << "[" << m_ent.second.size() << "]";
107  return sout.str();
108  }

Member Data Documentation

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

Definition at line 102 of file DataMap.h.


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