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

#include <filters.h>

+ Inheritance diagram for ledger::day_of_week_posts:
+ Collaboration diagram for ledger::day_of_week_posts:

Public Member Functions

virtual void clear ()
 
 day_of_week_posts (post_handler_ptr handler, expr_t &amount_expr)
 
virtual void flush ()
 
virtual void operator() (post_t &post)
 
void report_subtotal (const char *spec_fmt=NULL, const optional< date_interval_t > &interval=none)
 
virtual void title (const string &str)
 
virtual ~day_of_week_posts () throw ()
 

Protected Types

typedef std::map< string, acct_value_tvalues_map
 
typedef std::pair< string, acct_value_tvalues_pair
 

Protected Attributes

expr_tamount_expr
 
std::deque< post_t * > component_posts
 
optional< stringdate_format
 
shared_ptr< item_handlerhandler
 
temporaries_t temps
 
values_map values
 

Detailed Description

Definition at line 902 of file filters.h.

Member Typedef Documentation

◆ values_map

Definition at line 684 of file filters.h.

◆ values_pair

Definition at line 685 of file filters.h.

Constructor & Destructor Documentation

◆ day_of_week_posts()

ledger::day_of_week_posts::day_of_week_posts ( post_handler_ptr handler,
expr_t & amount_expr )
inline

Definition at line 909 of file filters.h.

References TRACE_CTOR.

◆ ~day_of_week_posts()

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

Definition at line 913 of file filters.h.

References TRACE_DTOR.

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::subtotal_posts.

Definition at line 922 of file filters.h.

References ledger::subtotal_posts::clear(), clear(), and ledger::downcast().

Referenced by clear().

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

◆ flush()

virtual void ledger::day_of_week_posts::flush ( )
virtual

Reimplemented from ledger::subtotal_posts.

◆ operator()()

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

Reimplemented from ledger::subtotal_posts.

Definition at line 918 of file filters.h.

References ledger::downcast().

+ Here is the call graph for this function:

◆ report_subtotal()

void ledger::subtotal_posts::report_subtotal ( const char * spec_fmt = NULL,
const optional< date_interval_t > & interval = none )
inherited

Referenced by ledger::subtotal_posts::flush().

+ Here is the caller 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

◆ amount_expr

expr_t& ledger::subtotal_posts::amount_expr
protectedinherited

Definition at line 688 of file filters.h.

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

◆ component_posts

std::deque<post_t *> ledger::subtotal_posts::component_posts
protectedinherited

Definition at line 692 of file filters.h.

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

◆ date_format

optional<string> ledger::subtotal_posts::date_format
protectedinherited

Definition at line 690 of file filters.h.

◆ handler

shared_ptr<item_handler> ledger::item_handler< post_t >::handler
protectedinherited

Definition at line 55 of file chain.h.

◆ temps

temporaries_t ledger::subtotal_posts::temps
protectedinherited

◆ values

values_map ledger::subtotal_posts::values
protectedinherited

Definition at line 689 of file filters.h.

Referenced by ledger::subtotal_posts::clear(), and ledger::subtotal_posts::flush().


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