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

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

◆ ~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(), and ledger::expr_base_t< ResultType >::mark_uncompiled().

Referenced by ledger::sort_xacts::clear().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by ledger::sort_xacts::flush().

+ Here is the call graph for this function:
+ Here is the caller 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.

References ledger::downcast().

+ Here is the call graph for this function:

◆ post_accumulated_posts()

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

Referenced by flush(), and ledger::sort_xacts::operator()().

+ Here is the caller 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: