GNU Radio's SATNOGS Package
date::detail Namespace Reference

Classes

struct  choose_trunc_type
 
class  decimal_format_seconds
 
struct  no_overflow
 
struct  rld
 
struct  rs
 
struct  ru
 
class  save_istream
 
class  save_ostream
 
struct  static_gcd
 
struct  static_gcd< 0, 0 >
 
struct  static_gcd< Xp, 0 >
 
struct  static_pow10
 
struct  static_pow10< 0 >
 
class  string_literal
 
struct  undocumented
 
struct  unspecified_month_disambiguator
 
struct  width
 
struct  width< n, d, w, false >
 

Functions

template<class T >
CONSTCD11 std::enable_if<!std::chrono::treat_as_floating_point< T >::value, T >::type trunc (T t) NOEXCEPT
 
template<class T >
CONSTCD14 std::enable_if< std::chrono::treat_as_floating_point< T >::value, T >::type trunc (T t) NOEXCEPT
 
template<class Rep , class Period >
CONSTCD11 std::enable_if< std::numeric_limits< Rep >::is_signed, std::chrono::duration< Rep, Period > >::type abs (std::chrono::duration< Rep, Period > d)
 
template<class Rep , class Period >
CONSTCD11 std::enable_if< !std::numeric_limits< Rep >::is_signed, std::chrono::duration< Rep, Period > >::type abs (std::chrono::duration< Rep, Period > d)
 
template<class CharT , class Traits , class Duration >
unsigned extract_weekday (std::basic_ostream< CharT, Traits > &os, const fields< Duration > &fds)
 
template<class CharT , class Traits , class Duration >
unsigned extract_month (std::basic_ostream< CharT, Traits > &os, const fields< Duration > &fds)
 
template<class CharT , class Traits >
bool read_char (std::basic_istream< CharT, Traits > &is, CharT fmt, std::ios::iostate &err)
 
template<class CharT , class Traits >
unsigned read_unsigned (std::basic_istream< CharT, Traits > &is, unsigned m=1, unsigned M=10)
 
template<class CharT , class Traits >
int read_signed (std::basic_istream< CharT, Traits > &is, unsigned m=1, unsigned M=10)
 
template<class CharT , class Traits >
long double read_long_double (std::basic_istream< CharT, Traits > &is, unsigned m=1, unsigned M=10)
 
template<class CharT , class Traits >
void read (std::basic_istream< CharT, Traits > &)
 
template<class CharT , class Traits , class ... Args>
void read (std::basic_istream< CharT, Traits > &is, CharT a0, Args &&...args)
 
template<class CharT , class Traits , class ... Args>
void read (std::basic_istream< CharT, Traits > &is, rs a0, Args &&...args)
 
template<class CharT , class Traits , class ... Args>
void read (std::basic_istream< CharT, Traits > &is, ru a0, Args &&...args)
 
template<class CharT , class Traits , class ... Args>
void read (std::basic_istream< CharT, Traits > &is, int a0, Args &&...args)
 
template<class CharT , class Traits , class ... Args>
void read (std::basic_istream< CharT, Traits > &is, rld a0, Args &&...args)
 
template<class T , class CharT , class Traits >
void checked_set (T &value, T from, T not_a_value, std::basic_ios< CharT, Traits > &is)
 

Function Documentation

◆ abs() [1/2]

template<class Rep , class Period >
CONSTCD11 std::enable_if< std::numeric_limits<Rep>::is_signed, std::chrono::duration<Rep, Period> >::type date::detail::abs ( std::chrono::duration< Rep, Period >  d)
inline

References CONSTCD11.

◆ abs() [2/2]

template<class Rep , class Period >
CONSTCD11 std::enable_if< !std::numeric_limits<Rep>::is_signed, std::chrono::duration<Rep, Period> >::type date::detail::abs ( std::chrono::duration< Rep, Period >  d)
inline

◆ checked_set()

template<class T , class CharT , class Traits >
void date::detail::checked_set ( T &  value,
from,
not_a_value,
std::basic_ios< CharT, Traits > &  is 
)
inline

Referenced by date::from_stream().

◆ extract_month()

template<class CharT , class Traits , class Duration >
unsigned date::detail::extract_month ( std::basic_ostream< CharT, Traits > &  os,
const fields< Duration > &  fds 
)

◆ extract_weekday()

template<class CharT , class Traits , class Duration >
unsigned date::detail::extract_weekday ( std::basic_ostream< CharT, Traits > &  os,
const fields< Duration > &  fds 
)

◆ read() [1/6]

template<class CharT , class Traits >
void date::detail::read ( std::basic_istream< CharT, Traits > &  )

References read().

Referenced by date::from_stream().

◆ read() [2/6]

template<class CharT , class Traits , class ... Args>
void date::detail::read ( std::basic_istream< CharT, Traits > &  is,
CharT  a0,
Args &&...  args 
)

References read().

◆ read() [3/6]

template<class CharT , class Traits , class ... Args>
void date::detail::read ( std::basic_istream< CharT, Traits > &  is,
rs  a0,
Args &&...  args 
)

◆ read() [4/6]

template<class CharT , class Traits , class ... Args>
void date::detail::read ( std::basic_istream< CharT, Traits > &  is,
ru  a0,
Args &&...  args 
)

◆ read() [5/6]

template<class CharT , class Traits , class ... Args>
void date::detail::read ( std::basic_istream< CharT, Traits > &  is,
int  a0,
Args &&...  args 
)

References read(), and u.

◆ read() [6/6]

template<class CharT , class Traits , class ... Args>
void date::detail::read ( std::basic_istream< CharT, Traits > &  is,
rld  a0,
Args &&...  args 
)

◆ read_char()

template<class CharT , class Traits >
bool date::detail::read_char ( std::basic_istream< CharT, Traits > &  is,
CharT  fmt,
std::ios::iostate &  err 
)

◆ read_long_double()

template<class CharT , class Traits >
long double date::detail::read_long_double ( std::basic_istream< CharT, Traits > &  is,
unsigned  m = 1,
unsigned  M = 10 
)

References count.

Referenced by read().

◆ read_signed()

template<class CharT , class Traits >
int date::detail::read_signed ( std::basic_istream< CharT, Traits > &  is,
unsigned  m = 1,
unsigned  M = 10 
)

References read_unsigned(), and u.

Referenced by read().

◆ read_unsigned()

template<class CharT , class Traits >
unsigned date::detail::read_unsigned ( std::basic_istream< CharT, Traits > &  is,
unsigned  m = 1,
unsigned  M = 10 
)

References count.

Referenced by read(), and read_signed().

◆ trunc() [1/2]

template<class T >
CONSTCD11 std::enable_if<!std::chrono::treat_as_floating_point<T>::value,T>::type date::detail::trunc ( t)
inline

References CONSTCD14, and t.

Referenced by date::trunc().

◆ trunc() [2/2]

template<class T >
CONSTCD14 std::enable_if<std::chrono::treat_as_floating_point<T>::value, T >::type date::detail::trunc ( t)
inline

References CONSTDATA, and t.