class: utf8::iterator
Description:
Associated Namespace:
Constructor and Destructor:
+ iterator ();
+ iterator (std::string & _str);
+ iterator (std::string & _str,
const std::string::iterator & _pos);
+ iterator (std::string & _str,
size_t _pos);
+ iterator (std::string* _str,
const std::string::iterator & _pos);
+ iterator (std::string* _str,
size_t _pos);
+ iterator (const iterator & _obj);
+ virtual ~iterator ();
Synopsis:
+ iterator & operator = (const iterator & _obj);
+ operator size_t () const;
+ iterator & operator ++ ();
+ iterator & operator -- ();
+ iterator operator ++ (int32_t );
+ iterator operator -- (int32_t );
+ bool operator == (const iterator & _obj) const;
+ bool operator != (const iterator & _obj) const;
+ bool operator <= (const iterator & _obj) const;
+ bool operator >= (const iterator & _obj) const;
+ bool operator < (const iterator & _obj) const;
+ bool operator > (const iterator & _obj) const;
+ char32_t operator * ();
+ size_t getPos () const;
+ iterator operator + (const int64_t _val) const;
+ iterator operator + (const int32_t _val) const;
+ iterator operator + (const size_t _val) const;
+ iterator operator - (const int64_t _val) const;
+ iterator operator - (const int32_t _val) const;
+ iterator operator - (const size_t _val) const;
Detail:
iterator
+ iterator ();
iterator
+ iterator (std::string & _str);
iterator
+ iterator (std::string & _str,
const std::string::iterator & _pos);
iterator
+ iterator (std::string & _str,
size_t _pos);
iterator
+ iterator (std::string* _str,
const std::string::iterator & _pos);
iterator
+ iterator (std::string* _str,
size_t _pos);
iterator
+ iterator (const iterator & _obj);
Recopy constructor.
operator =
+ iterator & operator = (const iterator & _obj);
Asignation operator.
~iterator
+ virtual ~iterator ();
Basic destructor
operator size_t
+ operator size_t () const;
basic boolean cast
Return: | | true if the element is present in buffer |
operator ++
+ iterator & operator ++ ();
Incremental operator
Return: | | Reference on the current iterator incremented |
operator --
+ iterator & operator -- ();
Decremental operator
Return: | | Reference on the current iterator decremented |
operator ++
+ iterator operator ++ (int32_t );
Incremental operator
Return: | | Reference on a new iterator and increment the other one |
operator --
+ iterator operator -- (int32_t );
Decremental operator
Return: | | Reference on a new iterator and decrement the other one |
operator ==
+ bool operator == (const iterator & _obj) const;
egality iterator
Return: | | true if the iterator is identical pos |
operator !=
+ bool operator != (const iterator & _obj) const;
egality iterator
Return: | | true if the iterator is identical pos |
operator <=
+ bool operator <= (const iterator & _obj) const;
<= iterator
Return: | | true if the iterator is identical pos |
operator >=
+ bool operator >= (const iterator & _obj) const;
>= iterator
Return: | | true if the iterator is identical pos |
operator <
+ bool operator < (const iterator & _obj) const;
< iterator
Return: | | true if the iterator is identical pos |
operator >
+ bool operator > (const iterator & _obj) const;
> iterator
Return: | | true if the iterator is identical pos |
operator *
+ char32_t operator * ();
Get the value on the current element
Return: | | The request element value |
getPos
+ size_t getPos () const;
Get the position in the buffer
Return: | | The requested position. |
operator +
+ iterator operator + (const int64_t _val) const;
move the element position
operator +
+ iterator operator + (const int32_t _val) const;
operator +
+ iterator operator + (const size_t _val) const;
operator -
+ iterator operator - (const int64_t _val) const;
move the element position
operator -
+ iterator operator - (const int32_t _val) const;
operator -
+ iterator operator - (const size_t _val) const;