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

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

◆ ~report_accounts()

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

Definition at line 154 of file output.h.

References TRACE_DTOR.

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

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

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

Definition at line 55 of file chain.h.

◆ report

report_t& ledger::report_accounts::report
protected

Definition at line 143 of file output.h.


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