tesseract
3.05.02
|
#include <serialis.h>
Public Member Functions | |
TFile () | |
~TFile () | |
bool | Open (const STRING &filename, FileReader reader) |
bool | Open (const char *data, int size) |
bool | Open (FILE *fp, inT64 end_offset) |
char * | FGets (char *buffer, int buffer_size) |
int | FRead (void *buffer, int size, int count) |
void | Rewind () |
void | OpenWrite (GenericVector< char > *data) |
bool | CloseWrite (const STRING &filename, FileWriter writer) |
int | FWrite (const void *buffer, int size, int count) |
Definition at line 51 of file serialis.h.
tesseract::TFile::TFile | ( | ) |
Definition at line 26 of file serialis.cpp.
tesseract::TFile::~TFile | ( | ) |
Definition at line 30 of file serialis.cpp.
bool tesseract::TFile::CloseWrite | ( | const STRING & | filename, |
FileWriter | writer | ||
) |
Definition at line 123 of file serialis.cpp.
char * tesseract::TFile::FGets | ( | char * | buffer, |
int | buffer_size | ||
) |
Definition at line 80 of file serialis.cpp.
int tesseract::TFile::FRead | ( | void * | buffer, |
int | size, | ||
int | count | ||
) |
Definition at line 91 of file serialis.cpp.
int tesseract::TFile::FWrite | ( | const void * | buffer, |
int | size, | ||
int | count | ||
) |
Definition at line 131 of file serialis.cpp.
bool tesseract::TFile::Open | ( | const STRING & | filename, |
FileReader | reader | ||
) |
Definition at line 35 of file serialis.cpp.
bool tesseract::TFile::Open | ( | const char * | data, |
int | size | ||
) |
Definition at line 48 of file serialis.cpp.
bool tesseract::TFile::Open | ( | FILE * | fp, |
inT64 | end_offset | ||
) |
Definition at line 60 of file serialis.cpp.
void tesseract::TFile::OpenWrite | ( | GenericVector< char > * | data | ) |
Definition at line 109 of file serialis.cpp.
void tesseract::TFile::Rewind | ( | ) |
Definition at line 104 of file serialis.cpp.