Wiselib
Public Types | Public Member Functions | Protected Attributes
wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE > Class Template Reference

#include <map_static_vector.h>

Inherits wiselib::vector_static< OsModel_P, pair< Key_P, Value_P >, TABLE_SIZE >.

List of all members.

Public Types

typedef OsModel_P OsModel
typedef MapStaticVector
< OsModel, Key_P, Value_P,
TABLE_SIZE > 
map_type
typedef map_type::vector_type vector_type
typedef map_type::iterator iterator
typedef map_type::size_type size_type
typedef map_type::value_type value_type
typedef Key_P key_type
typedef Value_P mapped_type
typedef map_type::pointer pointer
typedef map_type::reference reference

Public Member Functions

 MapStaticVector ()
 MapStaticVector (const MapStaticVector &map)
 ~MapStaticVector ()
MapStaticVectoroperator= (MapStaticVector &map)
template<class InputIterator >
 MapStaticVector (InputIterator f, InputIterator l)
void swap (map_type &m)
Modifiers
pair< iterator, bool > insert (const value_type &x)
template<class InputIterator >
void insert (InputIterator first, InputIterator last)
size_type erase (const key_type &k)
Operations
iterator find (const key_type &k)
size_type count (const key_type &k)
Element Access
mapped_typeoperator[] (const key_type &k)
Iterators
iterator begin ()
iterator end ()
Capacity
size_type size () const
size_type max_size () const
size_type capacity () const
bool empty () const
Element Access
reference operator[] (size_type n)
reference at (size_type n)
reference front ()
reference back ()
pointer data ()
Modifiers
void assign (InputIterator first, InputIterator last)
void assign (size_type n, const value_type &u)
void push_back (const value_type &x)
void pop_back ()
iterator insert (iterator position, const value_type &x)
void insert (iterator position, size_type n, const value_type &x)
iterator erase (iterator position)
iterator erase (iterator first, iterator last)
void swap (vector_type &vec)
void clear ()

Protected Attributes

value_type vec_ [VECTOR_SIZE]
pointer start_
pointer finish_
pointer end_of_storage_

template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
class wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >


Member Typedef Documentation

template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef map_type::iterator wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::iterator
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef Key_P wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::key_type
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef MapStaticVector<OsModel, Key_P, Value_P, TABLE_SIZE> wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::map_type
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef Value_P wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::mapped_type
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef OsModel_P wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::OsModel
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef map_type::pointer wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::pointer
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef map_type::reference wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::reference
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef map_type::size_type wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::size_type
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef map_type::value_type wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::value_type
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
typedef map_type::vector_type wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::vector_type

Constructor & Destructor Documentation

template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::MapStaticVector ( ) [inline]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::MapStaticVector ( const MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE > &  map) [inline]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::~MapStaticVector ( ) [inline]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
template<class InputIterator >
wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::MapStaticVector ( InputIterator  f,
InputIterator  l 
) [inline]

Member Function Documentation

void wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::assign ( InputIterator  first,
InputIterator  last 
) [inline, inherited]
void wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::assign ( size_type  n,
const value_type u 
) [inline, inherited]
reference wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::at ( size_type  n) [inline, inherited]
reference wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::back ( ) [inline, inherited]
iterator wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::begin ( ) [inline, inherited]
size_type wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::capacity ( ) const [inline, inherited]
void wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::clear ( void  ) [inline, inherited]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
size_type wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::count ( const key_type k) [inline]
pointer wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::data ( ) [inline, inherited]
bool wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::empty ( ) const [inline, inherited]
iterator wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::end ( ) [inline, inherited]
iterator wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::erase ( iterator  first,
iterator  last 
) [inline, inherited]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
size_type wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::erase ( const key_type k) [inline]
iterator wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::erase ( iterator  position) [inline, inherited]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
iterator wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::find ( const key_type k) [inline]
reference wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::front ( ) [inline, inherited]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
pair<iterator, bool> wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::insert ( const value_type x) [inline]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
template<class InputIterator >
void wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::insert ( InputIterator  first,
InputIterator  last 
) [inline]
iterator wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::insert ( iterator  position,
const value_type x 
) [inline, inherited]
void wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::insert ( iterator  position,
size_type  n,
const value_type x 
) [inline, inherited]
size_type wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::max_size ( ) const [inline, inherited]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
MapStaticVector& wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::operator= ( MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE > &  map) [inline]
reference wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::operator[] ( size_type  n) [inline, inherited]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
mapped_type& wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::operator[] ( const key_type k) [inline]
void wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::pop_back ( ) [inline, inherited]
void wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::push_back ( const value_type x) [inline, inherited]
size_type wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::size ( void  ) const [inline, inherited]
void wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::swap ( vector_type vec) [inline, inherited]
template<typename OsModel_P, typename Key_P, typename Value_P, unsigned int TABLE_SIZE>
void wiselib::MapStaticVector< OsModel_P, Key_P, Value_P, TABLE_SIZE >::swap ( map_type m) [inline]

Member Data Documentation

pointer wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::end_of_storage_ [protected, inherited]
pointer wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::finish_ [protected, inherited]
pointer wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::start_ [protected, inherited]
value_type wiselib::vector_static< OsModel_P, pair< Key_P, Value_P > , VECTOR_SIZE >::vec_[VECTOR_SIZE] [protected, inherited]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines