tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::UNICHAR::const_iterator Class Reference

#include <unichar.h>

Public Member Functions

const_iteratoroperator++ ()
 
int operator* () const
 
int get_utf8 (char *buf) const
 
int utf8_len () const
 
bool is_legal () const
 
const char * utf8_data () const
 

Private Types

using CI = const_iterator
 

Private Member Functions

 const_iterator (const char *it)
 

Private Attributes

const char * it_
 

Friends

class UNICHAR
 
bool operator== (const CI &lhs, const CI &rhs)
 
bool operator!= (const CI &lhs, const CI &rhs)
 

Member Typedef Documentation

◆ CI

Constructor & Destructor Documentation

◆ const_iterator()

tesseract::UNICHAR::const_iterator::const_iterator ( const char *  it)
inlineexplicitprivate

Member Function Documentation

◆ get_utf8()

int tesseract::UNICHAR::const_iterator::get_utf8 ( char *  buf) const

◆ is_legal()

bool tesseract::UNICHAR::const_iterator::is_legal ( ) const

◆ operator*()

int tesseract::UNICHAR::const_iterator::operator* ( ) const

◆ operator++()

UNICHAR::const_iterator & tesseract::UNICHAR::const_iterator::operator++ ( )

◆ utf8_data()

const char* tesseract::UNICHAR::const_iterator::utf8_data ( ) const
inline

◆ utf8_len()

int tesseract::UNICHAR::const_iterator::utf8_len ( ) const

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const CI lhs,
const CI rhs 
)
friend

◆ operator==

bool operator== ( const CI lhs,
const CI rhs 
)
friend

◆ UNICHAR

friend class UNICHAR
friend

Member Data Documentation

◆ it_

const char* tesseract::UNICHAR::const_iterator::it_
private

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