tesseract
5.0.0-alpha-619-ge9db
|
#include <unicity_table.h>
Public Member Functions | |
UnicityTableEqEq () | |
Public Member Functions inherited from UnicityTable< T > | |
UnicityTable () | |
~UnicityTable () | |
Clear the structures and deallocate internal structures. More... | |
void | reserve (int size) |
int | size () const |
Return the size used. More... | |
const T & | get (int id) const |
Return the object from an id. More... | |
T * | get_mutable (int id) |
int | get_id (T object) const |
bool | contains (T object) const |
Return true if T is in the table. More... | |
T | contains_id (int id) const |
Return true if the id is valid. More... | |
int | push_back (T object) |
Add an element in the table. More... | |
void | set_clear_callback (std::function< void(T)> cb) |
void | set_compare_callback (std::function< bool(const T &, const T &)> cb) |
void | clear () |
void | move (UnicityTable< 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) |
Definition at line 106 of file unicity_table.h.
|
inline |
Definition at line 108 of file unicity_table.h.