Public Member Functions |
| | PointerVector () |
| | PointerVector (int size) |
| virtual | ~PointerVector () |
| | PointerVector (const PointerVector &other) |
| PointerVector< T > & | operator+= (const PointerVector &other) |
| PointerVector< T > & | operator= (const PointerVector &other) |
| virtual void | remove (int index) |
| virtual void | truncate (int size) |
| void | compact (TessResultCallback1< bool, const T * > *delete_cb) |
| virtual void | clear () |
| virtual bool | Serialize (FILE *fp) const |
| virtual bool | DeSerialize (bool swap, FILE *fp) |
| void | sort () |
| | GenericVector () |
| | GenericVector (int size) |
| | GenericVector (const GenericVector &other) |
| GenericVector< T * > & | operator+= (const GenericVector &other) |
| void | operator+= (T *t) |
| GenericVector< T * > & | operator= (const GenericVector &other) |
| virtual | ~GenericVector () |
| void | reserve (int size) |
| void | double_the_size () |
| void | init_to_size (int size, T *t) |
| int | size () const |
| int | length () const |
| bool | empty () const |
| T *& | get (int index) const |
| T *& | back () const |
| T *& | operator[] (int index) const |
| int | get_index (T *object) const |
| bool | contains (T *object) const |
| T * | contains_index (int index) const |
| int | push_back (T *object) |
| int | push_back_new (T *object) |
| int | push_front (T *object) |
| void | set (T *t, int index) |
| void | insert (T *t, int index) |
| void | set_clear_callback (TessCallback1< T * > *cb) |
| void | set_compare_callback (TessResultCallback2< bool, T *const &, T *const & > *cb) |
| void | delete_data_pointers () |
| void | move (GenericVector< T * > *from) |
| bool | write (FILE *f, TessResultCallback2< bool, FILE *, T *const & > *cb) const |
| bool | read (FILE *f, TessResultCallback3< bool, FILE *, T **, bool > *cb, bool swap) |
| bool | SerializeClasses (FILE *fp) const |
| bool | DeSerializeClasses (bool swap, FILE *fp) |
| 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 () |
| void | compact (TessResultCallback1< bool, int > *delete_cb) |
| T * | dot_product (const GenericVector< T * > &other) const |
template<typename T>
class tesseract::PointerVector< T >
Definition at line 327 of file genericvector.h.