tesseract v5.3.3.20231005
tesseract::LineHypothesis Struct Reference

#include <paragraphs_internal.h>

Public Member Functions

 LineHypothesis ()
 
 LineHypothesis (LineType line_type, const ParagraphModel *m)
 
 LineHypothesis (const LineHypothesis &other)=default
 
LineHypothesisoperator= (const LineHypothesis &other)=default
 
bool operator== (const LineHypothesis &other) const
 

Public Attributes

LineType ty
 
const ParagraphModelmodel
 

Detailed Description

Definition at line 73 of file paragraphs_internal.h.

Constructor & Destructor Documentation

◆ LineHypothesis() [1/3]

tesseract::LineHypothesis::LineHypothesis ( )
inline

Definition at line 74 of file paragraphs_internal.h.

◆ LineHypothesis() [2/3]

tesseract::LineHypothesis::LineHypothesis ( LineType  line_type,
const ParagraphModel m 
)
inline

Definition at line 75 of file paragraphs_internal.h.

75: ty(line_type), model(m) {}

◆ LineHypothesis() [3/3]

tesseract::LineHypothesis::LineHypothesis ( const LineHypothesis other)
default

Member Function Documentation

◆ operator=()

LineHypothesis & tesseract::LineHypothesis::operator= ( const LineHypothesis other)
default

◆ operator==()

bool tesseract::LineHypothesis::operator== ( const LineHypothesis other) const
inline

Definition at line 81 of file paragraphs_internal.h.

81 {
82 return ty == other.ty && model == other.model;
83 }

Member Data Documentation

◆ model

const ParagraphModel* tesseract::LineHypothesis::model

Definition at line 86 of file paragraphs_internal.h.

◆ ty

LineType tesseract::LineHypothesis::ty

Definition at line 85 of file paragraphs_internal.h.


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