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

◆ ~report_commodities()

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

Definition at line 235 of file output.h.

References TRACE_DTOR.

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

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

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

Definition at line 55 of file chain.h.

◆ report

report_t& ledger::report_commodities::report
protected

Definition at line 224 of file output.h.


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