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

#include <filters.h>

+ Inheritance diagram for ledger::filter_posts:
+ Collaboration diagram for ledger::filter_posts:

Public Member Functions

virtual void clear ()
 
 filter_posts (post_handler_ptr handler, const predicate_t &predicate, scope_t &_context)
 
virtual void flush ()
 
virtual void operator() (post_t &post)
 
virtual void title (const string &str)
 
virtual ~filter_posts ()
 

Protected Attributes

shared_ptr< item_handlerhandler
 

Detailed Description

Definition at line 325 of file filters.h.

Constructor & Destructor Documentation

◆ filter_posts()

ledger::filter_posts::filter_posts ( post_handler_ptr handler,
const predicate_t & predicate,
scope_t & _context )
inline

Definition at line 333 of file filters.h.

References TRACE_CTOR.

◆ ~filter_posts()

virtual ledger::filter_posts::~filter_posts ( )
inlinevirtual

Definition at line 339 of file filters.h.

References TRACE_DTOR.

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 351 of file filters.h.

References ledger::item_handler< T >::clear(), and ledger::expr_base_t< ResultType >::mark_uncompiled().

+ Here is the call graph for this function:

◆ flush()

◆ operator()()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 343 of file filters.h.

References ledger::downcast(), and POST_EXT_MATCHES.

+ 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: