Public Member Functions | Private Attributes | List of all members
absl::substitute_internal::Arg Class Reference

#include <substitute.h>

Public Member Functions

 Arg (const char *value)
 
template<typename Allocator >
 Arg (const std::basic_string< char, std::char_traits< char >, Allocator > &value) noexcept
 
 Arg (absl::string_view value)
 
 Arg (char value)
 
 Arg (short value)
 
 Arg (unsigned short value)
 
 Arg (int value)
 
 Arg (unsigned int value)
 
 Arg (long value)
 
 Arg (unsigned long value)
 
 Arg (long long value)
 
 Arg (unsigned long long value)
 
 Arg (float value)
 
 Arg (double value)
 
 Arg (bool value)
 
 Arg (Hex hex)
 
 Arg (Dec dec)
 
template<typename T , absl::enable_if_t< std::is_class< T >::value &&(std::is_same< T, std::vector< bool >::reference >::value||std::is_same< T, std::vector< bool >::const_reference >::value)> * = nullptr>
 Arg (T value)
 
 Arg (const void *value)
 
 Arg (const Arg &)=delete
 
Argoperator= (const Arg &)=delete
 
absl::string_view piece () const
 

Private Attributes

absl::string_view piece_
 
char scratch_ [numbers_internal::kFastToBufferSize]
 

Detailed Description

Definition at line 96 of file substitute.h.

Constructor & Destructor Documentation

◆ Arg() [1/20]

absl::substitute_internal::Arg::Arg ( const char *  value)
inline

Definition at line 101 of file substitute.h.

◆ Arg() [2/20]

template<typename Allocator >
absl::substitute_internal::Arg::Arg ( const std::basic_string< char, std::char_traits< char >, Allocator > &  value)
inlinenoexcept

Definition at line 104 of file substitute.h.

◆ Arg() [3/20]

absl::substitute_internal::Arg::Arg ( absl::string_view  value)
inline

Definition at line 108 of file substitute.h.

◆ Arg() [4/20]

absl::substitute_internal::Arg::Arg ( char  value)
inline

Definition at line 118 of file substitute.h.

◆ Arg() [5/20]

absl::substitute_internal::Arg::Arg ( short  value)
inline

Definition at line 120 of file substitute.h.

◆ Arg() [6/20]

absl::substitute_internal::Arg::Arg ( unsigned short  value)
inline

Definition at line 123 of file substitute.h.

◆ Arg() [7/20]

absl::substitute_internal::Arg::Arg ( int  value)
inline

Definition at line 126 of file substitute.h.

◆ Arg() [8/20]

absl::substitute_internal::Arg::Arg ( unsigned int  value)
inline

Definition at line 129 of file substitute.h.

◆ Arg() [9/20]

absl::substitute_internal::Arg::Arg ( long  value)
inline

Definition at line 132 of file substitute.h.

◆ Arg() [10/20]

absl::substitute_internal::Arg::Arg ( unsigned long  value)
inline

Definition at line 135 of file substitute.h.

◆ Arg() [11/20]

absl::substitute_internal::Arg::Arg ( long long  value)
inline

Definition at line 138 of file substitute.h.

◆ Arg() [12/20]

absl::substitute_internal::Arg::Arg ( unsigned long long  value)
inline

Definition at line 141 of file substitute.h.

◆ Arg() [13/20]

absl::substitute_internal::Arg::Arg ( float  value)
inline

Definition at line 144 of file substitute.h.

◆ Arg() [14/20]

absl::substitute_internal::Arg::Arg ( double  value)
inline

Definition at line 147 of file substitute.h.

◆ Arg() [15/20]

absl::substitute_internal::Arg::Arg ( bool  value)
inline

Definition at line 150 of file substitute.h.

◆ Arg() [16/20]

absl::substitute_internal::Arg::Arg ( Hex  hex)

Definition at line 117 of file substitute.cc.

◆ Arg() [17/20]

absl::substitute_internal::Arg::Arg ( Dec  dec)

Definition at line 138 of file substitute.cc.

◆ Arg() [18/20]

template<typename T , absl::enable_if_t< std::is_class< T >::value &&(std::is_same< T, std::vector< bool >::reference >::value||std::is_same< T, std::vector< bool >::const_reference >::value)> * = nullptr>
absl::substitute_internal::Arg::Arg ( value)
inline

Definition at line 164 of file substitute.h.

◆ Arg() [19/20]

absl::substitute_internal::Arg::Arg ( const void *  value)

Definition at line 98 of file substitute.cc.

◆ Arg() [20/20]

absl::substitute_internal::Arg::Arg ( const Arg )
delete

Member Function Documentation

◆ operator=()

Arg& absl::substitute_internal::Arg::operator= ( const Arg )
delete

◆ piece()

absl::string_view absl::substitute_internal::Arg::piece ( ) const
inline

Definition at line 174 of file substitute.h.

Member Data Documentation

◆ piece_

absl::string_view absl::substitute_internal::Arg::piece_
private

Definition at line 177 of file substitute.h.

◆ scratch_

char absl::substitute_internal::Arg::scratch_[numbers_internal::kFastToBufferSize]
private

Definition at line 178 of file substitute.h.


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


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