Loading...
Searching...
No Matches
annotate.h File Reference

Types for annotating commodities. More...

#include "expr.h"
+ Include dependency graph for annotate.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ledger::annotated_commodity_t
 
struct  ledger::annotation_t
 
struct  ledger::keep_details_t
 

Namespaces

namespace  ledger
 

Macros

#define ANNOTATION_DATE_CALCULATED   0x08
 
#define ANNOTATION_PRICE_CALCULATED   0x01
 
#define ANNOTATION_PRICE_FIXATED   0x02
 
#define ANNOTATION_PRICE_NOT_PER_UNIT   0x04
 
#define ANNOTATION_TAG_CALCULATED   0x10
 
#define ANNOTATION_VALUE_EXPR_CALCULATED   0x20
 

Functions

annotated_commodity_tledger::as_annotated_commodity (commodity_t &commodity)
 
const annotated_commodity_tledger::as_annotated_commodity (const commodity_t &commodity)
 
std::ostream & ledger::operator<< (std::ostream &out, const annotation_t &details)
 
void ledger::put_annotation (property_tree::ptree &pt, const annotation_t &details)
 

Detailed Description

Types for annotating commodities.

Author
John Wiegley

Long.

Definition in file annotate.h.

Macro Definition Documentation

◆ ANNOTATION_DATE_CALCULATED

#define ANNOTATION_DATE_CALCULATED   0x08

Definition at line 58 of file annotate.h.

◆ ANNOTATION_PRICE_CALCULATED

#define ANNOTATION_PRICE_CALCULATED   0x01

Definition at line 55 of file annotate.h.

◆ ANNOTATION_PRICE_FIXATED

#define ANNOTATION_PRICE_FIXATED   0x02

Definition at line 56 of file annotate.h.

◆ ANNOTATION_PRICE_NOT_PER_UNIT

#define ANNOTATION_PRICE_NOT_PER_UNIT   0x04

Definition at line 57 of file annotate.h.

◆ ANNOTATION_TAG_CALCULATED

#define ANNOTATION_TAG_CALCULATED   0x10

Definition at line 59 of file annotate.h.

◆ ANNOTATION_VALUE_EXPR_CALCULATED

#define ANNOTATION_VALUE_EXPR_CALCULATED   0x20

Definition at line 60 of file annotate.h.