WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
internal::chrono_formatter< FormatContext, OutputIt > Struct Template Reference

#include <chrono.h>

Collaboration diagram for internal::chrono_formatter< FormatContext, OutputIt >:

Public Types

typedef FormatContext::char_type char_type
 

Public Member Functions

 chrono_formatter (FormatContext &ctx, OutputIt o)
 
int hour () const
 
int hour12 () const
 
int minute () const
 
int second () const
 
std::tm time () const
 
void write (int value, int width)
 
void format_localized (const tm &time, const char *format)
 
void on_text (const char_type *begin, const char_type *end)
 
void on_abbr_weekday ()
 
void on_full_weekday ()
 
void on_dec0_weekday (numeric_system)
 
void on_dec1_weekday (numeric_system)
 
void on_abbr_month ()
 
void on_full_month ()
 
void on_datetime (numeric_system)
 
void on_loc_date (numeric_system)
 
void on_loc_time (numeric_system)
 
void on_us_date ()
 
void on_iso_date ()
 
void on_utc_offset ()
 
void on_tz_name ()
 
void on_24_hour (numeric_system ns)
 
void on_12_hour (numeric_system ns)
 
void on_minute (numeric_system ns)
 
void on_second (numeric_system ns)
 
void on_12_hour_time ()
 
void on_24_hour_time ()
 
void on_iso_time ()
 
void on_am_pm ()
 

Public Attributes

FormatContext & context
 
OutputIt out
 
std::chrono::seconds s
 
std::chrono::milliseconds ms
 

Detailed Description

template<typename FormatContext, typename OutputIt>
struct internal::chrono_formatter< FormatContext, OutputIt >

Definition at line 221 of file chrono.h.

Member Typedef Documentation

◆ char_type

template<typename FormatContext, typename OutputIt>
typedef FormatContext::char_type internal::chrono_formatter< FormatContext, OutputIt >::char_type

Definition at line 227 of file chrono.h.

Constructor & Destructor Documentation

◆ chrono_formatter()

template<typename FormatContext, typename OutputIt>
internal::chrono_formatter< FormatContext, OutputIt >::chrono_formatter ( FormatContext &  ctx,
OutputIt  o 
)
inlineexplicit

Definition at line 229 of file chrono.h.

Member Function Documentation

◆ format_localized()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::format_localized ( const tm &  time,
const char *  format 
)
inline

Definition at line 259 of file chrono.h.

Here is the call graph for this function:

◆ hour()

template<typename FormatContext, typename OutputIt>
int internal::chrono_formatter< FormatContext, OutputIt >::hour ( ) const
inline

Definition at line 232 of file chrono.h.

Here is the call graph for this function:

◆ hour12()

template<typename FormatContext, typename OutputIt>
int internal::chrono_formatter< FormatContext, OutputIt >::hour12 ( ) const
inline

Definition at line 234 of file chrono.h.

Here is the call graph for this function:

◆ minute()

template<typename FormatContext, typename OutputIt>
int internal::chrono_formatter< FormatContext, OutputIt >::minute ( ) const
inline

Definition at line 239 of file chrono.h.

Here is the call graph for this function:

◆ on_12_hour()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_12_hour ( numeric_system  ns)
inline

Definition at line 296 of file chrono.h.

◆ on_12_hour_time()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_12_hour_time ( )
inline

Definition at line 326 of file chrono.h.

◆ on_24_hour()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_24_hour ( numeric_system  ns)
inline

Definition at line 288 of file chrono.h.

◆ on_24_hour_time()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_24_hour_time ( )
inline

Definition at line 328 of file chrono.h.

Here is the call graph for this function:

◆ on_abbr_month()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_abbr_month ( )
inline

Definition at line 278 of file chrono.h.

◆ on_abbr_weekday()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_abbr_weekday ( )
inline

Definition at line 274 of file chrono.h.

◆ on_am_pm()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_am_pm ( )
inline

Definition at line 340 of file chrono.h.

◆ on_datetime()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_datetime ( numeric_system  )
inline

Definition at line 280 of file chrono.h.

◆ on_dec0_weekday()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_dec0_weekday ( numeric_system  )
inline

Definition at line 276 of file chrono.h.

◆ on_dec1_weekday()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_dec1_weekday ( numeric_system  )
inline

Definition at line 277 of file chrono.h.

◆ on_full_month()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_full_month ( )
inline

Definition at line 279 of file chrono.h.

◆ on_full_weekday()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_full_weekday ( )
inline

Definition at line 275 of file chrono.h.

◆ on_iso_date()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_iso_date ( )
inline

Definition at line 284 of file chrono.h.

◆ on_iso_time()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_iso_time ( )
inline

Definition at line 334 of file chrono.h.

Here is the call graph for this function:

◆ on_loc_date()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_loc_date ( numeric_system  )
inline

Definition at line 281 of file chrono.h.

◆ on_loc_time()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_loc_time ( numeric_system  )
inline

Definition at line 282 of file chrono.h.

◆ on_minute()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_minute ( numeric_system  ns)
inline

Definition at line 304 of file chrono.h.

◆ on_second()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_second ( numeric_system  ns)
inline

Definition at line 312 of file chrono.h.

◆ on_text()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_text ( const char_type begin,
const char_type end 
)
inline

Definition at line 269 of file chrono.h.

Here is the call graph for this function:

◆ on_tz_name()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_tz_name ( )
inline

Definition at line 286 of file chrono.h.

◆ on_us_date()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_us_date ( )
inline

Definition at line 283 of file chrono.h.

◆ on_utc_offset()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::on_utc_offset ( )
inline

Definition at line 285 of file chrono.h.

◆ second()

template<typename FormatContext, typename OutputIt>
int internal::chrono_formatter< FormatContext, OutputIt >::second ( ) const
inline

Definition at line 240 of file chrono.h.

Here is the call graph for this function:

◆ time()

template<typename FormatContext, typename OutputIt>
std::tm internal::chrono_formatter< FormatContext, OutputIt >::time ( ) const
inline

Definition at line 242 of file chrono.h.

◆ write()

template<typename FormatContext, typename OutputIt>
void internal::chrono_formatter< FormatContext, OutputIt >::write ( int  value,
int  width 
)
inline

Definition at line 250 of file chrono.h.

Here is the call graph for this function:

Member Data Documentation

◆ context

template<typename FormatContext, typename OutputIt>
FormatContext& internal::chrono_formatter< FormatContext, OutputIt >::context

Definition at line 222 of file chrono.h.

◆ ms

template<typename FormatContext, typename OutputIt>
std::chrono::milliseconds internal::chrono_formatter< FormatContext, OutputIt >::ms

Definition at line 225 of file chrono.h.

◆ out

template<typename FormatContext, typename OutputIt>
OutputIt internal::chrono_formatter< FormatContext, OutputIt >::out

Definition at line 223 of file chrono.h.

◆ s

template<typename FormatContext, typename OutputIt>
std::chrono::seconds internal::chrono_formatter< FormatContext, OutputIt >::s

Definition at line 224 of file chrono.h.


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