A special GapVector class that isn't a gapvector. It forwards it's request to a normal vector class (for debugging purposes) that isn't a gapv This class is only used for debugging issuess with the gapvector.
More...
#include <gapvector.h>
|
QVector< T > | items_ |
| This method returns a direct pointer to the 0-terminated buffer This pointer is only valid as long as the buffer doesn't change WARNING, this method MOVES the gap! Which means this method should NOT be used for a lot of operations. More...
|
|
template<typename T>
class edbee::NoGapVector< T >
A special GapVector class that isn't a gapvector. It forwards it's request to a normal vector class (for debugging purposes) that isn't a gapv This class is only used for debugging issuess with the gapvector.
◆ NoGapVector()
◆ ~NoGapVector()
◆ append() [1/2]
◆ append() [2/2]
◆ at()
This method returns the item at the given index.
◆ capacity()
◆ clear()
◆ fill()
template<typename T >
void edbee::NoGapVector< T >::fill |
( |
int |
offset, |
|
|
int |
length, |
|
|
const T & |
data, |
|
|
int |
newLength |
|
) |
| |
|
inline |
this method replaces the given items with a single data item
- Parameters
-
offset | the offset of the items to replace |
lenth | the number of items to replace |
newLength | the number of times to repeat data |
◆ gapBegin()
◆ gapEnd()
◆ gapSize()
◆ length()
returns the used length of the data
◆ operator[]()
This method return an index.
◆ replace()
template<typename T >
void edbee::NoGapVector< T >::replace |
( |
int |
offset, |
|
|
int |
length, |
|
|
const T * |
data, |
|
|
int |
newLength |
|
) |
| |
|
inline |
this method replaces the given items
- Parameters
-
offset | the offset of the items to replace |
lenth | the number of items to replace |
data | an array with new items |
newLength | the number of items in the new array |
◆ set()
This method sets an item at the given index.
◆ items_
This method returns a direct pointer to the 0-terminated buffer This pointer is only valid as long as the buffer doesn't change WARNING, this method MOVES the gap! Which means this method should NOT be used for a lot of operations.
The documentation for this class was generated from the following file: