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

#include <filters.h>

+ Inheritance diagram for ledger::forecast_posts:
+ Collaboration diagram for ledger::forecast_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 ()
 
 forecast_posts (post_handler_ptr handler, const predicate_t &predicate, scope_t &_context, const std::size_t _forecast_years)
 
virtual void operator() (post_t &item)
 
virtual void title (const string &str)
 
virtual ~forecast_posts () throw ()
 

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 993 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

◆ forecast_posts()

ledger::forecast_posts::forecast_posts ( post_handler_ptr handler,
const predicate_t & predicate,
scope_t & _context,
const std::size_t _forecast_years )
inline

Definition at line 1000 of file filters.h.

References TRACE_CTOR.

◆ ~forecast_posts()

virtual ledger::forecast_posts::~forecast_posts ( )
throw ( )
inlinevirtual

Definition at line 1009 of file filters.h.

References TRACE_DTOR.

Member Function Documentation

◆ add_period_xacts()

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

◆ add_post()

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

Reimplemented from ledger::generate_posts.

◆ clear()

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

Reimplemented from ledger::generate_posts.

Definition at line 1016 of file filters.h.

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

+ Here is the call graph for this function:

◆ flush()

virtual void ledger::forecast_posts::flush ( )
virtual

Reimplemented from ledger::item_handler< post_t >.

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

Definition at line 938 of file filters.h.

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

◆ temps

temporaries_t ledger::generate_posts::temps
protectedinherited

Definition at line 939 of file filters.h.

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


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