tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::UnicharAndFonts Struct Reference

#include <shapetable.h>

Collaboration diagram for tesseract::UnicharAndFonts:

Public Member Functions

 UnicharAndFonts ()
 
 UnicharAndFonts (int uni_id, int font_id)
 
bool Serialize (FILE *fp) const
 
bool DeSerialize (TFile *fp)
 

Static Public Member Functions

static int SortByUnicharId (const void *v1, const void *v2)
 

Public Attributes

GenericVector< int32_t > font_ids
 
int32_t unichar_id
 

Constructor & Destructor Documentation

◆ UnicharAndFonts() [1/2]

tesseract::UnicharAndFonts::UnicharAndFonts ( )
inline

◆ UnicharAndFonts() [2/2]

tesseract::UnicharAndFonts::UnicharAndFonts ( int  uni_id,
int  font_id 
)
inline

Member Function Documentation

◆ DeSerialize()

bool tesseract::UnicharAndFonts::DeSerialize ( TFile fp)

◆ Serialize()

bool tesseract::UnicharAndFonts::Serialize ( FILE *  fp) const

◆ SortByUnicharId()

int tesseract::UnicharAndFonts::SortByUnicharId ( const void *  v1,
const void *  v2 
)
static

Member Data Documentation

◆ font_ids

GenericVector<int32_t> tesseract::UnicharAndFonts::font_ids

◆ unichar_id

int32_t tesseract::UnicharAndFonts::unichar_id

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