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

#include <filters.h>

+ Inheritance diagram for ledger::sort_xacts:
+ Collaboration diagram for ledger::sort_xacts:

Public Member Functions

virtual void clear ()
 
virtual void flush ()
 
virtual void operator() (post_t &post)
 
 sort_xacts (post_handler_ptr handler, const expr_t &_sort_order, report_t &_report)
 
 sort_xacts (post_handler_ptr handler, const string &_sort_order, report_t &_report)
 
virtual void title (const string &str)
 
virtual ~sort_xacts ()
 

Protected Attributes

shared_ptr< item_handlerhandler
 

Detailed Description

Definition at line 279 of file filters.h.

Constructor & Destructor Documentation

◆ sort_xacts() [1/2]

ledger::sort_xacts::sort_xacts ( post_handler_ptr handler,
const expr_t & _sort_order,
report_t & _report )
inline

Definition at line 287 of file filters.h.

References TRACE_CTOR.

◆ sort_xacts() [2/2]

ledger::sort_xacts::sort_xacts ( post_handler_ptr handler,
const string & _sort_order,
report_t & _report )
inline

Definition at line 293 of file filters.h.

References TRACE_CTOR.

◆ ~sort_xacts()

virtual ledger::sort_xacts::~sort_xacts ( )
inlinevirtual

Definition at line 299 of file filters.h.

References TRACE_DTOR.

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 317 of file filters.h.

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

+ Here is the call graph for this function:

◆ flush()

virtual void ledger::sort_xacts::flush ( )
inlinevirtual

Reimplemented from ledger::item_handler< post_t >.

Definition at line 303 of file filters.h.

References ledger::item_handler< T >::flush(), and ledger::sort_posts::flush().

+ Here is the call graph for this function:

◆ operator()()

virtual void ledger::sort_xacts::operator() ( post_t & post)
inlinevirtual

Reimplemented from ledger::item_handler< post_t >.

Definition at line 308 of file filters.h.

References ledger::downcast(), and ledger::sort_posts::post_accumulated_posts().

+ Here is the call graph for this function:

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


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