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

#include <emacs.h>

+ Inheritance diagram for ledger::format_emacs_posts:
+ Collaboration diagram for ledger::format_emacs_posts:

Public Member Functions

virtual void clear ()
 
virtual string escape_string (string raw)
 
virtual void flush ()
 
 format_emacs_posts (std::ostream &_out)
 
virtual void operator() (post_t &post)
 
virtual void title (const string &str)
 
virtual void write_xact (xact_t &xact)
 
 ~format_emacs_posts ()
 

Protected Attributes

shared_ptr< item_handlerhandler
 
xact_tlast_xact
 
std::ostream & out
 

Detailed Description

Definition at line 50 of file emacs.h.

Constructor & Destructor Documentation

◆ format_emacs_posts()

ledger::format_emacs_posts::format_emacs_posts ( std::ostream & _out)
inline

Definition at line 59 of file emacs.h.

References TRACE_CTOR.

◆ ~format_emacs_posts()

ledger::format_emacs_posts::~format_emacs_posts ( )
inline

Definition at line 63 of file emacs.h.

References TRACE_DTOR.

Member Function Documentation

◆ clear()

◆ escape_string()

virtual string ledger::format_emacs_posts::escape_string ( string raw)
virtual

◆ flush()

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

Reimplemented from ledger::item_handler< post_t >.

Definition at line 68 of file emacs.h.

References last_xact, and out.

◆ operator()()

virtual void ledger::format_emacs_posts::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.

◆ write_xact()

virtual void ledger::format_emacs_posts::write_xact ( xact_t & xact)
virtual

Member Data Documentation

◆ handler

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

Definition at line 55 of file chain.h.

◆ last_xact

xact_t* ledger::format_emacs_posts::last_xact
protected

Definition at line 56 of file emacs.h.

Referenced by flush().

◆ out

std::ostream& ledger::format_emacs_posts::out
protected

Definition at line 55 of file emacs.h.

Referenced by flush().


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