ACE 8.0.0
Loading...
Searching...
No Matches
Classes | Macros | Functions
Array_Map.h File Reference
#include <utility>
#include <iterator>
#include <functional>
#include <memory>
#include "ace/Array_Map.inl"
#include "ace/Array_Map.cpp"

Classes

class  ACE_Array_Map< Key, Value, EqualTo, Alloc >
 Light weight array-based map with fast iteration, but linear (i.e. O(n)) search times. More...
 

Macros

#define ACE_ARRAY_MAP_DEFAULT_ALLOCATOR(K, V)   std::allocator<std::pair<K, V> >
 

Functions

template<typename Key , typename Value , class EqualTo , class Alloc >
bool operator== (ACE_Array_Map< Key, Value, EqualTo, Alloc > const &lhs, ACE_Array_Map< Key, Value, EqualTo, Alloc > const &rhs)
 ACE_Array_Map equality operator.
 
template<typename Key , typename Value , class EqualTo , class Alloc >
bool operator< (ACE_Array_Map< Key, Value, EqualTo, Alloc > const &lhs, ACE_Array_Map< Key, Value, EqualTo, Alloc > const &rhs)
 ACE_Array_Map lexicographical comparison operator.
 

Detailed Description

Light weight array-based map with fast iteration but linear (i.e. O(n)) search times. STL-style interface is exposed.

Note
This class requires the STL generic algorithms and reverse_iterator adapter.
Author
Ossama Othman

Macro Definition Documentation

◆ ACE_ARRAY_MAP_DEFAULT_ALLOCATOR

#define ACE_ARRAY_MAP_DEFAULT_ALLOCATOR ( K,
V )   std::allocator<std::pair<K, V> >

Function Documentation

◆ operator<()

template<typename Key , typename Value , class EqualTo , class Alloc >
bool operator< ( ACE_Array_Map< Key, Value, EqualTo, Alloc > const & lhs,
ACE_Array_Map< Key, Value, EqualTo, Alloc > const & rhs )

ACE_Array_Map lexicographical comparison operator.

◆ operator==()

template<typename Key , typename Value , class EqualTo , class Alloc >
bool operator== ( ACE_Array_Map< Key, Value, EqualTo, Alloc > const & lhs,
ACE_Array_Map< Key, Value, EqualTo, Alloc > const & rhs )

ACE_Array_Map equality operator.