#include <indexmapbidi.h>
Definition at line 42 of file indexmapbidi.h.
| tesseract::IndexMap::~IndexMap |
( |
| ) |
|
|
virtualdefault |
| int tesseract::IndexMap::CompactSize |
( |
| ) |
const |
|
inline |
Definition at line 61 of file indexmapbidi.h.
GenericVector< int32_t > compact_map_
| int tesseract::IndexMap::CompactToSparse |
( |
int |
compact_index | ) |
const |
|
inline |
Definition at line 53 of file indexmapbidi.h.
GenericVector< int32_t > compact_map_
| void tesseract::IndexMap::CopyFrom |
( |
const IndexMap & |
src | ) |
|
| void tesseract::IndexMap::CopyFrom |
( |
const IndexMapBiDi & |
src | ) |
|
| bool tesseract::IndexMap::DeSerialize |
( |
bool |
swap, |
|
|
FILE * |
fp |
|
) |
| |
Definition at line 54 of file indexmapbidi.cpp.
58 ReverseN(&sparse_size,
sizeof(sparse_size));
60 if (sparse_size > UINT16_MAX)
return false;
GenericVector< int32_t > compact_map_
bool DeSerialize(bool swap, FILE *fp)
bool DeSerialize(FILE *fp, char *data, size_t n)
void ReverseN(void *ptr, int num_bytes)
| bool tesseract::IndexMap::Serialize |
( |
FILE * |
fp | ) |
const |
Definition at line 48 of file indexmapbidi.cpp.
bool Serialize(FILE *fp) const
GenericVector< int32_t > compact_map_
bool Serialize(FILE *fp, const char *data, size_t n)
| virtual int tesseract::IndexMap::SparseSize |
( |
| ) |
const |
|
inlinevirtual |
| int tesseract::IndexMap::SparseToCompact |
( |
int |
sparse_index | ) |
const |
|
virtual |
| int32_t tesseract::IndexMap::sparse_size_ |
|
protected |
The documentation for this class was generated from the following files: