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

#include <output.h>

Inheritance diagram for ledger::report_commodities:
Collaboration diagram for ledger::report_commodities:

Public Member Functions

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

Protected Types

typedef std::map< commodity_t *, std::size_t >::value_type commodities_pair
typedef std::map< commodity_t *, std::size_t, commodity_comparecommodities_report_map

Protected Attributes

commodities_report_map commodities
shared_ptr< item_handlerhandler
report_treport

Detailed Description

Definition at line 221 of file output.h.

Member Typedef Documentation

◆ commodities_pair

typedef std::map<commodity_t*,std::size_t>::value_type ledger::report_commodities::commodities_pair
protected

Definition at line 226 of file output.h.

◆ commodities_report_map

Definition at line 227 of file output.h.

Constructor & Destructor Documentation

◆ report_commodities()

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

Definition at line 232 of file output.h.

References report, report_commodities(), and TRACE_CTOR.

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

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

◆ ~report_commodities()

virtual ledger::report_commodities::~report_commodities ( )
inlinevirtual

Definition at line 235 of file output.h.

References report_commodities(), and TRACE_DTOR.

Here is the call graph for this function:

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 242 of file output.h.

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

Here is the call graph for this function:

◆ flush()

virtual void ledger::report_commodities::flush ( )
virtual

Reimplemented from ledger::item_handler< post_t >.

◆ operator()()

virtual void ledger::report_commodities::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

◆ commodities

commodities_report_map ledger::report_commodities::commodities
protected

Definition at line 229 of file output.h.

Referenced by clear().

◆ handler

◆ report

report_t& ledger::report_commodities::report
protected

Definition at line 224 of file output.h.

Referenced by report_commodities().


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