Public Types | Public Member Functions | Private Attributes | Friends | List of all members
absl::strings_internal::SplitIterator< Splitter > Class Template Reference

#include <str_split_internal.h>

Public Types

using difference_type = ptrdiff_t
 
using iterator_category = std::input_iterator_tag
 
using pointer = const value_type *
 
using reference = const value_type &
 
enum  State { kInitState, kLastState, kEndState }
 
using value_type = absl::string_view
 

Public Member Functions

bool at_end () const
 
reference operator* () const
 
SplitIteratoroperator++ ()
 
SplitIterator operator++ (int)
 
pointer operator-> () const
 
 SplitIterator (State state, const Splitter *splitter)
 

Private Attributes

absl::string_view curr_
 
Splitter::DelimiterType delimiter_
 
size_t pos_
 
Splitter::PredicateType predicate_
 
const Splittersplitter_
 
State state_
 

Friends

bool operator!= (const SplitIterator &a, const SplitIterator &b)
 
bool operator== (const SplitIterator &a, const SplitIterator &b)
 

Detailed Description

template<typename Splitter>
class absl::strings_internal::SplitIterator< Splitter >

Definition at line 112 of file str_split_internal.h.

Member Typedef Documentation

template<typename Splitter >
using absl::strings_internal::SplitIterator< Splitter >::difference_type = ptrdiff_t

Definition at line 116 of file str_split_internal.h.

template<typename Splitter >
using absl::strings_internal::SplitIterator< Splitter >::iterator_category = std::input_iterator_tag

Definition at line 114 of file str_split_internal.h.

template<typename Splitter >
using absl::strings_internal::SplitIterator< Splitter >::pointer = const value_type*

Definition at line 117 of file str_split_internal.h.

template<typename Splitter >
using absl::strings_internal::SplitIterator< Splitter >::reference = const value_type&

Definition at line 118 of file str_split_internal.h.

Definition at line 115 of file str_split_internal.h.

Member Enumeration Documentation

template<typename Splitter >
enum absl::strings_internal::SplitIterator::State
Enumerator
kInitState 
kLastState 
kEndState 

Definition at line 120 of file str_split_internal.h.

Constructor & Destructor Documentation

template<typename Splitter >
absl::strings_internal::SplitIterator< Splitter >::SplitIterator ( State  state,
const Splitter splitter 
)
inline

Definition at line 121 of file str_split_internal.h.

Member Function Documentation

template<typename Splitter >
bool absl::strings_internal::SplitIterator< Splitter >::at_end ( ) const
inline

Definition at line 149 of file str_split_internal.h.

template<typename Splitter >
reference absl::strings_internal::SplitIterator< Splitter >::operator* ( ) const
inline

Definition at line 151 of file str_split_internal.h.

template<typename Splitter >
SplitIterator& absl::strings_internal::SplitIterator< Splitter >::operator++ ( )
inline

Definition at line 154 of file str_split_internal.h.

template<typename Splitter >
SplitIterator absl::strings_internal::SplitIterator< Splitter >::operator++ ( int  )
inline

Definition at line 169 of file str_split_internal.h.

template<typename Splitter >
pointer absl::strings_internal::SplitIterator< Splitter >::operator-> ( ) const
inline

Definition at line 152 of file str_split_internal.h.

Friends And Related Function Documentation

template<typename Splitter >
bool operator!= ( const SplitIterator< Splitter > &  a,
const SplitIterator< Splitter > &  b 
)
friend

Definition at line 179 of file str_split_internal.h.

template<typename Splitter >
bool operator== ( const SplitIterator< Splitter > &  a,
const SplitIterator< Splitter > &  b 
)
friend

Definition at line 175 of file str_split_internal.h.

Member Data Documentation

template<typename Splitter >
absl::string_view absl::strings_internal::SplitIterator< Splitter >::curr_
private

Definition at line 186 of file str_split_internal.h.

template<typename Splitter >
Splitter::DelimiterType absl::strings_internal::SplitIterator< Splitter >::delimiter_
private

Definition at line 188 of file str_split_internal.h.

template<typename Splitter >
size_t absl::strings_internal::SplitIterator< Splitter >::pos_
private

Definition at line 184 of file str_split_internal.h.

template<typename Splitter >
Splitter::PredicateType absl::strings_internal::SplitIterator< Splitter >::predicate_
private

Definition at line 189 of file str_split_internal.h.

template<typename Splitter >
const Splitter* absl::strings_internal::SplitIterator< Splitter >::splitter_
private

Definition at line 187 of file str_split_internal.h.

template<typename Splitter >
State absl::strings_internal::SplitIterator< Splitter >::state_
private

Definition at line 185 of file str_split_internal.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:59