#include <fileio.h>
Definition at line 80 of file fileio.h.
◆ OutputBuffer() [1/2]
tesseract::OutputBuffer::OutputBuffer |
( |
FILE * |
stream | ) |
|
|
explicit |
◆ OutputBuffer() [2/2]
tesseract::OutputBuffer::OutputBuffer |
( |
FILE * |
stream, |
|
|
size_t |
size |
|
) |
| |
◆ ~OutputBuffer()
tesseract::OutputBuffer::~OutputBuffer |
( |
| ) |
|
Definition at line 180 of file fileio.cpp.
181 if (stream_ !=
nullptr) {
◆ CloseFile()
bool tesseract::OutputBuffer::CloseFile |
( |
| ) |
|
Definition at line 190 of file fileio.cpp.
191 int ret = fclose(stream_);
◆ WriteString()
void tesseract::OutputBuffer::WriteString |
( |
const string & |
str | ) |
|
Definition at line 186 of file fileio.cpp.
187 fputs(str.c_str(), stream_);
The documentation for this class was generated from the following files:
- /home/stefan/src/github/tesseract-ocr/tesseract/training/fileio.h
- /home/stefan/src/github/tesseract-ocr/tesseract/training/fileio.cpp