|
| PointerVector () |
|
| PointerVector (int size) |
|
| ~PointerVector () |
|
| PointerVector (const PointerVector &other) |
|
PointerVector< T > & | operator+= (const PointerVector &other) |
|
PointerVector< T > & | operator= (const PointerVector &other) |
|
void | remove (int index) |
|
void | truncate (int size) |
|
void | compact (std::function< bool(const T *)> delete_cb) |
|
void | clear () |
|
bool | Serialize (FILE *fp) const |
|
bool | Serialize (TFile *fp) const |
|
bool | DeSerialize (bool swap, FILE *fp) |
|
bool | DeSerialize (TFile *fp) |
|
bool | DeSerializeElement (TFile *fp) |
|
void | sort () |
|
| GenericVector () |
|
| GenericVector (int size, const T * &init_val) |
|
| GenericVector (const GenericVector &other) |
|
GenericVector< T * > & | operator+= (const GenericVector &other) |
|
void | operator+= (const T * &t) |
|
GenericVector< T * > & | operator= (const GenericVector &other) |
|
| ~GenericVector () |
|
void | reserve (int size) |
|
void | double_the_size () |
|
void | init_to_size (int size, const T * &t) |
|
void | resize_no_init (int size) |
|
int | size () const |
|
size_t | unsigned_size () const |
|
int | size_reserved () const |
|
bool | empty () const |
|
T * & | get (int index) const |
|
T * & | back () const |
|
T * & | operator[] (int index) const |
|
T * | pop_back () |
|
int | get_index (const T * &object) const |
|
bool | contains (const T * &object) const |
|
T * | contains_index (int index) const |
|
int | push_back (T * object) |
|
int | push_back_new (const T * &object) |
|
int | push_front (const T * &object) |
|
void | set (const T * &t, int index) |
|
void | insert (const T * &t, int index) |
|
void | remove (int index) |
|
void | truncate (int size) |
|
void | set_clear_callback (std::function< void(T *)> cb) |
|
void | set_compare_callback (std::function< bool(const T * &, const T * &)> cb) |
|
void | clear () |
|
void | delete_data_pointers () |
|
void | move (GenericVector< T * > *from) |
|
bool | write (FILE *f, std::function< bool(FILE *, const T * &)> cb) const |
|
bool | read (tesseract::TFile *f, std::function< bool(tesseract::TFile *, T * *)> cb) |
|
bool | Serialize (FILE *fp) const |
|
bool | Serialize (tesseract::TFile *fp) const |
|
bool | DeSerialize (bool swap, FILE *fp) |
|
bool | DeSerialize (tesseract::TFile *fp) |
|
bool | SerializeClasses (FILE *fp) const |
|
bool | SerializeClasses (tesseract::TFile *fp) const |
|
bool | DeSerializeClasses (bool swap, FILE *fp) |
|
bool | DeSerializeClasses (tesseract::TFile *fp) |
|
void | reverse () |
|
void | sort () |
|
void | sort (int(*comparator)(const void *, const void *)) |
|
bool | bool_binary_search (const T * &target) const |
|
int | binary_search (const T * &target) const |
|
void | compact_sorted () |
|
int | choose_nth_item (int target_index) |
|
void | swap (int index1, int index2) |
|
bool | WithinBounds (const T * &rangemin, const T * &rangemax) const |
|
template<typename T>
class tesseract::PointerVector< T >
Definition at line 417 of file genericvector.h.