Loading...
Searching...
No Matches
item.h File Reference
#include "scope.h"
+ Include dependency graph for item.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ledger::item_t
 
struct  ledger::position_t
 

Namespaces

namespace  ledger
 

Macros

#define ITEM_GENERATED   0x01
 
#define ITEM_INFERRED   0x08
 
#define ITEM_NORMAL   0x00
 
#define ITEM_NOTE_ON_NEXT_LINE   0x04
 
#define ITEM_TEMP   0x02
 

Functions

value_t ledger::get_comment (item_t &item)
 
string ledger::item_context (const item_t &item, const string &desc)
 
void ledger::print_item (std::ostream &out, const item_t &item, const string &prefix="")
 
void ledger::put_metadata (property_tree::ptree &pt, const item_t::string_map &metadata)
 

Detailed Description

Author
John Wiegley

Definition in file item.h.

Macro Definition Documentation

◆ ITEM_GENERATED

#define ITEM_GENERATED   0x01

Definition at line 86 of file item.h.

◆ ITEM_INFERRED

#define ITEM_INFERRED   0x08

Definition at line 89 of file item.h.

◆ ITEM_NORMAL

#define ITEM_NORMAL   0x00

Definition at line 85 of file item.h.

◆ ITEM_NOTE_ON_NEXT_LINE

#define ITEM_NOTE_ON_NEXT_LINE   0x04

Definition at line 88 of file item.h.

◆ ITEM_TEMP

#define ITEM_TEMP   0x02

Definition at line 87 of file item.h.