#include <resiter.h>
Inheritance diagram for mysqlpp::const_subscript_container< OnType, ValueType, ReturnType, SizeType, DiffType >:
Public Types | |
typedef const_subscript_container< OnType, ValueType, ReturnType, SizeType, DiffType > | this_type |
this object's type | |
typedef subscript_iterator< const this_type, ReturnType, SizeType, DiffType > | iterator |
mutable iterator type | |
typedef iterator | const_iterator |
constant iterator type | |
typedef const std::reverse_iterator< iterator > | reverse_iterator |
mutable reverse iterator type | |
typedef const std::reverse_iterator< const_iterator > | const_reverse_iterator |
const reverse iterator type | |
typedef ValueType | value_type |
type of data stored in container | |
typedef value_type & | reference |
reference to value_type | |
typedef value_type & | const_reference |
const ref to value_type | |
typedef value_type * | pointer |
pointer to value_type | |
typedef value_type * | const_pointer |
const pointer to value_type | |
typedef DiffType | difference_type |
for index differences | |
typedef SizeType | size_type |
for returned sizes | |
Public Methods | |
virtual size_type | size () const=0 |
Return count of elements in container. | |
virtual ReturnType | operator[] (SizeType i) const=0 |
Return element at given index in container. | |
size_type | max_size () const |
Return maximum number of elements that can be stored in container without resizing. | |
bool | empty () const |
Returns true if container is empty. | |
iterator | begin () const |
Return iterator pointing to first element in the container. | |
iterator | end () const |
Return iterator pointing to one past the last element in the container. | |
reverse_iterator | rbegin () const |
Return reverse iterator pointing to first element in the container. | |
reverse_iterator | rend () const |
Return reverse iterator pointing to one past the last element in the container. |
OnType must have the member functions operator[](SizeType)
and