tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::OutputBuffer Class Reference

#include <fileio.h>

Public Member Functions

 OutputBuffer (FILE *stream)
 
 OutputBuffer (FILE *stream, size_t size)
 
 ~OutputBuffer ()
 
void WriteString (const std::string &str)
 
bool CloseFile ()
 

Private Attributes

FILE * stream_
 

Constructor & Destructor Documentation

◆ OutputBuffer() [1/2]

tesseract::OutputBuffer::OutputBuffer ( FILE *  stream)
explicit

◆ OutputBuffer() [2/2]

tesseract::OutputBuffer::OutputBuffer ( FILE *  stream,
size_t  size 
)

◆ ~OutputBuffer()

tesseract::OutputBuffer::~OutputBuffer ( )

Member Function Documentation

◆ CloseFile()

bool tesseract::OutputBuffer::CloseFile ( )

◆ WriteString()

void tesseract::OutputBuffer::WriteString ( const std::string &  str)

Member Data Documentation

◆ stream_

FILE* tesseract::OutputBuffer::stream_
private

The documentation for this class was generated from the following files: