Wiselib
Public Types | Public Member Functions
wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE > Class Template Reference

#include <color_table.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef OsModel_P::Debug Debug
typedef OsModel_P::Radio Radio
typedef Radio::node_id_t node_id_t
typedef Radio::size_t size_t
typedef Radio::block_data_t block_data_t
typedef Value_P color_value_type
typedef color_value_typecolor_pointer
typedef color_value_typecolor_reference
typedef pair< color_value_type,
uint16_t
value_type
typedef value_typepointer
typedef value_typereference
typedef OsModel_P::size_t size_type

Public Member Functions

 ColorsTable ()
 ColorsTable (const uint8_t *data, size_type len)
void parse_array (const uint8_t *data, size_type len)
 ~ColorsTable ()
void remove (const color_value_type &color)
void insert (const color_value_type &color)
size_type bytes ()
Capacity
size_type size ()
size_type max_size ()
size_type capacity ()
bool empty ()
void clear ()

Element Access

value_type vec_ [VECTOR_SIZE]
color_value_type operator[] (size_type n)
ColorsTableoperator= (ColorsTable &ct)
uint16_t cardinality (color_value_type &color)
uint16_t cardinalityAt (size_type n)
color_reference at (size_type n)
uint8_tdata ()
void swap (pointer color, pointer color1)

template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
class wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >


Member Typedef Documentation

template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef Radio::block_data_t wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::block_data_t
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef color_value_type* wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::color_pointer
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef color_value_type& wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::color_reference
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef Value_P wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::color_value_type
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef OsModel_P::Debug wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::Debug
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef Radio::node_id_t wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::node_id_t
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef OsModel_P wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::OsModel
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef value_type* wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::pointer
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef OsModel_P::Radio wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::Radio
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef value_type& wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::reference
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef Radio::size_t wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::size_t
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef OsModel_P::size_t wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::size_type
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
typedef pair<color_value_type, uint16_t> wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::value_type

Constructor & Destructor Documentation

template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::ColorsTable ( ) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::ColorsTable ( const uint8_t data,
size_type  len 
) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::~ColorsTable ( ) [inline]

Member Function Documentation

template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
color_reference wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::at ( size_type  n) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
size_type wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::bytes ( ) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
size_type wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::capacity ( ) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
uint16_t wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::cardinality ( color_value_type color) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
uint16_t wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::cardinalityAt ( size_type  n) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
void wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::clear ( ) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
uint8_t* wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::data ( ) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
bool wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::empty ( ) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
void wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::insert ( const color_value_type color) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
size_type wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::max_size ( ) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
ColorsTable& wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::operator= ( ColorsTable< OsModel_P, Value_P, VECTOR_SIZE > &  ct) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
color_value_type wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::operator[] ( size_type  n) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
void wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::parse_array ( const uint8_t data,
size_type  len 
) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
void wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::remove ( const color_value_type color) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
size_type wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::size ( ) [inline]
template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
void wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::swap ( pointer  color,
pointer  color1 
) [inline]

Member Data Documentation

template<typename OsModel_P, typename Value_P, uint16_t VECTOR_SIZE>
value_type wiselib::ColorsTable< OsModel_P, Value_P, VECTOR_SIZE >::vec_[VECTOR_SIZE]

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