#include <filters.h>
Public Types | |
typedef function< void(const value_t &)> | custom_flusher_t |
typedef std::map< value_t, posts_list > | value_to_posts_map |
Public Member Functions | |
virtual void | clear () |
virtual void | flush () |
virtual void | operator() (post_t &post) |
post_splitter (post_handler_ptr _post_chain, report_t &_report, expr_t &_group_by_expr) | |
virtual void | print_title (const value_t &val) |
void | set_postflush_func (custom_flusher_t functor) |
void | set_preflush_func (custom_flusher_t functor) |
virtual void | title (const string &str) |
virtual | ~post_splitter () |
Protected Attributes | |
expr_t & | group_by_expr |
shared_ptr< item_handler > | handler |
post_handler_ptr | post_chain |
optional< custom_flusher_t > | postflush_func |
value_to_posts_map | posts_map |
custom_flusher_t | preflush_func |
report_t & | report |
typedef function<void (const value_t&)> ledger::post_splitter::custom_flusher_t |
typedef std::map<value_t, posts_list> ledger::post_splitter::value_to_posts_map |
|
inline |
Definition at line 74 of file filters.h.
References group_by_expr, post_chain, post_splitter(), preflush_func, print_title(), report, and TRACE_CTOR.
Referenced by post_splitter(), and ~post_splitter().
|
inlinevirtual |
Definition at line 82 of file filters.h.
References post_splitter(), and TRACE_DTOR.
|
inlinevirtual |
Reimplemented from ledger::item_handler< post_t >.
Definition at line 98 of file filters.h.
References ledger::item_handler< T >::clear(), post_chain, and posts_map.
|
virtual |
Reimplemented from ledger::item_handler< post_t >.
|
virtual |
Reimplemented from ledger::item_handler< post_t >.
|
virtual |
|
inline |
Definition at line 89 of file filters.h.
References postflush_func.
|
inline |
Definition at line 86 of file filters.h.
References preflush_func.
|
inlinevirtualinherited |
Reimplemented in ledger::format_posts, and ledger::print_xacts.
|
protected |
Definition at line 69 of file filters.h.
Referenced by post_splitter().
|
protectedinherited |
Definition at line 55 of file chain.h.
Referenced by ledger::anonymize_posts::anonymize_posts(), ledger::budget_posts::budget_posts(), ledger::by_payee_posts::by_payee_posts(), ledger::calc_posts::calc_posts(), ledger::changed_value_posts::changed_value_posts(), ledger::collapse_posts::collapse_posts(), ledger::day_of_week_posts::day_of_week_posts(), ledger::display_filter_posts::display_filter_posts(), ledger::filter_posts::filter_posts(), ledger::forecast_posts::forecast_posts(), ledger::generate_posts::generate_posts(), ledger::inject_posts::inject_posts(), ledger::pass_down_posts< Iterator >::pass_down_posts(), ledger::related_posts::related_posts(), ledger::sort_posts::sort_posts(), ledger::sort_posts::sort_posts(), ledger::sort_xacts::sort_xacts(), ledger::sort_xacts::sort_xacts(), ledger::subtotal_posts::subtotal_posts(), ledger::transfer_details::transfer_details(), ledger::truncate_xacts::truncate_xacts(), ledger::anonymize_posts::~anonymize_posts(), ledger::changed_value_posts::~changed_value_posts(), ledger::collapse_posts::~collapse_posts(), ledger::display_filter_posts::~display_filter_posts(), ledger::generate_posts::~generate_posts(), ledger::inject_posts::~inject_posts(), ledger::subtotal_posts::~subtotal_posts(), and ledger::transfer_details::~transfer_details().
|
protected |
Definition at line 67 of file filters.h.
Referenced by clear(), and post_splitter().
|
protected |
Definition at line 71 of file filters.h.
Referenced by set_postflush_func().
|
protected |
|
protected |
Definition at line 70 of file filters.h.
Referenced by post_splitter(), and set_preflush_func().
|
protected |
Definition at line 68 of file filters.h.
Referenced by post_splitter().