#include <intproto.h>
Definition at line 93 of file intproto.h.
◆ INT_CLASS_STRUCT() [1/2]
tesseract::INT_CLASS_STRUCT::INT_CLASS_STRUCT |
( |
| ) |
|
|
default |
◆ INT_CLASS_STRUCT() [2/2]
tesseract::INT_CLASS_STRUCT::INT_CLASS_STRUCT |
( |
int |
MaxNumProtos, |
|
|
int |
MaxNumConfigs |
|
) |
| |
This constructor creates a new integer class data structure and returns it. Sufficient space is allocated to handle the specified number of protos and configs.
- Parameters
-
MaxNumProtos | number of protos to allocate space for |
MaxNumConfigs | number of configs to allocate space for |
Definition at line 575 of file intproto.cpp.
575 :
580{
583
585
586 auto ProtoSet = new PROTO_SET_STRUCT;
587 memset(ProtoSet, 0, sizeof(*ProtoSet));
589
590
591 }
593}
#define MaxNumIntProtosIn(C)
#define MAX_NUM_PROTO_SETS
#define PROTOS_PER_PROTO_SET
PROTO_SET_STRUCT * ProtoSets[MAX_NUM_PROTO_SETS]
uint16_t ConfigLengths[MAX_NUM_CONFIGS]
std::vector< uint8_t > ProtoLengths
◆ ~INT_CLASS_STRUCT()
tesseract::INT_CLASS_STRUCT::~INT_CLASS_STRUCT |
( |
| ) |
|
◆ ConfigLengths
◆ font_set_id
int tesseract::INT_CLASS_STRUCT::font_set_id = 0 |
◆ NumConfigs
uint8_t tesseract::INT_CLASS_STRUCT::NumConfigs = 0 |
◆ NumProtos
uint16_t tesseract::INT_CLASS_STRUCT::NumProtos = 0 |
◆ NumProtoSets
uint8_t tesseract::INT_CLASS_STRUCT::NumProtoSets = 0 |
◆ ProtoLengths
std::vector<uint8_t> tesseract::INT_CLASS_STRUCT::ProtoLengths |
◆ ProtoSets
The documentation for this struct was generated from the following files:
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/classify/intproto.h
- /media/home/debian/src/github/tesseract-ocr/tesseract/src/classify/intproto.cpp