vector< T, A > Class Template Reference |
Classes | |
struct | header_t |
Public Types | |
typedef A | allocator_type |
typedef const T * | const_iterator |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef std::reverse_iterator < const T * > | const_reverse_iterator |
typedef std::ptrdiff_t | difference_type |
typedef T * | iterator |
typedef T * | pointer |
typedef T & | reference |
typedef std::reverse_iterator < T * > | reverse_iterator |
typedef std::size_t | size_type |
typedef T | value_type |
Public Member Functions | |
reference | back () |
const_reference | back () const |
iterator | begin () |
const_iterator | begin () const |
size_type | capacity () const |
void | clear () |
bool | empty () const |
const_iterator | end () const |
iterator | end () |
iterator | erase (iterator pos) |
iterator | erase (iterator f, iterator l) |
reference | front () |
const_reference | front () const |
allocator_type | get_allocator () const |
iterator | insert (iterator p, value_type x) |
template<typename I > | |
iterator | insert (iterator p, I f, I l, typename boost::disable_if< boost::is_integral< I > >::type *=0) |
iterator | insert (iterator p, size_type n, const T &x) |
template<typename I > | |
iterator | insert_move (iterator p, I f, I l) |
size_type | max_size () const |
vector & | operator= (vector x) |
reference | operator[] (size_type n) |
const_reference | operator[] (size_type n) const |
void | pop_back () |
void | push_back (value_type x) |
const_reverse_iterator | rbegin () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rend () const |
reverse_iterator | rend () |
void | reserve (size_type n) |
void | resize (size_type n) |
void | resize (size_type n, const value_type &x) |
size_type | size () const |
void | swap (vector &x) |
template<typename I > | |
vector (I f, I l, const allocator_type &a, typename boost::disable_if< boost::is_integral< I > >::type *=0) | |
vector (move_from< vector > x) | |
vector () | |
vector (const vector &x) | |
vector (size_type n) | |
template<typename I > | |
vector (I f, I l, typename boost::disable_if< boost::is_integral< I > >::type *=0) | |
vector (size_type n, const value_type &x) | |
vector (size_type n, const value_type &x, const allocator_type &a) | |
vector (const allocator_type &a) | |
~vector () | |
Friends | |
bool | operator< (const vector &x, const vector &y) |
bool | operator== (const vector &x, const vector &y) |
void | swap (vector &x, vector &y) |
Detailed Description
template<typename T, typename A>
class adobe::version_1::vector< T, A >
Definition at line 58 of file vector.hpp.
Member Typedef Documentation
typedef A allocator_type |
Definition at line 68 of file vector.hpp.
typedef const T* const_iterator |
Definition at line 64 of file vector.hpp.
typedef const T* const_pointer |
Definition at line 70 of file vector.hpp.
typedef const T& const_reference |
Definition at line 62 of file vector.hpp.
typedef std::reverse_iterator<const T*> const_reverse_iterator |
Definition at line 72 of file vector.hpp.
typedef std::ptrdiff_t difference_type |
Definition at line 66 of file vector.hpp.
typedef T* iterator |
Definition at line 63 of file vector.hpp.
typedef T* pointer |
Definition at line 69 of file vector.hpp.
typedef T& reference |
Definition at line 61 of file vector.hpp.
typedef std::reverse_iterator<T*> reverse_iterator |
Definition at line 71 of file vector.hpp.
typedef std::size_t size_type |
Definition at line 65 of file vector.hpp.
typedef T value_type |
Definition at line 67 of file vector.hpp.
Constructor & Destructor Documentation
vector | ( | const allocator_type & | a ) | [explicit] |
Definition at line 137 of file vector.hpp.
vector | ( | ) |
Definition at line 138 of file vector.hpp.
Definition at line 140 of file vector.hpp.
vector | ( | size_type | n, |
const value_type & | x | ||
) |
Definition at line 146 of file vector.hpp.
vector | ( | size_type | n, |
const value_type & | x, | ||
const allocator_type & | a | ||
) |
Definition at line 152 of file vector.hpp.
Definition at line 158 of file vector.hpp.
vector | ( | I | f, |
I | l, | ||
typename boost::disable_if< boost::is_integral< I > >::type * | = 0 |
||
) |
Definition at line 169 of file vector.hpp.
vector | ( | I | f, |
I | l, | ||
const allocator_type & | a, | ||
typename boost::disable_if< boost::is_integral< I > >::type * | = 0 |
||
) |
Definition at line 173 of file vector.hpp.
~vector | ( | ) |
Definition at line 177 of file vector.hpp.
Definition at line 189 of file vector.hpp.
Member Function Documentation
reference back | ( | ) |
Definition at line 227 of file vector.hpp.
const_reference back | ( | ) | const |
Definition at line 228 of file vector.hpp.
iterator begin | ( | ) |
Definition at line 194 of file vector.hpp.
const_iterator begin | ( | ) | const |
Definition at line 197 of file vector.hpp.
size_type capacity | ( | ) | const |
Definition at line 209 of file vector.hpp.
void clear | ( | ) |
Definition at line 253 of file vector.hpp.
bool empty | ( | ) | const |
Definition at line 210 of file vector.hpp.
const_iterator end | ( | ) | const |
Definition at line 198 of file vector.hpp.
iterator end | ( | ) |
Definition at line 195 of file vector.hpp.
Definition at line 446 of file vector.hpp.
Definition at line 249 of file vector.hpp.
reference front | ( | ) |
Definition at line 224 of file vector.hpp.
const_reference front | ( | ) | const |
Definition at line 225 of file vector.hpp.
allocator_type get_allocator | ( | ) | const |
Definition at line 191 of file vector.hpp.
iterator insert | ( | iterator | p, |
value_type | x | ||
) |
Definition at line 237 of file vector.hpp.
iterator insert | ( | iterator | p, |
I | f, | ||
I | l, | ||
typename boost::disable_if< boost::is_integral< I > >::type * | = 0 |
||
) |
Definition at line 241 of file vector.hpp.
Definition at line 415 of file vector.hpp.
Definition at line 372 of file vector.hpp.
size_type max_size | ( | ) | const |
Definition at line 207 of file vector.hpp.
Definition at line 220 of file vector.hpp.
Definition at line 212 of file vector.hpp.
const_reference operator[] | ( | size_type | n ) | const |
Definition at line 213 of file vector.hpp.
void pop_back | ( | ) |
Definition at line 233 of file vector.hpp.
void push_back | ( | value_type | x ) |
Definition at line 230 of file vector.hpp.
const_reverse_iterator rbegin | ( | ) | const |
Definition at line 203 of file vector.hpp.
reverse_iterator rbegin | ( | ) |
Definition at line 200 of file vector.hpp.
const_reverse_iterator rend | ( | ) | const |
Definition at line 204 of file vector.hpp.
reverse_iterator rend | ( | ) |
Definition at line 201 of file vector.hpp.
void reserve | ( | size_type | n ) |
Definition at line 404 of file vector.hpp.
void resize | ( | size_type | n, |
const value_type & | x | ||
) |
Definition at line 464 of file vector.hpp.
void resize | ( | size_type | n ) |
Definition at line 457 of file vector.hpp.
size_type size | ( | ) | const |
Definition at line 206 of file vector.hpp.
void swap | ( | vector< T, A > & | x ) |
Definition at line 235 of file vector.hpp.
Friends And Related Function Documentation
Definition at line 269 of file vector.hpp.
Definition at line 259 of file vector.hpp.
Definition at line 274 of file vector.hpp.