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

#include <filters.h>

+ Inheritance diagram for ledger::transfer_details:
+ Collaboration diagram for ledger::transfer_details:

Public Types

enum  element_t { SET_DATE , SET_ACCOUNT , SET_PAYEE }
 

Public Member Functions

virtual void clear ()
 
virtual void flush ()
 
virtual void operator() (post_t &post)
 
virtual void title (const string &str)
 
 transfer_details (post_handler_ptr handler, element_t _which_element, account_t *_master, const expr_t &_expr, scope_t &_scope)
 
virtual ~transfer_details ()
 

Public Attributes

enum ledger::transfer_details::element_t which_element
 

Protected Attributes

shared_ptr< item_handlerhandler
 

Detailed Description

Definition at line 861 of file filters.h.

Member Enumeration Documentation

◆ element_t

Enumerator
SET_DATE 
SET_ACCOUNT 
SET_PAYEE 

Definition at line 871 of file filters.h.

Constructor & Destructor Documentation

◆ transfer_details()

ledger::transfer_details::transfer_details ( post_handler_ptr handler,
element_t _which_element,
account_t * _master,
const expr_t & _expr,
scope_t & _scope )
inline

Definition at line 877 of file filters.h.

References TRACE_CTOR.

◆ ~transfer_details()

virtual ledger::transfer_details::~transfer_details ( )
inlinevirtual

Definition at line 887 of file filters.h.

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

Member Function Documentation

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 894 of file filters.h.

References ledger::item_handler< T >::clear(), ledger::temporaries_t::clear(), and ledger::expr_base_t< ResultType >::mark_uncompiled().

+ Here is the call graph for this function:

◆ flush()

◆ operator()()

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

Reimplemented from ledger::item_handler< post_t >.

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

◆ which_element

enum ledger::transfer_details::element_t ledger::transfer_details::which_element

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