Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
absl::str_format_internal::ConversionChar Struct Reference

#include <extension.h>

Classes

struct  Spec
 

Public Types

enum  Id : uint8_t {
  c, C, s, S,
  d, i, o, u,
  x, X, f, F,
  e, E, g, G,
  a, A, n, p,
  none
}
 

Public Member Functions

char Char () const
 
 ConversionChar ()
 
Id id () const
 
bool is_float () const
 
bool is_integral () const
 
bool is_signed () const
 
bool IsValid () const
 
int radix () const
 
bool upper () const
 

Static Public Member Functions

static ConversionChar FromChar (char c)
 
static ConversionChar FromId (Id id)
 
static ConversionChar FromIndex (size_t i)
 

Static Public Attributes

static const size_t kNumValues = none + 1
 

Private Member Functions

 ConversionChar (Id id)
 

Private Attributes

Id id_
 

Static Private Attributes

static const Spec kSpecs []
 

Friends

bool operator!= (const ConversionChar &a, const ConversionChar &b)
 
std::ostream & operator<< (std::ostream &os, const ConversionChar &v)
 
bool operator== (const ConversionChar &a, const ConversionChar &b)
 

Detailed Description

Definition at line 201 of file extension.h.

Member Enumeration Documentation

Enumerator
none 

Definition at line 203 of file extension.h.

Constructor & Destructor Documentation

absl::str_format_internal::ConversionChar::ConversionChar ( )
inline

Definition at line 212 of file extension.h.

absl::str_format_internal::ConversionChar::ConversionChar ( Id  id)
inlineexplicitprivate

Definition at line 301 of file extension.h.

Member Function Documentation

char absl::str_format_internal::ConversionChar::Char ( ) const
inline

Definition at line 280 of file extension.h.

static ConversionChar absl::str_format_internal::ConversionChar::FromChar ( char  c)
inlinestatic

Definition at line 221 of file extension.h.

static ConversionChar absl::str_format_internal::ConversionChar::FromId ( Id  id)
inlinestatic

Definition at line 236 of file extension.h.

static ConversionChar absl::str_format_internal::ConversionChar::FromIndex ( size_t  i)
inlinestatic

Definition at line 217 of file extension.h.

Id absl::str_format_internal::ConversionChar::id ( ) const
inline

Definition at line 237 of file extension.h.

bool absl::str_format_internal::ConversionChar::is_float ( ) const
inline

Definition at line 269 of file extension.h.

bool absl::str_format_internal::ConversionChar::is_integral ( ) const
inline

Definition at line 261 of file extension.h.

bool absl::str_format_internal::ConversionChar::is_signed ( ) const
inline

Definition at line 254 of file extension.h.

bool absl::str_format_internal::ConversionChar::IsValid ( ) const
inline

Definition at line 277 of file extension.h.

int absl::str_format_internal::ConversionChar::radix ( ) const
inline

Definition at line 239 of file extension.h.

bool absl::str_format_internal::ConversionChar::upper ( ) const
inline

Definition at line 247 of file extension.h.

Friends And Related Function Documentation

bool operator!= ( const ConversionChar a,
const ConversionChar b 
)
friend

Definition at line 285 of file extension.h.

std::ostream& operator<< ( std::ostream &  os,
const ConversionChar v 
)
friend

Definition at line 288 of file extension.h.

bool operator== ( const ConversionChar a,
const ConversionChar b 
)
friend

Definition at line 282 of file extension.h.

Member Data Documentation

Id absl::str_format_internal::ConversionChar::id_
private

Definition at line 303 of file extension.h.

const size_t absl::str_format_internal::ConversionChar::kNumValues = none + 1
static

Definition at line 210 of file extension.h.

const ConversionChar::Spec absl::str_format_internal::ConversionChar::kSpecs
staticprivate
Initial value:
= {
#define X_VAL(id)
#define X_SEP
}

Definition at line 299 of file extension.h.


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


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