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

#include <output.h>

Inheritance diagram for ledger::report_accounts:
Collaboration diagram for ledger::report_accounts:

Public Member Functions

virtual void clear ()
virtual void flush ()
virtual void operator() (post_t &post)
 report_accounts (report_t &_report)
virtual void title (const string &str)
virtual ~report_accounts ()

Protected Types

typedef std::map< account_t *, std::size_t >::value_type accounts_pair
typedef std::map< account_t *, std::size_t, account_compareaccounts_report_map

Protected Attributes

accounts_report_map accounts
shared_ptr< item_handlerhandler
report_treport

Detailed Description

Definition at line 140 of file output.h.

Member Typedef Documentation

◆ accounts_pair

typedef std::map<account_t*,std::size_t>::value_type ledger::report_accounts::accounts_pair
protected

Definition at line 145 of file output.h.

◆ accounts_report_map

typedef std::map<account_t *, std::size_t, account_compare> ledger::report_accounts::accounts_report_map
protected

Definition at line 146 of file output.h.

Constructor & Destructor Documentation

◆ report_accounts()

ledger::report_accounts::report_accounts ( report_t & _report)
inline

Definition at line 151 of file output.h.

References report, report_accounts(), and TRACE_CTOR.

Referenced by report_accounts(), and ~report_accounts().

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

◆ ~report_accounts()

virtual ledger::report_accounts::~report_accounts ( )
inlinevirtual

Definition at line 154 of file output.h.

References report_accounts(), and TRACE_DTOR.

Here is the call graph for this function:

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 161 of file output.h.

References accounts, and ledger::item_handler< T >::clear().

Here is the call graph for this function:

◆ flush()

virtual void ledger::report_accounts::flush ( )
virtual

Reimplemented from ledger::item_handler< post_t >.

◆ operator()()

virtual void ledger::report_accounts::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::format_posts, and ledger::print_xacts.

Definition at line 68 of file chain.h.

Member Data Documentation

◆ accounts

accounts_report_map ledger::report_accounts::accounts
protected

Definition at line 148 of file output.h.

Referenced by clear().

◆ handler

◆ report

report_t& ledger::report_accounts::report
protected

Definition at line 143 of file output.h.

Referenced by report_accounts().


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