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

#include <output.h>

+ Inheritance diagram for ledger::report_tags:
+ Collaboration diagram for ledger::report_tags:

Public Member Functions

virtual void clear ()
 
virtual void flush ()
 
virtual void gather_metadata (item_t &item)
 
virtual void operator() (post_t &post)
 
 report_tags (report_t &_report)
 
virtual void title (const string &str)
 
virtual ~report_tags ()
 

Protected Types

typedef std::map< string, std::size_t >::value_type tags_pair
 

Protected Attributes

shared_ptr< item_handlerhandler
 
report_treport
 
std::map< string, std::size_t > tags
 

Detailed Description

Definition at line 193 of file output.h.

Member Typedef Documentation

◆ tags_pair

typedef std::map<string,std::size_t>::value_type ledger::report_tags::tags_pair
protected

Definition at line 200 of file output.h.

Constructor & Destructor Documentation

◆ report_tags()

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

Definition at line 203 of file output.h.

References TRACE_CTOR.

◆ ~report_tags()

virtual ledger::report_tags::~report_tags ( )
inlinevirtual

Definition at line 206 of file output.h.

References TRACE_DTOR.

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 214 of file output.h.

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

+ Here is the call graph for this function:

◆ flush()

virtual void ledger::report_tags::flush ( )
virtual

Reimplemented from ledger::item_handler< post_t >.

◆ gather_metadata()

virtual void ledger::report_tags::gather_metadata ( item_t & item)
virtual

◆ operator()()

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

◆ 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_tags::report
protected

Definition at line 196 of file output.h.

◆ tags

std::map<string, std::size_t> ledger::report_tags::tags
protected

Definition at line 198 of file output.h.

Referenced by clear().


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