The C++ Standard Library Containers
There are seven C++ Standard Library containers: deque, list, vector, set, multiset, map, and multimap. The Essential Tools Module extends these with additional containers: rw_slist<T,A>, rw_hashset<T,H,EQ,A>, rw_hashmultiset<T,H,EQ,A>, rw_hashmap<K,T,H,EQ,A>, rw_hashmultimap<K,T,H,EQ,A>, rw_orderedhashset<T,H,EQ,A>, rw_orderedhashmultiset<T,H,EQ,A>, rw_orderedhashmap<K,T,H,EQ,A>, and rw_orderedhashmultimap<K,T,H,EQ,A. Each of these has value-based and pointer-based Rogue Wave wrapper templates. The Essential Tools Module also offers always-sorted versions, both value-based and pointer-based, of the doubly-linked list and vector collections. These are summarized in Essential Tools Module Standard Library-Based Templates.
|
Division // Notes |
Value-based |
Pointer-based |
|
Sequence-based //External ordering, access by index |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
Sorted sequence-based //Internal ordering, access by index |
||
|
|
||
|
Associative container-based //Internal ordering, access by key |
||
|
(set-based) |
||
|
(map-based) |
||
|
Associative hash-based //No ordering, access by key |
||
|
(set-based) |
||
|
(map-based) |
||
|
Associative ordered hash-based //External ordering, access by key |
||
|
(set-based) |
RWTValOrderedHashSet< T, H, EQ, A >
|
RWTPtrOrderedHashSet< T, H, EQ, A >
|
|
(map-based) |
RWTValOrderedHashMap< K, T, H, EQ, A >
|
RWTPtrOrderedHashMap< K, T, H, EQ, A >
|