STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
date_time Struct Reference

#include <toml.hpp>

Public Member Functions

TOML_NODISCARD_CTOR date_time () noexcept=default
TOML_NODISCARD_CTOR constexpr date_time (const toml::date &d, const toml::time &t) noexcept
TOML_NODISCARD_CTOR constexpr date_time (const toml::date &d) noexcept
TOML_NODISCARD_CTOR constexpr date_time (const toml::time &t) noexcept
TOML_NODISCARD_CTOR constexpr date_time (const toml::date &d, const toml::time &t, const toml::time_offset &off) noexcept
TOML_PURE_INLINE_GETTER constexpr bool is_local () const noexcept

Public Attributes

toml::date date
toml::time time
optional< toml::time_offset > offset

Friends

TOML_PURE_GETTER friend constexpr bool operator== (const date_time &lhs, const date_time &rhs) noexcept
TOML_PURE_INLINE_GETTER friend constexpr bool operator!= (const date_time &lhs, const date_time &rhs) noexcept
TOML_PURE_GETTER friend constexpr bool operator< (const date_time &lhs, const date_time &rhs) noexcept
TOML_PURE_GETTER friend constexpr bool operator<= (const date_time &lhs, const date_time &rhs) noexcept
TOML_PURE_INLINE_GETTER friend constexpr bool operator> (const date_time &lhs, const date_time &rhs) noexcept
TOML_PURE_INLINE_GETTER friend constexpr bool operator>= (const date_time &lhs, const date_time &rhs) noexcept
std::ostream & operator<< (std::ostream &lhs, const date_time &rhs)

Detailed Description

Definition at line 2848 of file toml.hpp.

Constructor & Destructor Documentation

◆ date_time() [1/5]

TOML_NODISCARD_CTOR date_time::date_time ( )
defaultnoexcept

◆ date_time() [2/5]

TOML_NODISCARD_CTOR constexpr date_time::date_time ( const toml::date & d,
const toml::time & t )
inlineconstexprnoexcept

Definition at line 2860 of file toml.hpp.

References date, date_time(), and time.

◆ date_time() [3/5]

TOML_NODISCARD_CTOR constexpr date_time::date_time ( const toml::date & d)
inlineexplicitconstexprnoexcept

Definition at line 2867 of file toml.hpp.

References date.

◆ date_time() [4/5]

TOML_NODISCARD_CTOR constexpr date_time::date_time ( const toml::time & t)
inlineexplicitconstexprnoexcept

Definition at line 2874 of file toml.hpp.

References date.

◆ date_time() [5/5]

TOML_NODISCARD_CTOR constexpr date_time::date_time ( const toml::date & d,
const toml::time & t,
const toml::time_offset & off )
inlineconstexprnoexcept

Definition at line 2881 of file toml.hpp.

References date.

Member Function Documentation

◆ is_local()

TOML_PURE_INLINE_GETTER constexpr bool date_time::is_local ( ) const
inlineconstexprnoexcept

Definition at line 2888 of file toml.hpp.

References offset.

◆ operator!=

TOML_PURE_INLINE_GETTER friend constexpr bool operator!= ( const date_time & lhs,
const date_time & rhs )
friend

Definition at line 2902 of file toml.hpp.

References date_time(), and rhs.

◆ operator<

TOML_PURE_GETTER friend constexpr bool operator< ( const date_time & lhs,
const date_time & rhs )
friend

Definition at line 2908 of file toml.hpp.

References date_time(), and rhs.

◆ operator<<

std::ostream & operator<< ( std::ostream & lhs,
const date_time & rhs )
friend

Definition at line 2939 of file toml.hpp.

References date_time(), and rhs.

◆ operator<=

TOML_PURE_GETTER friend constexpr bool operator<= ( const date_time & lhs,
const date_time & rhs )
friend

Definition at line 2918 of file toml.hpp.

References date_time(), and rhs.

◆ operator==

TOML_PURE_GETTER friend constexpr bool operator== ( const date_time & lhs,
const date_time & rhs )
friend

Definition at line 2894 of file toml.hpp.

References date_time(), and rhs.

◆ operator>

TOML_PURE_INLINE_GETTER friend constexpr bool operator> ( const date_time & lhs,
const date_time & rhs )
friend

Definition at line 2928 of file toml.hpp.

References date_time(), and rhs.

◆ operator>=

TOML_PURE_INLINE_GETTER friend constexpr bool operator>= ( const date_time & lhs,
const date_time & rhs )
friend

Definition at line 2934 of file toml.hpp.

References date_time(), and rhs.

Member Data Documentation

◆ date

toml::date date_time::date

Definition at line 2850 of file toml.hpp.

Referenced by date_time(), date_time(), date_time(), and date_time().

◆ offset

optional<toml::time_offset> date_time::offset

Definition at line 2854 of file toml.hpp.

Referenced by is_local().

◆ time

toml::time date_time::time

Definition at line 2852 of file toml.hpp.

Referenced by date_time().


The documentation for this struct was generated from the following file:
  • daq-server/diablo_server/lib/include/toml++/toml.hpp