#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 |
|
inline |
Definition at line 74 of file filters.h.
References ledger::downcast(), preflush_func, print_title(), and TRACE_CTOR.
|
inlinevirtual |
Definition at line 82 of file filters.h.
References TRACE_DTOR.
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.
Reimplemented from ledger::item_handler< post_t >.
Reimplemented from ledger::item_handler< post_t >.
|
inline |
Definition at line 89 of file filters.h.
References ledger::downcast(), and postflush_func.
|
inline |
Definition at line 86 of file filters.h.
References ledger::downcast(), and preflush_func.
|
inlinevirtualinherited |
Reimplemented in ledger::print_xacts, and ledger::format_posts.
|
protectedinherited |
|
protected |
|
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().