#include <stlsoft/collections/associative_value_sequence.hpp>
A | The associative collection type |
Public Types | |
Types | |
typedef associative_value_sequence< A > | class_type |
The current parameterisation of the type. | |
typedef A::value_type::second_type | value_type |
The value type. | |
typedef A | associative_container_type |
The associative container type. | |
typedef A::allocator_type | allocator_type |
The allocator type. | |
typedef A::const_reference | reference |
The reference type. | |
typedef A::const_reference | const_reference |
The non-mutable (const) reference type. | |
typedef A::size_type | size_type |
The size type. | |
typedef A::difference_type | difference_type |
The difference type. | |
typedef associative_select_iterator < typename A::iterator,::stlsoft::select_second < typename A::value_type > > | iterator |
The iterator type. | |
typedef associative_select_iterator < typename A::const_iterator,::stlsoft::select_second_const < typename A::value_type > > | const_iterator |
The non-mutating (const) iterator type. | |
Public Member Functions | |
Construction | |
associative_value_sequence (associative_container_type const &container) | |
Attributes | |
size_type | size () const |
The number of elements in the container. | |
size_type | max_size () const |
The maximum number of elements that can be stored in the container. | |
bool | empty () const |
Indicates whether the container is empty. | |
Iteration | |
const_iterator | begin () const |
Begins the iteration. | |
const_iterator | end () const |
Ends the iteration. |
typedef associative_value_sequence<A> class_type |
The current parameterisation of the type.
typedef A::value_type::second_type value_type |
The value type.
typedef A associative_container_type |
The associative container type.
typedef A::allocator_type allocator_type |
The allocator type.
typedef A::const_reference reference |
The reference type.
typedef A::const_reference const_reference |
The non-mutable (const) reference type.
typedef A::size_type size_type |
The size type.
typedef A::difference_type difference_type |
The difference type.
typedef associative_select_iterator< typename A::iterator , ::stlsoft::select_second< typename A::value_type> > iterator |
The iterator type.
typedef associative_select_iterator< typename A::const_iterator , ::stlsoft::select_second_const< typename A::value_type> > const_iterator |
The non-mutating (const) iterator type.
size_type size | ( | ) | const |
The number of elements in the container.
size_type max_size | ( | ) | const |
The maximum number of elements that can be stored in the container.
bool empty | ( | ) | const |
Indicates whether the container is empty.
const_iterator begin | ( | ) | const |
Begins the iteration.
const_iterator end | ( | ) | const |
Ends the iteration.