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

#include <routing_table_static_array.h>

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

List of all members.

Public Types

typedef OsModel_P OsModel
typedef Radio_P Radio
typedef
StaticArrayRoutingTable
< OsModel, Radio, TABLE_SIZE,
Value_P > 
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 Radio::node_id_t key_type
typedef Value_P mapped_type
typedef map_type::pointer pointer
typedef map_type::reference reference

Public Member Functions

 StaticArrayRoutingTable ()
 StaticArrayRoutingTable (StaticArrayRoutingTable &rt)
 ~StaticArrayRoutingTable ()
StaticArrayRoutingTableoperator= (StaticArrayRoutingTable &rt)
Element Access
mapped_typeoperator[] (const key_type &k)
Modifiers
pair< iterator, bool > insert (const value_type &x)
Operations
iterator find (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 Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
class wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >


Member Typedef Documentation

template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef map_type::iterator wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::iterator
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef Radio::node_id_t wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::key_type
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef StaticArrayRoutingTable<OsModel, Radio, TABLE_SIZE, Value_P> wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::map_type
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef Value_P wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::mapped_type
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef OsModel_P wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::OsModel
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef map_type::pointer wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::pointer
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef Radio_P wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::Radio
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef map_type::reference wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::reference
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef map_type::size_type wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::size_type
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef map_type::value_type wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::value_type
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
typedef map_type::vector_type wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::vector_type

Constructor & Destructor Documentation

template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::StaticArrayRoutingTable ( ) [inline]
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::StaticArrayRoutingTable ( StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P > &  rt) [inline]
template<typename OsModel_P, typename Radio_P, unsigned int TABLE_SIZE, typename Value_P = typename Radio_P::node_id_t>
wiselib::StaticArrayRoutingTable< OsModel_P, Radio_P, TABLE_SIZE, Value_P >::~StaticArrayRoutingTable ( ) [inline]

Member Function Documentation

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

Member Data Documentation

pointer wiselib::vector_static< OsModel_P, pair< Radio_P::node_id_t, Value_P > , VECTOR_SIZE >::end_of_storage_ [protected, inherited]
pointer wiselib::vector_static< OsModel_P, pair< Radio_P::node_id_t, Value_P > , VECTOR_SIZE >::finish_ [protected, inherited]
pointer wiselib::vector_static< OsModel_P, pair< Radio_P::node_id_t, Value_P > , VECTOR_SIZE >::start_ [protected, inherited]
value_type wiselib::vector_static< OsModel_P, pair< Radio_P::node_id_t, 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