#include <xact.h>
Classes | |
struct | deferred_tag_data_t |
Public Types | |
typedef std::list< deferred_tag_data_t > | deferred_notes_list |
typedef uint_least16_t | flags_t |
enum | state_t { UNCLEARED = 0 , CLEARED , PENDING } |
typedef std::map< string, tag_data_t, std::function< bool(string, string)> > | string_map |
typedef std::pair< optional< value_t >, bool > | tag_data_t |
Public Attributes | |
optional< date_t > | _date |
optional< date_t > | _date_aux |
state_t | _state |
post_t * | active_post |
optional< expr_t::check_expr_list > | check_exprs |
optional< deferred_notes_list > | deferred_notes |
journal_t * | journal |
std::map< string, bool > | memoized_results |
optional< string_map > | metadata |
optional< string > | note |
optional< position_t > | pos |
posts_list | posts |
predicate_t | predicate |
bool | try_quick_match |
Static Public Attributes | |
static scope_t * | default_scope |
static empty_scope_t * | empty_scope |
static bool | use_aux_date |
Protected Attributes | |
flags_t | _flags |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
Definition at line 159 of file xact.h.
References TRACE_CTOR.
|
inline |
Definition at line 162 of file xact.h.
References TRACE_CTOR.
|
inline |
Definition at line 168 of file xact.h.
References TRACE_CTOR.
|
inlinevirtual |
Definition at line 174 of file xact.h.
References TRACE_DTOR.
|
inlineinherited |
Reimplemented in ledger::xact_t.
|
virtualinherited |
Reimplemented in ledger::post_t.
Definition at line 191 of file item.h.
References ledger::item_t::_date_aux.
Referenced by ledger::item_t::date().
|
inlineinherited |
|
inherited |
Reimplemented in ledger::post_t.
Definition at line 118 of file item.h.
References ledger::item_t::_date, ledger::item_t::_date_aux, ledger::downcast(), ledger::item_t::metadata, ledger::item_t::note, ledger::item_t::pos, ledger::flags::supports_flags< uint_least16_t >::set_flags(), and ledger::item_t::set_state().
Referenced by ledger::post_t::copy_details(), and ledger::item_t::item_t().
Reimplemented in ledger::post_t.
Definition at line 180 of file item.h.
References ledger::item_t::_date, assert, ledger::item_t::aux_date(), ledger::downcast(), and ledger::item_t::use_aux_date.
|
virtualinherited |
Reimplemented from ledger::scope_t.
Implements ledger::scope_t.
Definition at line 178 of file xact.h.
References ledger::downcast(), and ledger::item_t::pos.
|
inlineinherited |
|
virtual |
|
inherited |
|
inlineinherited |
|
virtualinherited |
Reimplemented in ledger::post_t.
|
virtualinherited |
Reimplemented in ledger::post_t.
Referenced by ledger::item_t::id().
Definition at line 176 of file item.h.
References ledger::item_t::_date.
|
inlineinherited |
|
virtualinherited |
Reimplemented in ledger::post_t.
|
virtualinherited |
Reimplemented in ledger::post_t.
|
inherited |
|
inlineinherited |
Definition at line 137 of file item.h.
References ledger::downcast(), ledger::item_t::get_tag(), and ledger::item_t::seq().
|
virtualinherited |
Implements ledger::scope_t.
Reimplemented in ledger::post_t, and ledger::xact_t.
|
inherited |
|
inlinevirtual |
Reimplemented from ledger::item_t.
Definition at line 188 of file xact.h.
References active_post, deferred_notes, and ledger::downcast().
|
inlineinherited |
Definition at line 71 of file xact.h.
References ledger::xact_base_t::posts.
|
inlineinherited |
Definition at line 74 of file xact.h.
References ledger::xact_base_t::posts.
Reimplemented in ledger::post_t.
Definition at line 187 of file item.h.
References ledger::item_t::_date, and assert.
|
inlineinherited |
Definition at line 146 of file item.h.
References ledger::downcast(), and ledger::item_t::pos.
Referenced by ledger::item_t::id().
|
inlineinherited |
Definition at line 195 of file item.h.
References ledger::item_t::_state, and ledger::downcast().
Referenced by ledger::item_t::copy_details().
|
virtualinherited |
Definition at line 198 of file item.h.
References ledger::item_t::_state.
|
inlinevirtualinherited |
Reimplemented in ledger::context_scope_t.
Definition at line 109 of file scope.h.
References ledger::value_t::VOID.
Reimplemented in ledger::context_scope_t.
Reimplemented in ledger::xact_t.
|
inherited |
Definition at line 98 of file item.h.
Referenced by ledger::item_t::copy_details(), ledger::item_t::date(), ledger::item_t::has_date(), and ledger::item_t::primary_date().
Definition at line 99 of file item.h.
Referenced by ledger::item_t::aux_date(), and ledger::item_t::copy_details().
|
protectedinherited |
|
inherited |
Definition at line 97 of file item.h.
Referenced by ledger::item_t::set_state(), and ledger::item_t::state().
post_t* ledger::auto_xact_t::active_post |
Definition at line 157 of file xact.h.
Referenced by parse_tags().
optional<expr_t::check_expr_list> ledger::auto_xact_t::check_exprs |
|
staticinherited |
Definition at line 92 of file scope.h.
Referenced by ledger::global_scope_t::pop_report(), and ledger::global_scope_t::push_report().
optional<deferred_notes_list> ledger::auto_xact_t::deferred_notes |
Definition at line 156 of file xact.h.
Referenced by parse_tags().
|
staticinherited |
|
inherited |
Definition at line 102 of file item.h.
Referenced by ledger::item_t::copy_details().
Definition at line 100 of file item.h.
Referenced by ledger::item_t::copy_details().
|
inherited |
Definition at line 101 of file item.h.
Referenced by ledger::item_t::copy_details(), ledger::post_t::description(), ledger::xact_t::description(), description(), ledger::period_xact_t::description(), ledger::post_t::compare_by_date_and_sequence::operator()(), and ledger::item_t::seq().
|
inherited |
Definition at line 59 of file xact.h.
Referenced by ledger::xact_base_t::posts_begin(), ledger::xact_base_t::posts_end(), and ledger::xact_posts_iterator::reset().
predicate_t ledger::auto_xact_t::predicate |
|
staticinherited |
Definition at line 174 of file item.h.
Referenced by ledger::item_t::date().