Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Iter Class Reference

#include <elm/string/utf8.h>

+ Inheritance diagram for Iter:

Public Member Functions

 Iter (const char *str, elm::t::size size)
 
 Iter (cstring str)
 
 Iter (string str)
 
bool ended (void) const
 
const char_titem (void) const
 
void next (void)
 
- Public Member Functions inherited from PreIterator< Iter, char_t >
bool operator() () const
 
bool operator! () const
 
char_t operator* () const
 
char_t operator-> () const
 
Iter & operator++ ()
 
void operator++ (int)
 
bool operator== (const Iter &i) const
 
bool operator!= (const Iter &i) const
 

Additional Inherited Members

- Public Types inherited from PreIterator< Iter, char_t >
typedef char_t t
 
typedef char_t return_t
 

Detailed Description

Traverse an UTF-8 string Unicode character based on UTF-8 unicode characters.

Constructor & Destructor Documentation

◆ Iter() [1/3]

Iter ( const char *  str,
elm::t::size  size 
)
inline

◆ Iter() [2/3]

Iter ( cstring  str)
inline

◆ Iter() [3/3]

Iter ( string  str)
inline

Member Function Documentation

◆ ended()

bool ended ( void  ) const
inline

◆ item()

const char_t& item ( void  ) const
inline

◆ next()

void next ( void  )
inline

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