Loading...
Searching...
No Matches
ledger::date_traits_t Struct Reference

#include <times.h>

Public Member Functions

 date_traits_t (bool _has_year=false, bool _has_month=false, bool _has_day=false)
 
 date_traits_t (const date_traits_t &traits)
 
date_traits_toperator= (const date_traits_t &traits)
 
bool operator== (const date_traits_t &traits) const
 
 ~date_traits_t () throw ()
 

Public Attributes

bool has_day
 
bool has_month
 
bool has_year
 

Detailed Description

Definition at line 121 of file times.h.

Constructor & Destructor Documentation

◆ date_traits_t() [1/2]

ledger::date_traits_t::date_traits_t ( bool _has_year = false,
bool _has_month = false,
bool _has_day = false )
inline

Definition at line 127 of file times.h.

References TRACE_CTOR.

◆ date_traits_t() [2/2]

ledger::date_traits_t::date_traits_t ( const date_traits_t & traits)
inline

Definition at line 133 of file times.h.

References TRACE_CTOR.

◆ ~date_traits_t()

ledger::date_traits_t::~date_traits_t ( )
throw ( )
inline

Definition at line 139 of file times.h.

References TRACE_DTOR.

Member Function Documentation

◆ operator=()

date_traits_t & ledger::date_traits_t::operator= ( const date_traits_t & traits)
inline

Definition at line 143 of file times.h.

References ledger::downcast(), has_day, has_month, and has_year.

+ Here is the call graph for this function:

◆ operator==()

bool ledger::date_traits_t::operator== ( const date_traits_t & traits) const
inline

Definition at line 150 of file times.h.

References ledger::downcast(), has_day, has_month, and has_year.

+ Here is the call graph for this function:

Member Data Documentation

◆ has_day

bool ledger::date_traits_t::has_day

Definition at line 125 of file times.h.

Referenced by operator=(), and operator==().

◆ has_month

bool ledger::date_traits_t::has_month

Definition at line 124 of file times.h.

Referenced by operator=(), and operator==().

◆ has_year

bool ledger::date_traits_t::has_year

Definition at line 123 of file times.h.

Referenced by operator=(), and operator==().


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