| 
    KiCad PCB EDA Suite
    
   | 
 
uni_iter is a non-mutating iterator that walks through unicode code points in the UTF8 encoded string. More...
#include <utf8.h>
Public Member Functions | |
| uni_iter () | |
| uni_iter (const uni_iter &o) | |
| const uni_iter & | operator++ () | 
| pre-increment and return uni_iter at new position   | |
| uni_iter | operator++ (int) | 
| post-increment and return uni_iter at initial position   | |
| unsigned | operator-> () const | 
| return unicode at current position   | |
| unsigned | operator* () const | 
| return unicode at current position   | |
| uni_iter | operator- (int aVal) const | 
| bool | operator== (const uni_iter &other) const | 
| bool | operator!= (const uni_iter &other) const | 
| bool | operator< (const uni_iter &other) const | 
| Since the ++ operators advance more than one byte, this is your best loop termination test, < end(), not == end().   | |
| bool | operator<= (const uni_iter &other) const | 
| bool | operator> (const uni_iter &other) const | 
| bool | operator>= (const uni_iter &other) const | 
Private Member Functions | |
| uni_iter (const char *start) | |
Private Attributes | |
| const unsigned char * | it | 
Friends | |
| class | UTF8 | 
uni_iter is a non-mutating iterator that walks through unicode code points in the UTF8 encoded string.
The normal ++(), ++(int), ->(), and *() operators are all supported for read only access and some return an unsigned holding the unicode character appropriate for the respective operator.
      
  | 
  inline | 
Definition at line 234 of file utf8.h.
References it.
Referenced by operator!=(), operator++(), operator++(), operator-(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and uni_iter().
      
  | 
  inline | 
Definition at line 239 of file utf8.h.
References it, and uni_iter().
      
  | 
  inlineprivate | 
      
  | 
  inline | 
Definition at line 283 of file utf8.h.
References it, and uni_iter().
      
  | 
  inline | 
return unicode at current position
Definition at line 271 of file utf8.h.
References it, result, and UTF8::uni_forward().
      
  | 
  inline | 
pre-increment and return uni_iter at new position
Definition at line 245 of file utf8.h.
References it, UTF8::uni_forward(), and uni_iter().
      
  | 
  inline | 
post-increment and return uni_iter at initial position
Definition at line 252 of file utf8.h.
References it, UTF8::uni_forward(), and uni_iter().
      
  | 
  inline | 
Definition at line 280 of file utf8.h.
References it, and uni_iter().
      
  | 
  inline | 
return unicode at current position
Definition at line 261 of file utf8.h.
References it, result, and UTF8::uni_forward().
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 288 of file utf8.h.
References it, and uni_iter().
      
  | 
  inline | 
Definition at line 282 of file utf8.h.
References it, and uni_iter().
      
  | 
  inline | 
Definition at line 289 of file utf8.h.
References it, and uni_iter().
      
  | 
  inline | 
Definition at line 290 of file utf8.h.
References it, and uni_iter().
      
  | 
  friend | 
      
  | 
  private | 
Definition at line 295 of file utf8.h.
Referenced by operator!=(), operator*(), operator++(), operator++(), operator-(), operator->(), operator<(), operator<=(), operator==(), operator>(), operator>=(), uni_iter(), uni_iter(), and uni_iter().