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

#include <commodity.h>

Collaboration diagram for ledger::price_point_t:

Public Member Functions

bool operator== (const price_point_t &other) const
 price_point_t ()
 price_point_t (datetime_t _when, amount_t _price)

Public Attributes

amount_t price
datetime_t when

Detailed Description

Definition at line 58 of file commodity.h.

Constructor & Destructor Documentation

◆ price_point_t() [1/2]

ledger::price_point_t::price_point_t ( )
inline

Definition at line 63 of file commodity.h.

Referenced by operator==().

Here is the caller graph for this function:

◆ price_point_t() [2/2]

ledger::price_point_t::price_point_t ( datetime_t _when,
amount_t _price )
inline

Definition at line 64 of file commodity.h.

References price, and when.

Member Function Documentation

◆ operator==()

bool ledger::price_point_t::operator== ( const price_point_t & other) const
inline

Definition at line 67 of file commodity.h.

References price, price_point_t(), and when.

Here is the call graph for this function:

Member Data Documentation

◆ price

amount_t ledger::price_point_t::price

Definition at line 61 of file commodity.h.

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

◆ when

datetime_t ledger::price_point_t::when

Definition at line 60 of file commodity.h.

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


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