Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
absl::str_format_internal::ParsedFormatBase Class Reference

#include <parser.h>

Inheritance diagram for absl::str_format_internal::ParsedFormatBase:
Inheritance graph
[legend]

Classes

struct  ConversionItem
 

Public Member Functions

bool has_error () const
 
ParsedFormatBaseoperator= (const ParsedFormatBase &other)
 
ParsedFormatBaseoperator= (ParsedFormatBase &&other)
 
 ParsedFormatBase (string_view format, bool allow_ignored, std::initializer_list< Conv > convs)
 
 ParsedFormatBase (const ParsedFormatBase &other)
 
 ParsedFormatBase (ParsedFormatBase &&other)
 
template<typename Consumer >
bool ProcessFormat (Consumer consumer) const
 

Private Member Functions

bool MatchesConversions (bool allow_ignored, std::initializer_list< Conv > convs) const
 

Private Attributes

std::unique_ptr< char[]> data_
 
bool has_error_
 
std::vector< ConversionItemitems_
 

Detailed Description

Definition at line 177 of file parser.h.

Constructor & Destructor Documentation

absl::str_format_internal::ParsedFormatBase::ParsedFormatBase ( string_view  format,
bool  allow_ignored,
std::initializer_list< Conv convs 
)
explicit

Definition at line 271 of file parser.cc.

absl::str_format_internal::ParsedFormatBase::ParsedFormatBase ( const ParsedFormatBase other)
inline

Definition at line 182 of file parser.h.

absl::str_format_internal::ParsedFormatBase::ParsedFormatBase ( ParsedFormatBase &&  other)
inline

Definition at line 184 of file parser.h.

Member Function Documentation

bool absl::str_format_internal::ParsedFormatBase::has_error ( ) const
inline

Definition at line 222 of file parser.h.

bool absl::str_format_internal::ParsedFormatBase::MatchesConversions ( bool  allow_ignored,
std::initializer_list< Conv convs 
) const
private

Definition at line 278 of file parser.cc.

ParsedFormatBase& absl::str_format_internal::ParsedFormatBase::operator= ( const ParsedFormatBase other)
inline

Definition at line 186 of file parser.h.

ParsedFormatBase& absl::str_format_internal::ParsedFormatBase::operator= ( ParsedFormatBase &&  other)
inline

Definition at line 196 of file parser.h.

template<typename Consumer >
bool absl::str_format_internal::ParsedFormatBase::ProcessFormat ( Consumer  consumer) const
inline

Definition at line 207 of file parser.h.

Member Data Documentation

std::unique_ptr<char[]> absl::str_format_internal::ParsedFormatBase::data_
private

Definition at line 240 of file parser.h.

bool absl::str_format_internal::ParsedFormatBase::has_error_
private

Definition at line 239 of file parser.h.

std::vector<ConversionItem> absl::str_format_internal::ParsedFormatBase::items_
private

Definition at line 241 of file parser.h.


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


abseil_cpp
Author(s):
autogenerated on Tue Jun 18 2019 19:44:39