#include <vbl_array_1d.h>
This container stores its elements in contiguous storage and whose iterator types are raw pointers. There is no requirement that the element type have a default constructor.
Definition at line 28 of file vbl_array_1d.h.
Public Types | |
| typedef T | element_type |
| typedef T * | iterator |
| typedef T const * | const_iterator |
| typedef T & | reference |
| typedef T const & | const_reference |
Public Member Functions | |
| vbl_array_1d () | |
| vbl_array_1d (const_iterator b, const_iterator e) | |
| vbl_array_1d (vbl_array_1d< T > const &that) | |
| vbl_array_1d (unsigned long n, const T &v) | |
| Construct an array with n elements, all equal to v. | |
| vbl_array_1d< T > & | operator= (vbl_array_1d< T > const &that) |
| bool | operator== (vbl_array_1d< T > const &that) const |
| ~vbl_array_1d () | |
| void | reserve (vcl_ptrdiff_t new_n) |
| void | push_back (T const &x) |
| void | pop_back () |
| reference | back () |
| const_reference | back () const |
| reference | front () |
| const_reference | front () const |
| void | clear () |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| bool | empty () const |
| vcl_size_t | size () const |
| vcl_size_t | capacity () const |
| reference | operator[] (vcl_ptrdiff_t i) |
| Get the ith element. | |
| const_reference | operator[] (vcl_ptrdiff_t i) const |
| Get the ith element. | |
Private Attributes | |
| T * | begin_ |
| T * | end_ |
| T * | alloc_ |
|
|||||
|
Definition at line 33 of file vbl_array_1d.h. |
|
|||||
|
Definition at line 36 of file vbl_array_1d.h. |
|
|||||
|
Definition at line 30 of file vbl_array_1d.h. |
|
|||||
|
Definition at line 32 of file vbl_array_1d.h. |
|
|||||
|
Definition at line 35 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 38 of file vbl_array_1d.h. |
|
||||||||||||||||
|
Definition at line 40 of file vbl_array_1d.h. |
|
||||||||||
|
Definition at line 51 of file vbl_array_1d.h. |
|
||||||||||||||||
|
Construct an array with n elements, all equal to v.
Definition at line 56 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 80 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 123 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 122 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 137 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 134 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 142 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 128 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 140 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 138 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 135 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 126 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 125 of file vbl_array_1d.h. |
|
||||||||||
|
Definition at line 66 of file vbl_array_1d.h. |
|
||||||||||
|
Definition at line 72 of file vbl_array_1d.h. |
|
||||||||||
|
Get the ith element. define NDEBUG to turn bounds checking off. Definition at line 154 of file vbl_array_1d.h. |
|
||||||||||
|
Get the ith element. define NDEBUG to turn bounds checking off. Definition at line 146 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 117 of file vbl_array_1d.h. |
|
||||||||||
|
Definition at line 110 of file vbl_array_1d.h. |
|
||||||||||
|
Definition at line 87 of file vbl_array_1d.h. |
|
|||||||||
|
Definition at line 141 of file vbl_array_1d.h. |
|
|||||
|
Definition at line 162 of file vbl_array_1d.h. |
|
|||||
|
Definition at line 162 of file vbl_array_1d.h. |
|
|||||
|
Definition at line 162 of file vbl_array_1d.h. |
1.4.4