All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tesseract::KDVector Class Reference

#include <kdpair.h>

Inheritance diagram for tesseract::KDVector:
GenericVector< IntKDPair >

Additional Inherited Members

- Public Member Functions inherited from GenericVector< IntKDPair >
 GenericVector ()
 GenericVector (int size, IntKDPairinit_val)
 GenericVector (const GenericVector &other)
GenericVector< IntKDPair > & operator+= (const GenericVector &other)
void operator+= (IntKDPairt)
GenericVector< IntKDPair > & operator= (const GenericVector &other)
 ~GenericVector ()
void reserve (int size)
void double_the_size ()
void init_to_size (int size, IntKDPairt)
void resize_no_init (int size)
int 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 (IntKDPairobject) const
bool contains (IntKDPairobject) const
IntKDPair contains_index (int index) const
int push_back (IntKDPairobject)
int push_back_new (IntKDPairobject)
int push_front (IntKDPairobject)
void set (IntKDPairt, int index)
void insert (IntKDPairt, int index)
void remove (int index)
void truncate (int size)
void set_clear_callback (TessCallback1< IntKDPair > *cb)
void set_compare_callback (TessResultCallback2< bool, IntKDPairconst &, IntKDPairconst & > *cb)
void clear ()
void delete_data_pointers ()
void move (GenericVector< IntKDPair > *from)
bool write (FILE *f, TessResultCallback2< bool, FILE *, IntKDPairconst & > *cb) const
bool read (FILE *f, TessResultCallback3< bool, FILE *, IntKDPair *, bool > *cb, bool swap)
bool Serialize (FILE *fp) const
bool Serialize (tesseract::TFile *fp) const
bool DeSerialize (bool swap, FILE *fp)
bool DeSerialize (bool swap, tesseract::TFile *fp)
bool SerializeClasses (FILE *fp) const
bool SerializeClasses (tesseract::TFile *fp) const
bool DeSerializeClasses (bool swap, FILE *fp)
bool DeSerializeClasses (bool swap, 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 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,
&, IntKDPairconst & > * 
- Static Protected Attributes inherited from GenericVector< IntKDPair >
static const int kDefaultVectorSize

Detailed Description

Definition at line 182 of file kdpair.h.

The documentation for this class was generated from the following file: