tesseract  4.0.0-1-g2a2b
unichar.h File Reference
#include <memory.h>
#include <cstring>
#include <string>
#include <vector>
#include "platform.h"

Go to the source code of this file.

Classes

class  tesseract::UNICHAR
 
class  tesseract::UNICHAR::const_iterator
 

Namespaces

 tesseract
 

Macros

#define UNICHAR_LEN   30
 

Typedefs

using UNICHAR_ID = int
 
using tesseract::char32 = signed int
 

Enumerations

enum  StrongScriptDirection { DIR_NEUTRAL = 0, DIR_LEFT_TO_RIGHT = 1, DIR_RIGHT_TO_LEFT = 2, DIR_MIX = 3 }
 

Macro Definition Documentation

◆ UNICHAR_LEN

#define UNICHAR_LEN   30

Definition at line 31 of file unichar.h.

Typedef Documentation

◆ UNICHAR_ID

using UNICHAR_ID = int

Definition at line 35 of file unichar.h.

Enumeration Type Documentation

◆ StrongScriptDirection

Enumerator
DIR_NEUTRAL 
DIR_LEFT_TO_RIGHT 
DIR_RIGHT_TO_LEFT 
DIR_MIX 

Definition at line 42 of file unichar.h.

42  {
43  DIR_NEUTRAL = 0, // Text contains only neutral characters.
44  DIR_LEFT_TO_RIGHT = 1, // Text contains no Right-to-Left characters.
45  DIR_RIGHT_TO_LEFT = 2, // Text contains no Left-to-Right characters.
46  DIR_MIX = 3, // Text contains a mixture of left-to-right
47  // and right-to-left characters.
48 };