Loading...
Searching...
No Matches
ledger::item_handler< T > Class Template Reference

#include <chain.h>

+ Inheritance diagram for ledger::item_handler< T >:

Public Member Functions

virtual void clear ()
 
virtual void flush ()
 
 item_handler ()
 
 item_handler (shared_ptr< item_handler > _handler)
 
virtual void operator() (T &item)
 
virtual void title (const string &str)
 
virtual ~item_handler ()
 

Protected Attributes

shared_ptr< item_handlerhandler
 

Detailed Description

template<typename T>
class ledger::item_handler< T >

Definition at line 52 of file chain.h.

Constructor & Destructor Documentation

◆ item_handler() [1/2]

template<typename T >
ledger::item_handler< T >::item_handler ( )
inline

Definition at line 58 of file chain.h.

References TRACE_CTOR.

◆ item_handler() [2/2]

template<typename T >
ledger::item_handler< T >::item_handler ( shared_ptr< item_handler< T > > _handler)
inline

Definition at line 61 of file chain.h.

References TRACE_CTOR.

◆ ~item_handler()

template<typename T >
virtual ledger::item_handler< T >::~item_handler ( )
inlinevirtual

Definition at line 64 of file chain.h.

References TRACE_DTOR.

Member Function Documentation

◆ clear()

template<typename T >
virtual void ledger::item_handler< T >::clear ( )
inlinevirtual

Reimplemented in ledger::post_splitter, ledger::collect_posts, ledger::truncate_xacts, ledger::sort_posts, ledger::sort_xacts, ledger::filter_posts, ledger::anonymize_posts, ledger::calc_posts, ledger::collapse_posts, ledger::related_posts, ledger::display_filter_posts, ledger::changed_value_posts, ledger::subtotal_posts, ledger::interval_posts, ledger::posts_as_equity, ledger::by_payee_posts, ledger::transfer_details, ledger::day_of_week_posts, ledger::generate_posts, ledger::forecast_posts, ledger::pass_down_accounts< Iterator >, ledger::format_posts, ledger::format_accounts, ledger::report_accounts, ledger::report_payees, ledger::report_tags, ledger::report_commodities, ledger::print_xacts, and ledger::format_ptree.

Definition at line 84 of file chain.h.

References ledger::item_handler< T >::handler.

Referenced by ledger::post_splitter::clear(), ledger::collect_posts::clear(), ledger::truncate_xacts::clear(), ledger::sort_posts::clear(), ledger::sort_xacts::clear(), ledger::filter_posts::clear(), ledger::anonymize_posts::clear(), ledger::calc_posts::clear(), ledger::collapse_posts::clear(), ledger::related_posts::clear(), ledger::display_filter_posts::clear(), ledger::changed_value_posts::clear(), ledger::subtotal_posts::clear(), ledger::by_payee_posts::clear(), ledger::transfer_details::clear(), ledger::generate_posts::clear(), ledger::pass_down_accounts< Iterator >::clear(), ledger::format_posts::clear(), ledger::format_accounts::clear(), ledger::report_accounts::clear(), ledger::report_payees::clear(), ledger::report_tags::clear(), ledger::report_commodities::clear(), ledger::print_xacts::clear(), and ledger::format_ptree::clear().

+ Here is the caller graph for this function:

◆ flush()

◆ operator()()

◆ title()

template<typename T >
virtual void ledger::item_handler< T >::title ( const string & str)
inlinevirtual

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

Definition at line 68 of file chain.h.

References ledger::item_handler< T >::handler.

Member Data Documentation

◆ handler


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