tesseract  5.0.0-alpha-619-ge9db
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 32 of file unichar.h.

Typedef Documentation

◆ UNICHAR_ID

using UNICHAR_ID = int

Definition at line 36 of file unichar.h.

Enumeration Type Documentation

◆ StrongScriptDirection

Enumerator
DIR_NEUTRAL 
DIR_LEFT_TO_RIGHT 
DIR_RIGHT_TO_LEFT 
DIR_MIX 

Definition at line 43 of file unichar.h.

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