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

#include <filters.h>

+ Inheritance diagram for ledger::generate_posts:
+ Collaboration diagram for ledger::generate_posts:

Public Member Functions

void add_period_xacts (period_xacts_list &period_xacts)
 
virtual void add_post (const date_interval_t &period, post_t &post)
 
virtual void clear ()
 
virtual void flush ()
 
 generate_posts (post_handler_ptr handler)
 
virtual void operator() (post_t &item)
 
virtual void title (const string &str)
 
virtual ~generate_posts ()
 

Protected Types

typedef std::list< pending_posts_pairpending_posts_list
 
typedef std::pair< date_interval_t, post_t * > pending_posts_pair
 

Protected Attributes

shared_ptr< item_handlerhandler
 
pending_posts_list pending_posts
 
temporaries_t temps
 

Detailed Description

Definition at line 930 of file filters.h.

Member Typedef Documentation

◆ pending_posts_list

Definition at line 936 of file filters.h.

◆ pending_posts_pair

Definition at line 935 of file filters.h.

Constructor & Destructor Documentation

◆ generate_posts()

ledger::generate_posts::generate_posts ( post_handler_ptr handler)
inline

Definition at line 942 of file filters.h.

References TRACE_CTOR.

◆ ~generate_posts()

virtual ledger::generate_posts::~generate_posts ( )
inlinevirtual

Definition at line 947 of file filters.h.

References ledger::item_handler< post_t >::handler, and TRACE_DTOR.

Member Function Documentation

◆ add_period_xacts()

void ledger::generate_posts::add_period_xacts ( period_xacts_list & period_xacts)

◆ add_post()

virtual void ledger::generate_posts::add_post ( const date_interval_t & period,
post_t & post )
virtual

Reimplemented in ledger::forecast_posts.

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Reimplemented in ledger::forecast_posts.

Definition at line 956 of file filters.h.

References ledger::item_handler< T >::clear(), ledger::temporaries_t::clear(), pending_posts, and temps.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ flush()

◆ operator()()

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

◆ pending_posts

pending_posts_list ledger::generate_posts::pending_posts
protected

Definition at line 938 of file filters.h.

Referenced by clear().

◆ temps

temporaries_t ledger::generate_posts::temps
protected

Definition at line 939 of file filters.h.

Referenced by clear().


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