NGL  6.5
The NCCA Graphics Library
fmt::internal::WidthHandler Class Reference

#include <printf.h>

+ Inheritance diagram for fmt::internal::WidthHandler:
+ Collaboration diagram for fmt::internal::WidthHandler:

Public Member Functions

 WidthHandler (FormatSpec &spec)
 
void report_unhandled_arg ()
 
template<typename T >
unsigned visit_any_int (T value)
 
- Public Member Functions inherited from fmt::ArgVisitor< WidthHandler, unsigned >
void report_unhandled_arg ()
 
unsigned visit_unhandled_arg ()
 
unsigned visit_int (int value)
 
unsigned visit_long_long (LongLong value)
 
unsigned visit_uint (unsigned value)
 
unsigned visit_ulong_long (ULongLong value)
 
unsigned visit_bool (bool value)
 
unsigned visit_char (int value)
 
unsigned visit_any_int (T)
 
unsigned visit_double (double value)
 
unsigned visit_long_double (long double value)
 
unsigned visit_any_double (T)
 
unsigned visit_cstring (const char *)
 
unsigned visit_string (Arg::StringValue< char >)
 
unsigned visit_wstring (Arg::StringValue< wchar_t >)
 
unsigned visit_pointer (const void *)
 
unsigned visit_custom (Arg::CustomValue)
 
unsigned visit (const Arg &arg)
 

Private Member Functions

 FMT_DISALLOW_COPY_AND_ASSIGN (WidthHandler)
 

Private Attributes

FormatSpecspec_
 

Detailed Description

Definition at line 146 of file printf.h.

Constructor & Destructor Documentation

fmt::internal::WidthHandler::WidthHandler ( FormatSpec spec)
inlineexplicit

Definition at line 153 of file printf.h.

Member Function Documentation

fmt::internal::WidthHandler::FMT_DISALLOW_COPY_AND_ASSIGN ( WidthHandler  )
private
void fmt::internal::WidthHandler::report_unhandled_arg ( )
inline

Definition at line 155 of file printf.h.

References FMT_THROW.

template<typename T >
unsigned fmt::internal::WidthHandler::visit_any_int ( value)
inline

Definition at line 160 of file printf.h.

References fmt::AlignSpec::align_, fmt::ALIGN_LEFT, FMT_THROW, and fmt::internal::is_negative().

+ Here is the call graph for this function:

Member Data Documentation

FormatSpec& fmt::internal::WidthHandler::spec_
private

Definition at line 148 of file printf.h.


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