tesseract  5.0.0-alpha-619-ge9db
UnicodeText::const_reverse_iterator Class Reference

#include <unicodetext.h>

Inheritance diagram for UnicodeText::const_reverse_iterator:

Public Member Functions

 const_reverse_iterator (const_iterator it)
 
const char * utf8_data () const
 
int get_utf8 (char *buf) const
 
string get_utf8_string () const
 
int utf8_length () const
 

Detailed Description

Definition at line 249 of file unicodetext.h.

Constructor & Destructor Documentation

◆ const_reverse_iterator()

UnicodeText::const_reverse_iterator::const_reverse_iterator ( const_iterator  it)
inlineexplicit

Definition at line 251 of file unicodetext.h.

251  :
252  std::reverse_iterator<const_iterator>(it) {}

Member Function Documentation

◆ get_utf8()

int UnicodeText::const_reverse_iterator::get_utf8 ( char *  buf) const
inline

Definition at line 257 of file unicodetext.h.

257  {
258  const_iterator tmp_it = base();
259  return (--tmp_it).get_utf8(buf);
260  }

◆ get_utf8_string()

string UnicodeText::const_reverse_iterator::get_utf8_string ( ) const
inline

Definition at line 261 of file unicodetext.h.

261  {
262  const_iterator tmp_it = base();
263  return (--tmp_it).get_utf8_string();
264  }

◆ utf8_data()

const char* UnicodeText::const_reverse_iterator::utf8_data ( ) const
inline

Definition at line 253 of file unicodetext.h.

253  {
254  const_iterator tmp_it = base();
255  return (--tmp_it).utf8_data();
256  }

◆ utf8_length()

int UnicodeText::const_reverse_iterator::utf8_length ( ) const
inline

Definition at line 265 of file unicodetext.h.

265  {
266  const_iterator tmp_it = base();
267  return (--tmp_it).utf8_length();
268  }

The documentation for this class was generated from the following file:
UnicodeText::const_iterator
friend class const_iterator
Definition: unicodetext.h:332