#include <imagedata.h>
◆ DocumentData()
tesseract::DocumentData::DocumentData |
( |
const STRING & |
name | ) |
|
|
explicit |
◆ ~DocumentData()
tesseract::DocumentData::~DocumentData |
( |
| ) |
|
◆ AddPageToDocument()
void tesseract::DocumentData::AddPageToDocument |
( |
ImageData * |
page | ) |
|
◆ document_name()
const STRING& tesseract::DocumentData::document_name |
( |
| ) |
const |
|
inline |
◆ GetPage()
const ImageData * tesseract::DocumentData::GetPage |
( |
int |
index | ) |
|
◆ IsCached()
bool tesseract::DocumentData::IsCached |
( |
| ) |
const |
|
inline |
◆ IsPageAvailable()
bool tesseract::DocumentData::IsPageAvailable |
( |
int |
index, |
|
|
ImageData ** |
page |
|
) |
| |
◆ LoadDocument()
bool tesseract::DocumentData::LoadDocument |
( |
const char * |
filename, |
|
|
int |
start_page, |
|
|
int64_t |
max_memory, |
|
|
FileReader |
reader |
|
) |
| |
◆ LoadPageInBackground()
void tesseract::DocumentData::LoadPageInBackground |
( |
int |
index | ) |
|
◆ memory_used()
int64_t tesseract::DocumentData::memory_used |
( |
| ) |
const |
|
inline |
◆ NumPages()
int tesseract::DocumentData::NumPages |
( |
| ) |
const |
|
inline |
◆ ReCachePages()
bool tesseract::DocumentData::ReCachePages |
( |
| ) |
|
|
private |
◆ SaveDocument()
bool tesseract::DocumentData::SaveDocument |
( |
const char * |
filename, |
|
|
FileWriter |
writer |
|
) |
| |
◆ SaveToBuffer()
bool tesseract::DocumentData::SaveToBuffer |
( |
GenericVector< char > * |
buffer | ) |
|
◆ set_memory_used()
void tesseract::DocumentData::set_memory_used |
( |
int64_t |
memory_used | ) |
|
|
inlineprivate |
◆ set_total_pages()
void tesseract::DocumentData::set_total_pages |
( |
int |
total | ) |
|
|
inlineprivate |
◆ SetDocument()
void tesseract::DocumentData::SetDocument |
( |
const char * |
filename, |
|
|
int64_t |
max_memory, |
|
|
FileReader |
reader |
|
) |
| |
◆ Shuffle()
void tesseract::DocumentData::Shuffle |
( |
| ) |
|
◆ TakePage()
ImageData* tesseract::DocumentData::TakePage |
( |
int |
index | ) |
|
|
inline |
◆ UnCache()
int64_t tesseract::DocumentData::UnCache |
( |
| ) |
|
◆ ReCachePagesFunc
void* ReCachePagesFunc |
( |
void * |
data | ) |
|
|
friend |
◆ document_name_
STRING tesseract::DocumentData::document_name_ |
|
private |
◆ general_mutex_
SVMutex tesseract::DocumentData::general_mutex_ |
|
mutableprivate |
◆ max_memory_
int64_t tesseract::DocumentData::max_memory_ |
|
private |
◆ memory_used_
int64_t tesseract::DocumentData::memory_used_ |
|
private |
◆ pages_
◆ pages_mutex_
SVMutex tesseract::DocumentData::pages_mutex_ |
|
private |
◆ pages_offset_
int tesseract::DocumentData::pages_offset_ |
|
private |
◆ reader_
◆ total_pages_
int tesseract::DocumentData::total_pages_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccstruct/imagedata.h
- /home/stephane/src/tesseract/src/ccstruct/imagedata.cpp