#include <account.h>
Classes | |
struct | xdata_t |
Public Types | |
typedef transform_iterator< function< account_t *(accounts_map::value_type &)>, accounts_map::iterator | accounts_map_seconds_iterator) |
typedef T | flags_t |
Public Attributes | |
string | _fullname |
accounts_map | accounts |
optional< deferred_posts_map_t > | deferred_posts |
unsigned short | depth |
string | name |
optional< string > | note |
account_t * | parent |
posts_list | posts |
optional< expr_t > | value_expr |
optional< xdata_t > | xdata_ |
Static Public Attributes | |
static scope_t * | default_scope |
static empty_scope_t * | empty_scope |
Protected Attributes | |
flags_t | _flags |
Friends | |
class | journal_t |
typedef transform_iterator<function<account_t *(accounts_map::value_type&)>, accounts_map::iterator ledger::account_t::accounts_map_seconds_iterator) |
|
inherited |
|
inline |
Definition at line 80 of file account.h.
References TRACE_CTOR.
Definition at line 92 of file account.h.
References TRACE_CTOR.
|
virtual |
|
inline |
|
inline |
|
inlineinherited |
Definition at line 87 of file flags.h.
References ledger::flags::supports_flags< T, U >::_flags, and ledger::downcast().
value_t ledger::account_t::amount | ( | const optional< bool > | real_only = false, |
const optional< expr_t & > & | expr = none ) const |
void ledger::account_t::apply_deferred_posts | ( | ) |
std::size_t ledger::account_t::children_with_flags | ( | xdata_t::flags_t | flags | ) | const |
bool ledger::account_t::children_with_xdata | ( | ) | const |
|
inlineinherited |
Definition at line 84 of file flags.h.
References ledger::flags::supports_flags< T, U >::_flags.
void ledger::account_t::clear_xdata | ( | ) |
|
inlinevirtualinherited |
Reimplemented in ledger::report_t, ledger::child_scope_t, ledger::bind_scope_t, ledger::symbol_scope_t, and ledger::item_t.
Definition at line 104 of file scope.h.
Referenced by ledger::child_scope_t::define(), and ledger::bind_scope_t::define().
Implements ledger::scope_t.
Definition at line 107 of file account.h.
References fullname().
|
inlineinherited |
Definition at line 90 of file flags.h.
References ledger::flags::supports_flags< T, U >::_flags, and ledger::downcast().
const xdata_t::details_t & ledger::account_t::family_details | ( | bool | gather_all = true | ) | const |
Referenced by ledger::posts_as_equity::create_accounts().
|
inlineinherited |
Definition at line 74 of file flags.h.
References ledger::flags::supports_flags< T, U >::_flags.
Referenced by has_xflags(), ledger::flags::basic_t< T, U >::operator T(), and ledger::flags::basic_t< T, U >::operator U().
string ledger::account_t::fullname | ( | ) | const |
Referenced by description(), operator string(), and ledger::account_compare::operator()().
|
inlineinherited |
Definition at line 77 of file flags.h.
References ledger::flags::supports_flags< T, U >::_flags, and ledger::downcast().
|
inline |
|
inline |
Definition at line 288 of file account.h.
References ledger::flags::supports_flags< T, U >::flags(), and xdata_.
|
virtual |
Implements ledger::scope_t.
|
inline |
Definition at line 111 of file account.h.
References fullname().
|
inline |
|
inline |
const xdata_t::details_t & ledger::account_t::self_details | ( | bool | gather_all = true | ) | const |
|
inlineinherited |
Definition at line 81 of file flags.h.
References ledger::flags::supports_flags< T, U >::_flags, and ledger::downcast().
Referenced by ledger::flags::basic_t< T, U >::basic_t(), ledger::flags::basic_t< T, U >::basic_t(), ledger::flags::basic_t< T, U >::operator=(), and ledger::flags::basic_t< T, U >::operator=().
|
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.
bool ledger::account_t::valid | ( | ) | const |
|
inline |
|
protectedinherited |
Definition at line 53 of file flags.h.
Referenced by ledger::flags::supports_flags< T, U >::add_flags(), ledger::flags::supports_flags< T, U >::clear_flags(), ledger::flags::supports_flags< T, U >::drop_flags(), ledger::flags::supports_flags< T, U >::flags(), ledger::flags::supports_flags< T, U >::has_flags(), ledger::flags::supports_flags< T, U >::operator=(), and ledger::flags::supports_flags< T, U >::set_flags().
accounts_map ledger::account_t::accounts |
Definition at line 70 of file account.h.
Referenced by accounts_begin(), accounts_end(), add_account(), and remove_account().
|
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_posts_map_t> ledger::account_t::deferred_posts |
|
staticinherited |
string ledger::account_t::name |
Definition at line 67 of file account.h.
Referenced by add_account(), and remove_account().
posts_list ledger::account_t::posts |
Definition at line 71 of file account.h.
Referenced by posts_begin(), and posts_end().
Definition at line 266 of file account.h.
Referenced by has_xdata(), has_xflags(), xdata(), and xdata().