#include <filters.h>
Classes | |
class | acct_value_t |
Public Member Functions | |
virtual void | clear () |
virtual void | flush () |
virtual void | operator() (post_t &post) |
void | report_subtotal (const char *spec_fmt=NULL, const optional< date_interval_t > &interval=none) |
subtotal_posts (post_handler_ptr handler, expr_t &_amount_expr, const optional< string > &_date_format=none) | |
virtual void | title (const string &str) |
virtual | ~subtotal_posts () |
Protected Types | |
typedef std::map< string, acct_value_t > | values_map |
typedef std::pair< string, acct_value_t > | values_pair |
Protected Attributes | |
expr_t & | amount_expr |
std::deque< post_t * > | component_posts |
optional< string > | date_format |
shared_ptr< item_handler > | handler |
temporaries_t | temps |
values_map | values |
|
protected |
|
protected |
|
inline |
Definition at line 695 of file filters.h.
References TRACE_CTOR.
|
inlinevirtual |
Definition at line 702 of file filters.h.
References ledger::item_handler< post_t >::handler, and TRACE_DTOR.
Reimplemented from ledger::item_handler< post_t >.
Reimplemented in ledger::interval_posts, ledger::posts_as_equity, and ledger::day_of_week_posts.
Definition at line 717 of file filters.h.
References amount_expr, ledger::item_handler< T >::clear(), ledger::temporaries_t::clear(), component_posts, ledger::expr_base_t< ResultType >::mark_uncompiled(), temps, and values.
Referenced by ledger::interval_posts::clear(), ledger::posts_as_equity::clear(), and ledger::day_of_week_posts::clear().
Reimplemented from ledger::item_handler< post_t >.
Reimplemented in ledger::interval_posts, ledger::posts_as_equity, and ledger::day_of_week_posts.
Definition at line 710 of file filters.h.
References ledger::item_handler< T >::flush(), report_subtotal(), and values.
Referenced by ledger::posts_as_equity::flush().
Reimplemented from ledger::item_handler< post_t >.
Reimplemented in ledger::interval_posts, and ledger::day_of_week_posts.
|
inlinevirtualinherited |
Reimplemented in ledger::print_xacts, and ledger::format_posts.
|
protected |
|
protected |
|
protectedinherited |
|
protected |
Definition at line 691 of file filters.h.
Referenced by clear(), ledger::interval_posts::create_accounts(), and ledger::posts_as_equity::create_accounts().
|
protected |