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

#include <filters.h>

+ Inheritance diagram for ledger::calc_posts:
+ Collaboration diagram for ledger::calc_posts:

Public Member Functions

 calc_posts (post_handler_ptr handler, expr_t &_amount_expr, bool _calc_running_total=false)
 
virtual void clear ()
 
virtual void flush ()
 
virtual void operator() (post_t &post)
 
virtual void title (const string &str)
 
virtual ~calc_posts ()
 

Protected Attributes

shared_ptr< item_handlerhandler
 

Detailed Description

Definition at line 398 of file filters.h.

Constructor & Destructor Documentation

◆ calc_posts()

ledger::calc_posts::calc_posts ( post_handler_ptr handler,
expr_t & _amount_expr,
bool _calc_running_total = false )
inline

Definition at line 407 of file filters.h.

References TRACE_CTOR.

◆ ~calc_posts()

virtual ledger::calc_posts::~calc_posts ( )
inlinevirtual

Definition at line 414 of file filters.h.

References TRACE_DTOR.

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 420 of file filters.h.

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

+ Here is the call graph for this function:

◆ flush()

◆ operator()()

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

Reimplemented from ledger::item_handler< post_t >.

◆ 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.


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