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

#include <filters.h>

+ Inheritance diagram for ledger::budget_posts:
+ Collaboration diagram for ledger::budget_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)
 
 budget_posts (post_handler_ptr handler, date_t _terminus, uint_least8_t _flags=0x01)
 
virtual void clear ()
 
virtual void flush ()
 
virtual void operator() (post_t &post)
 
void report_budget_items (const date_t &date)
 
virtual void title (const string &str)
 
virtual ~budget_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 964 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

◆ budget_posts()

ledger::budget_posts::budget_posts ( post_handler_ptr handler,
date_t _terminus,
uint_least8_t _flags = 0x01 )
inline

Definition at line 977 of file filters.h.

References TRACE_CTOR.

◆ ~budget_posts()

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

Definition at line 983 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::generate_posts::add_post ( const date_interval_t & period,
post_t & post )
virtualinherited

Reimplemented in ledger::forecast_posts.

◆ clear()

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

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(), ledger::generate_posts::pending_posts, and ledger::generate_posts::temps.

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

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

◆ flush()

virtual void ledger::budget_posts::flush ( )
virtual

Reimplemented from ledger::item_handler< post_t >.

◆ operator()()

virtual void ledger::budget_posts::operator() ( post_t & post)
virtual

Reimplemented from ledger::item_handler< post_t >.

◆ report_budget_items()

void ledger::budget_posts::report_budget_items ( const date_t & date)

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