Public Member Functions | Public Attributes | Private Member Functions | List of all members
absl::Hex Struct Reference

#include <str_cat.h>

Public Member Functions

template<typename Int >
 Hex (Int v, PadSpec spec=absl::kNoPad, typename std::enable_if< sizeof(Int)==1 &&!std::is_pointer< Int >::value >::type *=nullptr)
 
template<typename Int >
 Hex (Int v, PadSpec spec=absl::kNoPad, typename std::enable_if< sizeof(Int)==2 &&!std::is_pointer< Int >::value >::type *=nullptr)
 
template<typename Int >
 Hex (Int v, PadSpec spec=absl::kNoPad, typename std::enable_if< sizeof(Int)==4 &&!std::is_pointer< Int >::value >::type *=nullptr)
 
template<typename Int >
 Hex (Int v, PadSpec spec=absl::kNoPad, typename std::enable_if< sizeof(Int)==8 &&!std::is_pointer< Int >::value >::type *=nullptr)
 
template<typename Pointee >
 Hex (Pointee *v, PadSpec spec=absl::kNoPad)
 

Public Attributes

char fill
 
uint64_t value
 
uint8_t width
 

Private Member Functions

 Hex (PadSpec spec, uint64_t v)
 

Detailed Description

Definition at line 132 of file str_cat.h.

Constructor & Destructor Documentation

◆ Hex() [1/6]

template<typename Int >
absl::Hex::Hex ( Int  v,
PadSpec  spec = absl::kNoPad,
typename std::enable_if< sizeof(Int)==1 &&!std::is_pointer< Int >::value >::type *  = nullptr 
)
inlineexplicit

Definition at line 138 of file str_cat.h.

◆ Hex() [2/6]

template<typename Int >
absl::Hex::Hex ( Int  v,
PadSpec  spec = absl::kNoPad,
typename std::enable_if< sizeof(Int)==2 &&!std::is_pointer< Int >::value >::type *  = nullptr 
)
inlineexplicit

Definition at line 144 of file str_cat.h.

◆ Hex() [3/6]

template<typename Int >
absl::Hex::Hex ( Int  v,
PadSpec  spec = absl::kNoPad,
typename std::enable_if< sizeof(Int)==4 &&!std::is_pointer< Int >::value >::type *  = nullptr 
)
inlineexplicit

Definition at line 150 of file str_cat.h.

◆ Hex() [4/6]

template<typename Int >
absl::Hex::Hex ( Int  v,
PadSpec  spec = absl::kNoPad,
typename std::enable_if< sizeof(Int)==8 &&!std::is_pointer< Int >::value >::type *  = nullptr 
)
inlineexplicit

Definition at line 156 of file str_cat.h.

◆ Hex() [5/6]

template<typename Pointee >
absl::Hex::Hex ( Pointee *  v,
PadSpec  spec = absl::kNoPad 
)
inlineexplicit

Definition at line 162 of file str_cat.h.

◆ Hex() [6/6]

absl::Hex::Hex ( PadSpec  spec,
uint64_t  v 
)
inlineprivate

Definition at line 166 of file str_cat.h.

Member Data Documentation

◆ fill

char absl::Hex::fill

Definition at line 135 of file str_cat.h.

◆ value

uint64_t absl::Hex::value

Definition at line 133 of file str_cat.h.

◆ width

uint8_t absl::Hex::width

Definition at line 134 of file str_cat.h.


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


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