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

#include <filters.h>

+ Inheritance diagram for ledger::collect_posts:
+ Collaboration diagram for ledger::collect_posts:

Public Member Functions

std::vector< post_t * >::iterator begin ()
 
virtual void clear ()
 
 collect_posts ()
 
std::vector< post_t * >::iterator end ()
 
virtual void flush ()
 
std::size_t length () const
 
virtual void operator() (post_t &post)
 
virtual void title (const string &str)
 
virtual ~collect_posts ()
 

Public Attributes

std::vector< post_t * > posts
 

Protected Attributes

shared_ptr< item_handlerhandler
 

Detailed Description

Definition at line 116 of file filters.h.

Constructor & Destructor Documentation

◆ collect_posts()

ledger::collect_posts::collect_posts ( )
inline

Definition at line 121 of file filters.h.

References TRACE_CTOR.

◆ ~collect_posts()

virtual ledger::collect_posts::~collect_posts ( )
inlinevirtual

Definition at line 124 of file filters.h.

References TRACE_DTOR.

Member Function Documentation

◆ begin()

std::vector< post_t * >::iterator ledger::collect_posts::begin ( )
inline

Definition at line 132 of file filters.h.

References posts.

◆ clear()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 144 of file filters.h.

References ledger::item_handler< T >::clear(), and posts.

+ Here is the call graph for this function:

◆ end()

std::vector< post_t * >::iterator ledger::collect_posts::end ( )
inline

Definition at line 135 of file filters.h.

References posts.

◆ flush()

virtual void ledger::collect_posts::flush ( )
inlinevirtual

Reimplemented from ledger::item_handler< post_t >.

Definition at line 139 of file filters.h.

◆ length()

std::size_t ledger::collect_posts::length ( ) const
inline

Definition at line 128 of file filters.h.

References posts.

◆ operator()()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 140 of file filters.h.

References ledger::downcast(), and posts.

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

◆ handler

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

Definition at line 55 of file chain.h.

◆ posts

std::vector<post_t *> ledger::collect_posts::posts

Definition at line 119 of file filters.h.

Referenced by begin(), clear(), end(), length(), and operator()().


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