Tapkee
|
#include <covertree_point.hpp>
Public Member Functions | |
T | last () |
void | decr () |
v_array () | |
T & | operator[] (IndexType i) |
Public Attributes | |
int | index |
int | length |
T * | elements |
Class v_array taken directly from JL's implementation.
Definition at line 28 of file covertree_point.hpp.
v_array | ( | ) |
Create an empty v_array
Definition at line 39 of file covertree_point.hpp.
void decr | ( | ) |
Decrement the pointer to the last element
Definition at line 36 of file covertree_point.hpp.
T last | ( | ) |
Getter for the the last element of the v_array
Definition at line 33 of file covertree_point.hpp.
T& operator[] | ( | IndexType | i | ) |
Element access operator
i | of the element to be read |
Definition at line 44 of file covertree_point.hpp.
T* elements |
Pointer to the beginning of the v_array elements
Definition at line 54 of file covertree_point.hpp.
int index |
Pointer to the last element of the v_array
Definition at line 48 of file covertree_point.hpp.
int length |
Length of the v_array
Definition at line 51 of file covertree_point.hpp.