Loading...
Searching...
No Matches
ledger::display_filter_posts Class Reference

#include <filters.h>

+ Inheritance diagram for ledger::display_filter_posts:
+ Collaboration diagram for ledger::display_filter_posts:

Public Member Functions

virtual void clear ()
 
void create_accounts ()
 
 display_filter_posts (post_handler_ptr handler, report_t &_report, bool _show_rounding)
 
virtual void flush ()
 
virtual void operator() (post_t &post)
 
bool output_rounding (post_t &post)
 
virtual void title (const string &str)
 
virtual ~display_filter_posts ()
 

Public Attributes

account_trevalued_account
 

Protected Attributes

shared_ptr< item_handlerhandler
 

Detailed Description

Definition at line 536 of file filters.h.

Constructor & Destructor Documentation

◆ display_filter_posts()

ledger::display_filter_posts::display_filter_posts ( post_handler_ptr handler,
report_t & _report,
bool _show_rounding )

◆ ~display_filter_posts()

virtual ledger::display_filter_posts::~display_filter_posts ( )
inlinevirtual

Definition at line 558 of file filters.h.

References ledger::item_handler< post_t >::handler, and TRACE_DTOR.

Member Function Documentation

◆ clear()

virtual void ledger::display_filter_posts::clear ( )
inlinevirtual

Reimplemented from ledger::item_handler< post_t >.

Definition at line 572 of file filters.h.

References ledger::item_handler< T >::clear(), ledger::temporaries_t::clear(), create_accounts(), and ledger::expr_base_t< ResultType >::mark_uncompiled().

+ Here is the call graph for this function:

◆ create_accounts()

void ledger::display_filter_posts::create_accounts ( )
inline

Definition at line 563 of file filters.h.

References ledger::temporaries_t::create_account(), ledger::downcast(), and revalued_account.

Referenced by clear().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ flush()

◆ operator()()

virtual void ledger::display_filter_posts::operator() ( post_t & post)
virtual

Reimplemented from ledger::item_handler< post_t >.

◆ output_rounding()

bool ledger::display_filter_posts::output_rounding ( post_t & post)

◆ title()

virtual void ledger::item_handler< post_t >::title ( const string & str)
inlinevirtualinherited

Reimplemented in ledger::print_xacts, and ledger::format_posts.

Definition at line 68 of file chain.h.

Member Data Documentation

◆ handler

shared_ptr<item_handler> ledger::item_handler< post_t >::handler
protectedinherited

Definition at line 55 of file chain.h.

◆ revalued_account

account_t* ledger::display_filter_posts::revalued_account

Definition at line 552 of file filters.h.

Referenced by create_accounts(), and ledger::changed_value_posts::create_accounts().


The documentation for this class was generated from the following file: