Livox SDK API  V2.2.0
fmt::v5::internal::chrono_formatter< FormatContext, OutputIt > Struct Template Reference

#include <chrono.h>

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 fmt::v5::internal::chrono_formatter< FormatContext, OutputIt >

Definition at line 221 of file chrono.h.

Member Typedef Documentation

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

Definition at line 227 of file chrono.h.

Constructor & Destructor Documentation

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

Definition at line 229 of file chrono.h.

Member Function Documentation

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

Definition at line 259 of file chrono.h.

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

Definition at line 232 of file chrono.h.

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

Definition at line 234 of file chrono.h.

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

Definition at line 239 of file chrono.h.

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

Definition at line 296 of file chrono.h.

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

Definition at line 326 of file chrono.h.

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

Definition at line 288 of file chrono.h.

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

Definition at line 328 of file chrono.h.

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

Definition at line 278 of file chrono.h.

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

Definition at line 274 of file chrono.h.

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

Definition at line 340 of file chrono.h.

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

Definition at line 280 of file chrono.h.

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

Definition at line 276 of file chrono.h.

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

Definition at line 277 of file chrono.h.

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

Definition at line 279 of file chrono.h.

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

Definition at line 275 of file chrono.h.

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

Definition at line 284 of file chrono.h.

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

Definition at line 334 of file chrono.h.

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

Definition at line 281 of file chrono.h.

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

Definition at line 282 of file chrono.h.

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

Definition at line 304 of file chrono.h.

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

Definition at line 312 of file chrono.h.

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

Definition at line 269 of file chrono.h.

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

Definition at line 286 of file chrono.h.

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

Definition at line 283 of file chrono.h.

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

Definition at line 285 of file chrono.h.

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

Definition at line 240 of file chrono.h.

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

Definition at line 242 of file chrono.h.

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

Definition at line 250 of file chrono.h.

Member Data Documentation

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

Definition at line 222 of file chrono.h.

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

Definition at line 225 of file chrono.h.

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

Definition at line 223 of file chrono.h.

template<typename FormatContext, typename OutputIt>
std::chrono::seconds fmt::v5::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: