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

◆ Id

Enumerator
hh 
ll 
none 

Definition at line 141 of file extension.h.

Constructor & Destructor Documentation

◆ LengthMod() [1/2]

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

Definition at line 146 of file extension.h.

◆ LengthMod() [2/2]

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

Definition at line 182 of file extension.h.

Member Function Documentation

◆ FromId()

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

Definition at line 154 of file extension.h.

◆ FromIndex()

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

Definition at line 150 of file extension.h.

◆ id()

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

Definition at line 162 of file extension.h.

◆ name()

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

Definition at line 157 of file extension.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 167 of file extension.h.

◆ operator<<

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

Definition at line 170 of file extension.h.

◆ operator==

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

Definition at line 164 of file extension.h.

Member Data Documentation

◆ id_

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

Definition at line 184 of file extension.h.

◆ kNumValues

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

Definition at line 144 of file extension.h.

◆ kSpecs

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 Mon Feb 28 2022 21:31:23