|
tesseract
4.00.00dev
|
#include <kdpair.h>
Additional Inherited Members | |
Public Member Functions inherited from GenericVector< IntKDPair > | |
| GenericVector () | |
| GenericVector (int size, IntKDPair init_val) | |
| GenericVector (const GenericVector &other) | |
| GenericVector< IntKDPair > & | operator+= (const GenericVector &other) |
| void | operator+= (IntKDPair t) |
| GenericVector< IntKDPair > & | operator= (const GenericVector &other) |
| ~GenericVector () | |
| void | reserve (int size) |
| void | double_the_size () |
| void | init_to_size (int size, IntKDPair 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 |
| IntKDPair & | get (int index) const |
| IntKDPair & | back () const |
| IntKDPair & | operator[] (int index) const |
| IntKDPair | pop_back () |
| int | get_index (IntKDPair object) const |
| bool | contains (IntKDPair object) const |
| IntKDPair | contains_index (int index) const |
| int | push_back (IntKDPair object) |
| int | push_back_new (IntKDPair object) |
| int | push_front (IntKDPair object) |
| void | set (IntKDPair t, int index) |
| void | insert (IntKDPair t, int index) |
| void | remove (int index) |
| void | truncate (int size) |
| void | set_clear_callback (TessCallback1< IntKDPair > *cb) |
| void | set_compare_callback (TessResultCallback2< bool, IntKDPair const &, IntKDPair const & > *cb) |
| void | clear () |
| void | delete_data_pointers () |
| void | move (GenericVector< IntKDPair > *from) |
| bool | write (FILE *f, TessResultCallback2< bool, FILE *, IntKDPair const & > *cb) const |
| bool | read (tesseract::TFile *f, TessResultCallback2< bool, tesseract::TFile *, IntKDPair * > *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 IntKDPair &target) const |
| int | binary_search (const IntKDPair &target) const |
| void | compact_sorted () |
| void | compact (TessResultCallback1< bool, int > *delete_cb) |
| IntKDPair | dot_product (const GenericVector< IntKDPair > &other) const |
| int | choose_nth_item (int target_index) |
| void | swap (int index1, int index2) |
| bool | WithinBounds (const IntKDPair &rangemin, const IntKDPair &rangemax) const |
Static Public Member Functions inherited from GenericVector< IntKDPair > | |
| static bool | SkipDeSerialize (tesseract::TFile *fp) |
| static bool | SkipDeSerializeClasses (tesseract::TFile *fp) |
| static IntKDPair * | double_the_size_memcpy (int current_size, IntKDPair *data) |
Protected Member Functions inherited from GenericVector< IntKDPair > | |
| int | choose_nth_item (int target_index, int start, int end, unsigned int *seed) |
| void | init (int size) |
Protected Attributes inherited from GenericVector< IntKDPair > | |
| inT32 | size_used_ |
| inT32 | size_reserved_ |
| IntKDPair * | data_ |
| TessCallback1< IntKDPair > * | clear_cb_ |
| TessResultCallback2< bool, IntKDPair const &, IntKDPair const &> * | compare_cb_ |
Static Protected Attributes inherited from GenericVector< IntKDPair > | |
| static const int | kDefaultVectorSize |