Classes | Public Types | Public Member Functions | Private Attributes | List of all members
absl::strings_internal::Splitter< Delimiter, Predicate > Class Template Reference

#include <str_split_internal.h>

Classes

struct  ConvertToContainer
 
struct  ConvertToContainer< Container, std::pair< const First, Second >, true >
 
struct  ConvertToContainer< std::vector< absl::string_view, A >, absl::string_view, false >
 
struct  ConvertToContainer< std::vector< std::string, A >, std::string, false >
 

Public Types

using const_iterator = strings_internal::SplitIterator< Splitter >
 
using DelimiterType = Delimiter
 
using PredicateType = Predicate
 
using value_type = typename std::iterator_traits< const_iterator >::value_type
 

Public Member Functions

const_iterator begin () const
 
const Delimiter & delimiter () const
 
const_iterator end () const
 
template<typename Container , typename = typename std::enable_if< SplitterIsConvertibleTo<Container>::value>::type>
 operator Container () const
 
template<typename First , typename Second >
 operator std::pair< First, Second > () const
 
const Predicate & predicate () const
 
 Splitter (ConvertibleToStringView input_text, Delimiter d, Predicate p)
 
absl::string_view text () const
 

Private Attributes

Delimiter delimiter_
 
Predicate predicate_
 
ConvertibleToStringView text_
 

Detailed Description

template<typename Delimiter, typename Predicate>
class absl::strings_internal::Splitter< Delimiter, Predicate >

Definition at line 276 of file str_split_internal.h.

Member Typedef Documentation

◆ const_iterator

template<typename Delimiter, typename Predicate>
using absl::strings_internal::Splitter< Delimiter, Predicate >::const_iterator = strings_internal::SplitIterator<Splitter>

Definition at line 280 of file str_split_internal.h.

◆ DelimiterType

template<typename Delimiter, typename Predicate>
using absl::strings_internal::Splitter< Delimiter, Predicate >::DelimiterType = Delimiter

Definition at line 278 of file str_split_internal.h.

◆ PredicateType

template<typename Delimiter, typename Predicate>
using absl::strings_internal::Splitter< Delimiter, Predicate >::PredicateType = Predicate

Definition at line 279 of file str_split_internal.h.

◆ value_type

template<typename Delimiter, typename Predicate>
using absl::strings_internal::Splitter< Delimiter, Predicate >::value_type = typename std::iterator_traits<const_iterator>::value_type

Definition at line 281 of file str_split_internal.h.

Constructor & Destructor Documentation

◆ Splitter()

template<typename Delimiter, typename Predicate>
absl::strings_internal::Splitter< Delimiter, Predicate >::Splitter ( ConvertibleToStringView  input_text,
Delimiter  d,
Predicate  p 
)
inline

Definition at line 283 of file str_split_internal.h.

Member Function Documentation

◆ begin()

template<typename Delimiter, typename Predicate>
const_iterator absl::strings_internal::Splitter< Delimiter, Predicate >::begin ( ) const
inline

Definition at line 295 of file str_split_internal.h.

◆ delimiter()

template<typename Delimiter, typename Predicate>
const Delimiter& absl::strings_internal::Splitter< Delimiter, Predicate >::delimiter ( ) const
inline

Definition at line 289 of file str_split_internal.h.

◆ end()

template<typename Delimiter, typename Predicate>
const_iterator absl::strings_internal::Splitter< Delimiter, Predicate >::end ( ) const
inline

Definition at line 296 of file str_split_internal.h.

◆ operator Container()

template<typename Delimiter, typename Predicate>
template<typename Container , typename = typename std::enable_if< SplitterIsConvertibleTo<Container>::value>::type>
absl::strings_internal::Splitter< Delimiter, Predicate >::operator Container ( ) const
inline

Definition at line 303 of file str_split_internal.h.

◆ operator std::pair< First, Second >()

template<typename Delimiter, typename Predicate>
template<typename First , typename Second >
absl::strings_internal::Splitter< Delimiter, Predicate >::operator std::pair< First, Second > ( ) const
inline

Definition at line 313 of file str_split_internal.h.

◆ predicate()

template<typename Delimiter, typename Predicate>
const Predicate& absl::strings_internal::Splitter< Delimiter, Predicate >::predicate ( ) const
inline

Definition at line 290 of file str_split_internal.h.

◆ text()

template<typename Delimiter, typename Predicate>
absl::string_view absl::strings_internal::Splitter< Delimiter, Predicate >::text ( ) const
inline

Definition at line 288 of file str_split_internal.h.

Member Data Documentation

◆ delimiter_

template<typename Delimiter, typename Predicate>
Delimiter absl::strings_internal::Splitter< Delimiter, Predicate >::delimiter_
private

Definition at line 446 of file str_split_internal.h.

◆ predicate_

template<typename Delimiter, typename Predicate>
Predicate absl::strings_internal::Splitter< Delimiter, Predicate >::predicate_
private

Definition at line 447 of file str_split_internal.h.

◆ text_

template<typename Delimiter, typename Predicate>
ConvertibleToStringView absl::strings_internal::Splitter< Delimiter, Predicate >::text_
private

Definition at line 445 of file str_split_internal.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23