Types for handling commodities. More...
#include "expr.h"
Go to the source code of this file.
Classes | |
class | ledger::commodity_t::base_t |
struct | ledger::commodity_compare |
class | ledger::commodity_error |
class | ledger::commodity_t |
struct | ledger::commodity_t::compare_by_commodity |
struct | ledger::price_point_t |
Namespaces | |
namespace | ledger |
Macros | |
#define | COMMODITY_BUILTIN 0x020 |
#define | COMMODITY_KNOWN 0x080 |
#define | COMMODITY_NOMARKET 0x010 |
#define | COMMODITY_PRIMARY 0x100 |
#define | COMMODITY_SAW_ANN_PRICE_FIXATED 0x800 |
#define | COMMODITY_SAW_ANN_PRICE_FLOAT 0x400 |
#define | COMMODITY_SAW_ANNOTATED 0x200 |
#define | COMMODITY_STYLE_DECIMAL_COMMA 0x004 |
#define | COMMODITY_STYLE_DEFAULTS 0x000 |
#define | COMMODITY_STYLE_NO_MIGRATE 0x2000 |
#define | COMMODITY_STYLE_SEPARATED 0x002 |
#define | COMMODITY_STYLE_SUFFIXED 0x001 |
#define | COMMODITY_STYLE_THOUSANDS 0x008 |
#define | COMMODITY_STYLE_TIME_COLON 0x1000 |
#define | COMMODITY_WALKED 0x040 |
Functions | |
std::ostream & | ledger::operator<< (std::ostream &out, const commodity_t &comm) |
void | ledger::put_commodity (property_tree::ptree &pt, const commodity_t &comm, bool commodity_details=false) |
Types for handling commodities.
This file contains one of the most basic types in Ledger: commodity_t, and its annotated cousin, annotated_commodity_t.
Definition in file commodity.h.
#define COMMODITY_BUILTIN 0x020 |
Definition at line 89 of file commodity.h.
#define COMMODITY_KNOWN 0x080 |
Definition at line 91 of file commodity.h.
#define COMMODITY_NOMARKET 0x010 |
Definition at line 88 of file commodity.h.
#define COMMODITY_PRIMARY 0x100 |
Definition at line 92 of file commodity.h.
#define COMMODITY_SAW_ANN_PRICE_FIXATED 0x800 |
Definition at line 95 of file commodity.h.
#define COMMODITY_SAW_ANN_PRICE_FLOAT 0x400 |
Definition at line 94 of file commodity.h.
#define COMMODITY_SAW_ANNOTATED 0x200 |
Definition at line 93 of file commodity.h.
#define COMMODITY_STYLE_DECIMAL_COMMA 0x004 |
Definition at line 86 of file commodity.h.
#define COMMODITY_STYLE_DEFAULTS 0x000 |
Definition at line 83 of file commodity.h.
#define COMMODITY_STYLE_NO_MIGRATE 0x2000 |
Definition at line 97 of file commodity.h.
#define COMMODITY_STYLE_SEPARATED 0x002 |
Definition at line 85 of file commodity.h.
#define COMMODITY_STYLE_SUFFIXED 0x001 |
Definition at line 84 of file commodity.h.
#define COMMODITY_STYLE_THOUSANDS 0x008 |
Definition at line 87 of file commodity.h.
#define COMMODITY_STYLE_TIME_COLON 0x1000 |
Definition at line 96 of file commodity.h.
#define COMMODITY_WALKED 0x040 |
Definition at line 90 of file commodity.h.