Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

map.h File Reference

map.h File Reference

Go to the source code of this file.

Data Structures

class  map_exception
 Exception for the map. More...
class  map_full
 Full exception for the map. More...
class  map_out_of_bounds
 Map out of bounds exception. More...
class  map_iterator
 Iterator exception for the map. More...
class  map_base
 The base class for all maps. More...
struct  map_base::Node
 The node element in the map. More...
class  imap< TKey, TMapped, TKeyCompare >
 A templated base for all etl::map types. More...
struct  imap< TKey, TMapped, TKeyCompare >::key_comp
 How to compare two key elements. More...
struct  imap< TKey, TMapped, TKeyCompare >::value_comp
 How to compare two value elements. More...
struct  imap< TKey, TMapped, TKeyCompare >::Data_Node
 The data node element in the map. More...
class  imap< TKey, TMapped, TKeyCompare >::iterator
 iterator. More...
class  imap< TKey, TMapped, TKeyCompare >::const_iterator
 const_iterator More...
class  map< TKey, TValue, MAX_SIZE_, TCompare >
 A templated map implementation that uses a fixed size buffer. More...

Namespaces

namespace  etl
 

A multimap with the capacity defined at compile time.


Functions

template<typename TKey , typename TMapped , typename TKeyCompare >
bool operator== (const etl::imap< TKey, TMapped, TKeyCompare > &lhs, const etl::imap< TKey, TMapped, TKeyCompare > &rhs)
 Equal operator.
template<typename TKey , typename TMapped , typename TKeyCompare >
bool operator!= (const etl::imap< TKey, TMapped, TKeyCompare > &lhs, const etl::imap< TKey, TMapped, TKeyCompare > &rhs)
 Not equal operator.
template<typename TKey , typename TMapped , typename TKeyCompare >
bool operator< (const etl::imap< TKey, TMapped, TKeyCompare > &lhs, const etl::imap< TKey, TMapped, TKeyCompare > &rhs)
 Less than operator.
template<typename TKey , typename TMapped , typename TKeyCompare >
bool operator> (const etl::imap< TKey, TMapped, TKeyCompare > &lhs, const etl::imap< TKey, TMapped, TKeyCompare > &rhs)
 Greater than operator.
template<typename TKey , typename TMapped , typename TKeyCompare >
bool operator<= (const etl::imap< TKey, TMapped, TKeyCompare > &lhs, const etl::imap< TKey, TMapped, TKeyCompare > &rhs)
 Less than or equal operator.
template<typename TKey , typename TMapped , typename TKeyCompare >
bool operator>= (const etl::imap< TKey, TMapped, TKeyCompare > &lhs, const etl::imap< TKey, TMapped, TKeyCompare > &rhs)
 Greater than or equal operator.

Detailed Description

Definition in file map.h.


Function Documentation

bool operator!= ( const etl::imap< TKey, TMapped, TKeyCompare > &  lhs,
const etl::imap< TKey, TMapped, TKeyCompare > &  rhs 
)

Not equal operator.

Parameters:
lhsReference to the first lookup.
rhsReference to the second lookup.
Returns:
true if the arrays are not equal, otherwise false

Definition at line 2093 of file map.h.

bool operator< ( const etl::imap< TKey, TMapped, TKeyCompare > &  lhs,
const etl::imap< TKey, TMapped, TKeyCompare > &  rhs 
)

Less than operator.

Parameters:
lhsReference to the first list.
rhsReference to the second list.
Returns:
true if the first list is lexicographically less than the second, otherwise false.

Definition at line 2106 of file map.h.

bool operator<= ( const etl::imap< TKey, TMapped, TKeyCompare > &  lhs,
const etl::imap< TKey, TMapped, TKeyCompare > &  rhs 
)

Less than or equal operator.

Parameters:
lhsReference to the first list.
rhsReference to the second list.
Returns:
true if the first list is lexicographically less than or equal to the second, otherwise false.

Definition at line 2135 of file map.h.

bool operator== ( const etl::imap< TKey, TMapped, TKeyCompare > &  lhs,
const etl::imap< TKey, TMapped, TKeyCompare > &  rhs 
)

Equal operator.

Parameters:
lhsReference to the first lookup.
rhsReference to the second lookup.
Returns:
true if the arrays are equal, otherwise false

Definition at line 2080 of file map.h.

bool operator> ( const etl::imap< TKey, TMapped, TKeyCompare > &  lhs,
const etl::imap< TKey, TMapped, TKeyCompare > &  rhs 
)

Greater than operator.

Parameters:
lhsReference to the first list.
rhsReference to the second list.
Returns:
true if the first list is lexicographically greater than the second, otherwise false.

Definition at line 2122 of file map.h.

bool operator>= ( const etl::imap< TKey, TMapped, TKeyCompare > &  lhs,
const etl::imap< TKey, TMapped, TKeyCompare > &  rhs 
)

Greater than or equal operator.

Parameters:
lhsReference to the first list.
rhsReference to the second list.
Returns:
true if the first list is lexicographically greater than or equal to the second, otherwise false.

Definition at line 2148 of file map.h.