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

#include <print.h>

Inheritance diagram for ledger::print_xacts:
Collaboration diagram for ledger::print_xacts:

Public Member Functions

virtual void clear ()
virtual void flush ()
virtual void operator() (post_t &post)
 print_xacts (report_t &_report, bool _print_raw=false)
virtual void title (const string &)
virtual ~print_xacts ()

Protected Types

typedef std::list< xact_t * > xacts_list
typedef std::map< xact_t *, bool > xacts_present_map

Protected Attributes

bool first_title
shared_ptr< item_handlerhandler
bool print_raw
report_treport
xacts_list xacts
xacts_present_map xacts_present

Detailed Description

Definition at line 54 of file print.h.

Member Typedef Documentation

◆ xacts_list

typedef std::list<xact_t *> ledger::print_xacts::xacts_list
protected

Definition at line 57 of file print.h.

◆ xacts_present_map

typedef std::map<xact_t *, bool> ledger::print_xacts::xacts_present_map
protected

Definition at line 58 of file print.h.

Constructor & Destructor Documentation

◆ print_xacts()

ledger::print_xacts::print_xacts ( report_t & _report,
bool _print_raw = false )
inline

Definition at line 67 of file print.h.

References first_title, print_raw, print_xacts(), report, and TRACE_CTOR.

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

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

◆ ~print_xacts()

virtual ledger::print_xacts::~print_xacts ( )
inlinevirtual

Definition at line 71 of file print.h.

References print_xacts(), and TRACE_DTOR.

Here is the call graph for this function:

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 80 of file print.h.

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

Here is the call graph for this function:

◆ flush()

virtual void ledger::print_xacts::flush ( )
virtual

Reimplemented from ledger::item_handler< post_t >.

◆ operator()()

virtual void ledger::print_xacts::operator() ( post_t & post)
virtual

Reimplemented from ledger::item_handler< post_t >.

◆ title()

virtual void ledger::print_xacts::title ( const string & )
virtual

Reimplemented from ledger::item_handler< post_t >.

Member Data Documentation

◆ first_title

bool ledger::print_xacts::first_title
protected

Definition at line 64 of file print.h.

Referenced by print_xacts().

◆ handler

◆ print_raw

bool ledger::print_xacts::print_raw
protected

Definition at line 63 of file print.h.

Referenced by print_xacts().

◆ report

report_t& ledger::print_xacts::report
protected

Definition at line 60 of file print.h.

Referenced by print_xacts().

◆ xacts

xacts_list ledger::print_xacts::xacts
protected

Definition at line 62 of file print.h.

Referenced by clear().

◆ xacts_present

xacts_present_map ledger::print_xacts::xacts_present
protected

Definition at line 61 of file print.h.

Referenced by clear().


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