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

#include <CRTID.h>

Public Types

using most_derived_key_type = KEY
 
using iterator = decltype(fMap.begin())
 
using const_iterator = decltype(fMap.cbegin())
 

Public Member Functions

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

Private Attributes

std::map< KEY, VALUE > fMap
 

Detailed Description

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

Definition at line 206 of file CRTID.h.

Member Typedef Documentation

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

Definition at line 225 of file CRTID.h.

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

Definition at line 221 of file CRTID.h.

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

Definition at line 216 of file CRTID.h.

Constructor & Destructor Documentation

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

Definition at line 213 of file CRTID.h.

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

Member Function Documentation

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

Definition at line 222 of file CRTID.h.

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

Definition at line 226 of file CRTID.h.

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

Definition at line 223 of file CRTID.h.

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

Definition at line 227 of file CRTID.h.

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

Definition at line 219 of file CRTID.h.

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

Definition at line 229 of file CRTID.h.

229 { return fMap.size(); }
std::map< KEY, VALUE > fMap
Definition: CRTID.h:209

Member Data Documentation

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

Definition at line 209 of file CRTID.h.


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