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

#include <paramsd.h>

Inheritance diagram for ParamContent:
Collaboration diagram for ParamContent:

Public Member Functions

 ParamContent ()=default
 
 ParamContent (tesseract::StringParam *it)
 
 ParamContent (tesseract::IntParam *it)
 
 ParamContent (tesseract::BoolParam *it)
 
 ParamContent (tesseract::DoubleParam *it)
 
void SetValue (const char *val)
 
STRING GetValue () const
 
const char * GetName () const
 
const char * GetDescription () const
 
int GetId ()
 
bool HasChanged ()
 

Static Public Member Functions

static int Compare (const void *v1, const void *v2)
 
static ParamContentGetParamContentById (int id)
 

Private Attributes

int my_id_
 
bool changed_
 
ParamType param_type_
 
tesseract::StringParamsIt
 
tesseract::IntParamiIt
 
tesseract::BoolParambIt
 
tesseract::DoubleParamdIt
 

Constructor & Destructor Documentation

◆ ParamContent() [1/5]

ParamContent::ParamContent ( )
default

◆ ParamContent() [2/5]

ParamContent::ParamContent ( tesseract::StringParam it)
explicit

◆ ParamContent() [3/5]

ParamContent::ParamContent ( tesseract::IntParam it)
explicit

◆ ParamContent() [4/5]

ParamContent::ParamContent ( tesseract::BoolParam it)
explicit

◆ ParamContent() [5/5]

ParamContent::ParamContent ( tesseract::DoubleParam it)
explicit

Member Function Documentation

◆ Compare()

int ParamContent::Compare ( const void *  v1,
const void *  v2 
)
static

◆ GetDescription()

const char * ParamContent::GetDescription ( ) const

◆ GetId()

int ParamContent::GetId ( )
inline

◆ GetName()

const char * ParamContent::GetName ( ) const

◆ GetParamContentById()

ParamContent * ParamContent::GetParamContentById ( int  id)
static

◆ GetValue()

STRING ParamContent::GetValue ( ) const

◆ HasChanged()

bool ParamContent::HasChanged ( )
inline

◆ SetValue()

void ParamContent::SetValue ( const char *  val)

Member Data Documentation

◆ bIt

tesseract::BoolParam* ParamContent::bIt
private

◆ changed_

bool ParamContent::changed_
private

◆ dIt

tesseract::DoubleParam* ParamContent::dIt
private

◆ iIt

tesseract::IntParam* ParamContent::iIt
private

◆ my_id_

int ParamContent::my_id_
private

◆ param_type_

ParamType ParamContent::param_type_
private

◆ sIt

tesseract::StringParam* ParamContent::sIt
private

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