|
| void | clear () |
| |
| bool | add_unique (const DawgPosition &new_pos, bool debug, const char *debug_msg) |
| |
| | GenericVector () |
| |
| | GenericVector (int size, DawgPosition init_val) |
| |
| | GenericVector (const GenericVector &other) |
| |
| GenericVector< DawgPosition > & | operator+= (const GenericVector &other) |
| |
| void | operator+= (DawgPosition t) |
| |
| GenericVector< DawgPosition > & | operator= (const GenericVector &other) |
| |
| | ~GenericVector () |
| |
| void | reserve (int size) |
| |
| void | double_the_size () |
| |
| void | init_to_size (int size, DawgPosition t) |
| |
| void | resize_no_init (int size) |
| |
| int | size () const |
| |
| unsigned int | unsigned_size () const |
| |
| int | size_reserved () const |
| |
| int | length () const |
| |
| bool | empty () const |
| |
| DawgPosition & | get (int index) const |
| |
| DawgPosition & | back () const |
| |
| DawgPosition & | operator[] (int index) const |
| |
| DawgPosition | pop_back () |
| |
| int | get_index (DawgPosition object) const |
| |
| bool | contains (DawgPosition object) const |
| |
| DawgPosition | contains_index (int index) const |
| |
| int | push_back (DawgPosition object) |
| |
| int | push_back_new (DawgPosition object) |
| |
| int | push_front (DawgPosition object) |
| |
| void | set (DawgPosition t, int index) |
| |
| void | insert (DawgPosition t, int index) |
| |
| void | remove (int index) |
| |
| void | truncate (int size) |
| |
| void | set_clear_callback (TessCallback1< DawgPosition > *cb) |
| |
| void | set_compare_callback (TessResultCallback2< bool, DawgPosition const &, DawgPosition const & > *cb) |
| |
| void | clear () |
| |
| void | delete_data_pointers () |
| |
| void | move (GenericVector< DawgPosition > *from) |
| |
| bool | write (FILE *f, TessResultCallback2< bool, FILE *, DawgPosition const & > *cb) const |
| |
| bool | read (tesseract::TFile *f, TessResultCallback2< bool, tesseract::TFile *, DawgPosition * > *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 DawgPosition &target) const |
| |
| int | binary_search (const DawgPosition &target) const |
| |
| void | compact_sorted () |
| |
| void | compact (TessResultCallback1< bool, int > *delete_cb) |
| |
| DawgPosition | dot_product (const GenericVector< DawgPosition > &other) const |
| |
| int | choose_nth_item (int target_index) |
| |
| void | swap (int index1, int index2) |
| |
| bool | WithinBounds (const DawgPosition &rangemin, const DawgPosition &rangemax) const |
| |
Definition at line 380 of file dawg.h.