Public Types | Public Member Functions | Private Attributes | List of all members
CRT::map< VALUE, KEY, KEYS > Class Template Reference

#include <CRTID.h>

Public Types

using most_derived_key_type = typename CRT::map< VALUE, KEYS... >::most_derived_key_type
 
using iterator = decltype(fMap.begin())
 
using const_iterator = decltype(fMap.cbegin())
 

Public Member Functions

 map ()
 
virtual ~map ()=default
 
VALUE & operator[] (const most_derived_key_type &key)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
size_t size () const
 

Private Attributes

std::map< KEY, CRT::map< VALUE, KEYS... > > fMap
 

Detailed Description

template<class VALUE, class KEY, class... KEYS>
class CRT::map< VALUE, KEY, KEYS >

Definition at line 175 of file CRTID.h.

Member Typedef Documentation

template<class VALUE, class KEY, class... KEYS>
using CRT::map< VALUE, KEY, KEYS >::const_iterator = decltype(fMap.cbegin())

Definition at line 197 of file CRTID.h.

template<class VALUE, class KEY, class... KEYS>
using CRT::map< VALUE, KEY, KEYS >::iterator = decltype(fMap.begin())

Definition at line 193 of file CRTID.h.

template<class VALUE, class KEY, class... KEYS>
using CRT::map< VALUE, KEY, KEYS >::most_derived_key_type = typename CRT::map<VALUE, KEYS...>::most_derived_key_type

Definition at line 186 of file CRTID.h.

Constructor & Destructor Documentation

template<class VALUE, class KEY, class... KEYS>
CRT::map< VALUE, KEY, KEYS >::map ( )
inline

Definition at line 182 of file CRTID.h.

182 : fMap() {}
std::map< KEY, CRT::map< VALUE, KEYS... > > fMap
Definition: CRTID.h:178
template<class VALUE, class KEY, class... KEYS>
virtual CRT::map< VALUE, KEY, KEYS >::~map ( )
virtualdefault

Member Function Documentation

template<class VALUE, class KEY, class... KEYS>
iterator CRT::map< VALUE, KEY, KEYS >::begin ( )
inline

Definition at line 194 of file CRTID.h.

194 { return fMap.begin(); }
std::map< KEY, CRT::map< VALUE, KEYS... > > fMap
Definition: CRTID.h:178
template<class VALUE, class KEY, class... KEYS>
const_iterator CRT::map< VALUE, KEY, KEYS >::begin ( ) const
inline

Definition at line 198 of file CRTID.h.

198 { return fMap.cbegin(); }
std::map< KEY, CRT::map< VALUE, KEYS... > > fMap
Definition: CRTID.h:178
template<class VALUE, class KEY, class... KEYS>
iterator CRT::map< VALUE, KEY, KEYS >::end ( )
inline

Definition at line 195 of file CRTID.h.

195 { return fMap.end(); }
std::map< KEY, CRT::map< VALUE, KEYS... > > fMap
Definition: CRTID.h:178
template<class VALUE, class KEY, class... KEYS>
const_iterator CRT::map< VALUE, KEY, KEYS >::end ( ) const
inline

Definition at line 199 of file CRTID.h.

199 { return fMap.cend(); }
std::map< KEY, CRT::map< VALUE, KEYS... > > fMap
Definition: CRTID.h:178
template<class VALUE, class KEY, class... KEYS>
VALUE& CRT::map< VALUE, KEY, KEYS >::operator[] ( const most_derived_key_type key)
inline

Definition at line 191 of file CRTID.h.

191 { return fMap[key][key]; }
def key(type, name=None)
Definition: graph.py:13
std::map< KEY, CRT::map< VALUE, KEYS... > > fMap
Definition: CRTID.h:178
template<class VALUE, class KEY, class... KEYS>
size_t CRT::map< VALUE, KEY, KEYS >::size ( ) const
inline

Definition at line 201 of file CRTID.h.

201 { return fMap.size(); }
std::map< KEY, CRT::map< VALUE, KEYS... > > fMap
Definition: CRTID.h:178

Member Data Documentation

template<class VALUE, class KEY, class... KEYS>
std::map<KEY, CRT::map<VALUE, KEYS...> > CRT::map< VALUE, KEY, KEYS >::fMap
private

Definition at line 178 of file CRTID.h.


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