libstdc++
std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits > Class Template Reference

Public Types

typedef std::ptrdiff_t difference_type
 
typedef std::forward_iterator_tag iterator_category
 
typedef const value_typepointer
 
typedef const value_typereference
 
typedef basic_regex< _Ch_type,
_Rx_traits > 
regex_type
 
typedef match_results< _Bi_iter > value_type
 

Public Member Functions

 regex_iterator ()
 
 regex_iterator (_Bi_iter __a, _Bi_iter __b, const regex_type &__re, regex_constants::match_flag_type __m=regex_constants::match_default)
 
 regex_iterator (const regex_iterator &__rhs)
 
bool operator!= (const regex_iterator &__rhs)
 
const value_typeoperator* ()
 
regex_iteratoroperator++ ()
 
regex_iterator operator++ (int)
 
const value_typeoperator-> ()
 
regex_iteratoroperator= (const regex_iterator &__rhs)
 
bool operator== (const regex_iterator &__rhs)
 

Detailed Description

template<typename _Bi_iter, typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
class std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >

An iterator adaptor that will provide repeated calls of regex_search over a range until no more matches remain.

Definition at line 2238 of file regex.h.

Constructor & Destructor Documentation

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_iterator ( )

Provides a singular iterator, useful for indicating one-past-the-end of a range.

Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_iterator ( _Bi_iter  __a,
_Bi_iter  __b,
const regex_type __re,
regex_constants::match_flag_type  __m = regex_constants::match_default 
)

Constructs a regex_iterator...

Parameters
a[IN] The start of a text range to search.
b[IN] One-past-the-end of the text range to search.
re[IN] The regular expression to match.
m[IN] Policy flags for match rules.
Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::regex_iterator ( const regex_iterator< _Bi_iter, _Ch_type, _Rx_traits > &  __rhs)

Copy constructs a regex_iterator.

Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html

Member Function Documentation

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
bool std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator!= ( const regex_iterator< _Bi_iter, _Ch_type, _Rx_traits > &  __rhs)
Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
const value_type& std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator* ( )
Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
regex_iterator& std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator++ ( )
Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
regex_iterator std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator++ ( int  )
Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
const value_type* std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator-> ( )
Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
regex_iterator& std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator= ( const regex_iterator< _Bi_iter, _Ch_type, _Rx_traits > &  __rhs)
Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html

template<typename _Bi_iter , typename _Ch_type = typename iterator_traits<_Bi_iter>::value_type, typename _Rx_traits = regex_traits<_Ch_type>>
bool std::regex_iterator< _Bi_iter, _Ch_type, _Rx_traits >::operator== ( const regex_iterator< _Bi_iter, _Ch_type, _Rx_traits > &  __rhs)
Todo:

Implement this function.

Needs documentation! See http://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_style.html


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