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

#include <filters.h>

Inheritance diagram for ledger::sort_posts:
Collaboration diagram for ledger::sort_posts:

Public Member Functions

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

Protected Attributes

shared_ptr< item_handlerhandler

Detailed Description

Definition at line 235 of file filters.h.

Constructor & Destructor Documentation

◆ sort_posts() [1/2]

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

Definition at line 246 of file filters.h.

References ledger::item_handler< post_t >::handler, ledger::item_handler< post_t >::item_handler(), and TRACE_CTOR.

Here is the call graph for this function:

◆ sort_posts() [2/2]

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

Definition at line 251 of file filters.h.

References ledger::item_handler< post_t >::handler, ledger::item_handler< post_t >::item_handler(), and TRACE_CTOR.

Here is the call graph for this function:

◆ ~sort_posts()

virtual ledger::sort_posts::~sort_posts ( )
inlinevirtual

Definition at line 256 of file filters.h.

References TRACE_DTOR.

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 271 of file filters.h.

References ledger::item_handler< T >::clear().

Here is the call graph for this function:

◆ flush()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 262 of file filters.h.

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

Here is the call graph for this function:

◆ operator()()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 267 of file filters.h.

◆ post_accumulated_posts()

virtual void ledger::sort_posts::post_accumulated_posts ( )
virtual

Referenced by flush().

Here is the caller graph for this function:

◆ 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

◆ handler


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