Inheritance diagram for bracz::maxvector< T >:
Public Types | |
typedef T | value_type |
typedef T * | iterator |
Public Member Functions | |
maxvector () | |
maxvector (size_t maxsize) | |
~maxvector () | |
T &DINLINE | operator[] (size_t n) |
iterator DINLINE | begin () |
iterator DINLINE | end () |
size_t DINLINE | size () |
void DINLINE | push_back (const T &d) |
void DINLINE | pop_back () |
bool DINLINE | empty () |
T &DINLINE | back () |
void DINLINE | reserve (size_t n) |
void DINLINE | resize (size_t n, const T &d) |
void DINLINE | resize (size_t n) |
void DINLINE | clear () |
Private Attributes | |
T * | data |
size_t | length |
It never copies the contents and never checks the boundaries.
The constructors and destructors are not properly called when the size of the vector changes. All elements are constructed and destructed together with the container.
reserve(n) reallocates the array to accommodate at most n elements, and preserves min(size(),n) elements of the array.
Definition at line 28 of file maxvector.cpp.
|
Definition at line 53 of file maxvector.cpp. |
|
Definition at line 33 of file maxvector.cpp. |
|
Definition at line 35 of file maxvector.cpp. |
|
Definition at line 40 of file maxvector.cpp. |
|
Definition at line 45 of file maxvector.cpp. |
|
Definition at line 87 of file maxvector.cpp. |
|
Definition at line 55 of file maxvector.cpp. |
|
Definition at line 117 of file maxvector.cpp. Referenced by bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::SimultProject::simultRecurse(). |
|
Definition at line 83 of file maxvector.cpp. |
|
Definition at line 59 of file maxvector.cpp. |
|
Definition at line 49 of file maxvector.cpp. |
|
Definition at line 79 of file maxvector.cpp. |
|
Definition at line 75 of file maxvector.cpp. |
|
Definition at line 91 of file maxvector.cpp. Referenced by bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::SimultProject::doSimultProject(), and bracz::maxvector< myitemlist_t >::resize(). |
|
Definition at line 110 of file maxvector.cpp. |
|
Definition at line 101 of file maxvector.cpp. Referenced by bracz::NonOrdFPStructure< INPUT, BUILDTREE, FIRSTLEVEL >::SimultProject::doSimultProject(). |
|
Definition at line 63 of file maxvector.cpp. |
|
|