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::LengthMod Struct Reference

#include <extension.h>

Classes

struct  Spec
 

Public Types

enum  Id : uint8_t {
  h, hh, l, ll,
  L, j, z, t,
  q, none
}
 

Public Member Functions

Id id () const
 
 LengthMod ()
 
string_view name () const
 

Static Public Member Functions

static LengthMod FromId (Id id)
 
static LengthMod FromIndex (size_t i)
 

Static Public Attributes

static const size_t kNumValues = none + 1
 

Private Member Functions

 LengthMod (Id id)
 

Private Attributes

Id id_
 

Static Private Attributes

static const Spec kSpecs []
 

Friends

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

Detailed Description

Definition at line 139 of file extension.h.

Member Enumeration Documentation

Enumerator
hh 
ll 
none 

Definition at line 141 of file extension.h.

Constructor & Destructor Documentation

absl::str_format_internal::LengthMod::LengthMod ( )
inline

Definition at line 146 of file extension.h.

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

Definition at line 182 of file extension.h.

Member Function Documentation

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

Definition at line 154 of file extension.h.

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

Definition at line 150 of file extension.h.

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

Definition at line 162 of file extension.h.

string_view absl::str_format_internal::LengthMod::name ( ) const
inline

Definition at line 157 of file extension.h.

Friends And Related Function Documentation

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

Definition at line 167 of file extension.h.

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

Definition at line 170 of file extension.h.

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

Definition at line 164 of file extension.h.

Member Data Documentation

Id absl::str_format_internal::LengthMod::id_
private

Definition at line 184 of file extension.h.

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

Definition at line 144 of file extension.h.

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

Definition at line 180 of file extension.h.


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


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