|
Public Types |
| typedef Key | KEY_TYPE |
| typedef Key | VALUE_TYPE |
| typedef Key & | REFERENCE |
| typedef const Key & | CONST_REFERENCE |
| typedef Compare | KEY_COMPARE |
| typedef Compare | VALUE_COMPARE |
| typedef TYPENAME Vector::iterator | ITERATOR |
| typedef TYPENAME Vector::const_iterator | CONST_ITERATOR |
| typedef TYPENAME Vector::reverse_iterator | REVERSE_ITERATOR |
| typedef TYPENAME Vector::const_reverse_iterator | CONST_REVERSE_ITERATOR |
| typedef TYPENAME Vector::difference_type | DIFFERENCE_TYPE |
| typedef TYPENAME Vector::size_type | SIZE_TYPE |
| typedef KEY_TYPE | key_type |
| typedef VALUE_TYPE | value_type |
| typedef REFERENCE | reference |
| typedef CONST_REFERENCE | const_reference |
| typedef KEY_COMPARE | key_compare |
| typedef VALUE_COMPARE | value_compare |
| typedef ITERATOR | iterator |
| typedef CONST_ITERATOR | const_iterator |
| typedef REVERSE_ITERATOR | reverse_iterator |
| typedef CONST_REVERSE_ITERATOR | const_reverse_iterator |
| typedef DIFFERENCE_TYPE | difference_type |
| typedef SIZE_TYPE | size_type |
Public Member Functions |
| INLINE | ordered_vector (const Compare &compare=Compare()) |
| INLINE | ordered_vector (const ordered_vector< Key, Compare > ©) |
INLINE ordered_vector< Key,
Compare > & | operator= (const ordered_vector< Key, Compare > ©) |
| INLINE | ~ordered_vector () |
| INLINE ITERATOR | begin () |
| INLINE ITERATOR | end () |
| INLINE REVERSE_ITERATOR | rbegin () |
| INLINE REVERSE_ITERATOR | rend () |
| INLINE CONST_ITERATOR | begin () const |
| INLINE CONST_ITERATOR | end () const |
| INLINE CONST_REVERSE_ITERATOR | rbegin () const |
| INLINE CONST_REVERSE_ITERATOR | rend () const |
| INLINE reference | operator[] (SIZE_TYPE n) |
| INLINE const_reference | operator[] (SIZE_TYPE n) const |
| INLINE SIZE_TYPE | size () const |
| INLINE SIZE_TYPE | max_size () const |
| INLINE bool | empty () const |
| INLINE bool | operator== (const ordered_vector< Key, Compare > &other) const |
| INLINE bool | operator!= (const ordered_vector< Key, Compare > &other) const |
| INLINE bool | operator< (const ordered_vector< Key, Compare > &other) const |
| INLINE bool | operator> (const ordered_vector< Key, Compare > &other) const |
| INLINE bool | operator<= (const ordered_vector< Key, Compare > &other) const |
| INLINE bool | operator>= (const ordered_vector< Key, Compare > &other) const |
| ITERATOR | insert_unique (ITERATOR position, const VALUE_TYPE &key) |
| ITERATOR | insert_nonunique (ITERATOR position, const VALUE_TYPE &key) |
| INLINE pair< ITERATOR, bool > | insert_unique (const VALUE_TYPE &key) |
| INLINE ITERATOR | insert_nonunique (const VALUE_TYPE &key) |
| INLINE ITERATOR | erase (ITERATOR position) |
| INLINE SIZE_TYPE | erase (const KEY_TYPE &key) |
| INLINE void | erase (ITERATOR first, ITERATOR last) |
| INLINE void | clear () |
| INLINE ITERATOR | find (const KEY_TYPE &key) |
| INLINE CONST_ITERATOR | find (const KEY_TYPE &key) const |
| INLINE ITERATOR | find_particular (const KEY_TYPE &key) |
| INLINE CONST_ITERATOR | find_particular (const KEY_TYPE &key) const |
| INLINE SIZE_TYPE | count (const KEY_TYPE &key) const |
| INLINE ITERATOR | lower_bound (const KEY_TYPE &key) |
| INLINE CONST_ITERATOR | lower_bound (const KEY_TYPE &key) const |
| INLINE ITERATOR | upper_bound (const KEY_TYPE &key) |
| INLINE CONST_ITERATOR | upper_bound (const KEY_TYPE &key) const |
| INLINE pair< ITERATOR, ITERATOR > | equal_range (const KEY_TYPE &key) |
INLINE pair< CONST_ITERATOR,
CONST_ITERATOR > | equal_range (const KEY_TYPE &key) const |
| INLINE void | swap (ordered_vector< Key, Compare > &other) |
| INLINE void | reserve (SIZE_TYPE n) |
| INLINE void | sort_unique () |
| INLINE void | sort_nonunique () |
| bool | verify_list_unique () const |
| bool | verify_list_nonunique () const |
| INLINE void | push_back (const VALUE_TYPE &key) |
Private Types |
| typedef pvector< Key > | Vector |
Private Member Functions |
| INLINE ITERATOR | nci (CONST_ITERATOR i) |
| INLINE ITERATOR | find_insert_position (ITERATOR first, ITERATOR last, const KEY_TYPE &key) |
| ITERATOR | r_find_insert_position (ITERATOR first, ITERATOR last, const KEY_TYPE &key) |
| CONST_ITERATOR | r_find (CONST_ITERATOR first, CONST_ITERATOR last, CONST_ITERATOR not_found, const KEY_TYPE &key) const |
| CONST_ITERATOR | r_find_particular (CONST_ITERATOR first, CONST_ITERATOR last, CONST_ITERATOR not_found, const KEY_TYPE &key) const |
| SIZE_TYPE | r_count (CONST_ITERATOR first, CONST_ITERATOR last, const KEY_TYPE &key) const |
| CONST_ITERATOR | r_lower_bound (CONST_ITERATOR first, CONST_ITERATOR last, const KEY_TYPE &key) const |
| CONST_ITERATOR | r_upper_bound (CONST_ITERATOR first, CONST_ITERATOR last, const KEY_TYPE &key) const |
| pair< CONST_ITERATOR, CONST_ITERATOR > | r_equal_range (CONST_ITERATOR first, CONST_ITERATOR last, const KEY_TYPE &key) const |
Private Attributes |
| Compare | _compare |
| Vector | _vector |