string_tokeniser::const_iterator Class Reference

#include <stlsoft/string/string_tokeniser.hpp>

Inheritance diagram for string_tokeniser::const_iterator:

iterator_base

List of all members.


Detailed Description

template<typename S, typename D, typename B = skip_blank_tokens<true>, typename V = S, typename T = string_tokeniser_type_traits<S, V>, typename P = string_tokeniser_comparator<D, S, T>>
class stlsoft::string_tokeniser< S, D, B, V, T, P >::const_iterator

Iterator for string_tokeniser, supporting the Forward Iterator concept.

Member Types

typedef const_iterator class_type
 The type.
typedef
tokeniser_type::delimiter_type 
delimiter_type
 The delimiter type.
typedef tokeniser_type::value_type value_type
 The value type.
typedef tokeniser_type::traits_type traits_type
 The traits type.
typedef value_type effective_const_reference

Construction

 const_iterator ()
 Default constructor.
 const_iterator (class_type const &rhs)
 Copy constructor.
class_type const & operator= (class_type const &rhs)
 Copy-assignment operator.

Public Member Functions

Forward Iterator Methods
operator* () const
 Dereference operator.
class_typeoperator++ ()
 Pre-increment operator.
const class_type operator++ (int)
 Post-increment operator.
bool equal (class_type const &rhs) const
 Evaluates whether this and rhs are equivalent.
bool operator== (class_type const &rhs) const
 Evaluates whether this and rhs are equivalent.
bool operator!= (class_type const &rhs) const
 Evaluates whether this and rhs are not equivalent.

Member Typedef Documentation

The type.

The delimiter type.

The value type.

Reimplemented from iterator_base.

The traits type.


Constructor & Destructor Documentation

const_iterator (  )  [inline]

Default constructor.

const_iterator ( class_type const &  rhs  )  [inline]

Copy constructor.

Parameters:
rhs The iterator whose current search position will be copied


Member Function Documentation

class_type const& operator= ( class_type const &  rhs  )  [inline]

V operator* (  )  const [inline]

Dereference operator.

class_type& operator++ (  )  [inline]

Pre-increment operator.

const class_type operator++ ( int   )  [inline]

Post-increment operator.

bool equal ( class_type const &  rhs  )  const [inline]

Evaluates whether this and rhs are equivalent.

References string_tokeniser::const_iterator::m_end, string_tokeniser::const_iterator::m_find0, and STLSOFT_MESSAGE_ASSERT.

bool operator== ( class_type const &  rhs  )  const [inline]

Evaluates whether this and rhs are equivalent.

bool operator!= ( class_type const &  rhs  )  const [inline]

Evaluates whether this and rhs are not equivalent.


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

Generated on Thu Jun 10 08:59:00 2010 for STLSoft by  doxygen 1.5.6