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 122 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 128 of file times.h.

References date_traits_t(), has_day, has_month, has_year, and TRACE_CTOR.

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ date_traits_t() [2/2]

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

Definition at line 134 of file times.h.

References date_traits_t(), has_day, has_month, has_year, and TRACE_CTOR.

Here is the call graph for this function:

◆ ~date_traits_t()

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

Definition at line 140 of file times.h.

References date_traits_t(), and TRACE_DTOR.

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

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

Definition at line 144 of file times.h.

References date_traits_t(), 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 151 of file times.h.

References date_traits_t(), 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 126 of file times.h.

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

◆ has_month

bool ledger::date_traits_t::has_month

Definition at line 125 of file times.h.

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

◆ has_year

bool ledger::date_traits_t::has_year

Definition at line 124 of file times.h.

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


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