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

typedef std::list<pending_posts_pair> ledger::generate_posts::pending_posts_list
protectedinherited

Definition at line 936 of file filters.h.

◆ pending_posts_pair

typedef std::pair<date_interval_t, post_t *> ledger::generate_posts::pending_posts_pair
protectedinherited

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 forecast_posts(), ledger::item_handler< post_t >::handler, and TRACE_CTOR.

Referenced by forecast_posts(), and ~forecast_posts().

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

◆ ~forecast_posts()

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

Definition at line 1009 of file filters.h.

References forecast_posts(), and TRACE_DTOR.

Here is the call graph for this function:

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().

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::format_posts, and ledger::print_xacts.

Definition at line 68 of file chain.h.

Member Data Documentation

◆ handler

◆ pending_posts

pending_posts_list ledger::generate_posts::pending_posts
protectedinherited

Definition at line 938 of file filters.h.

Referenced by clear().

◆ temps

temporaries_t ledger::generate_posts::temps
protectedinherited

Definition at line 939 of file filters.h.

Referenced by clear().


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