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

#include <generate.h>

+ Inheritance diagram for ledger::generate_posts_iterator:
+ Collaboration diagram for ledger::generate_posts_iterator:

Public Member Functions

 generate_posts_iterator (session_t &_session, unsigned int _seed=0, std::size_t _quantity=100)
 
virtual void increment ()
 
virtual ~generate_posts_iterator () throw ()
 

Protected Member Functions

bool generate_account (std::ostream &out, bool no_virtual=false)
 
string generate_amount (std::ostream &out, value_t not_this_amount=(value_t()), bool no_negative=false, const string &exclude="")
 
void generate_code (std::ostream &out)
 
void generate_commodity (std::ostream &out, const string &exclude="")
 
void generate_cost (std::ostream &out, value_t amount)
 
void generate_date (std::ostream &out)
 
void generate_note (std::ostream &out)
 
void generate_payee (std::ostream &out)
 
bool generate_post (std::ostream &out, bool no_amount=false)
 
void generate_state (std::ostream &out)
 
void generate_string (std::ostream &out, int len, bool only_alpha=false)
 
void generate_xact (std::ostream &out)
 

Protected Attributes

node_base m_node
 

Detailed Description

Definition at line 50 of file generate.h.

Constructor & Destructor Documentation

◆ generate_posts_iterator()

ledger::generate_posts_iterator::generate_posts_iterator ( session_t & _session,
unsigned int _seed = 0,
std::size_t _quantity = 100 )

◆ ~generate_posts_iterator()

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

Definition at line 103 of file generate.h.

References TRACE_DTOR.

Member Function Documentation

◆ generate_account()

bool ledger::generate_posts_iterator::generate_account ( std::ostream & out,
bool no_virtual = false )
protected

◆ generate_amount()

string ledger::generate_posts_iterator::generate_amount ( std::ostream & out,
value_t not_this_amount = (value_t()),
bool no_negative = false,
const string & exclude = "" )
protected

◆ generate_code()

void ledger::generate_posts_iterator::generate_code ( std::ostream & out)
protected

◆ generate_commodity()

void ledger::generate_posts_iterator::generate_commodity ( std::ostream & out,
const string & exclude = "" )
protected

◆ generate_cost()

void ledger::generate_posts_iterator::generate_cost ( std::ostream & out,
value_t amount )
protected

◆ generate_date()

void ledger::generate_posts_iterator::generate_date ( std::ostream & out)
protected

◆ generate_note()

void ledger::generate_posts_iterator::generate_note ( std::ostream & out)
protected

◆ generate_payee()

void ledger::generate_posts_iterator::generate_payee ( std::ostream & out)
protected

◆ generate_post()

bool ledger::generate_posts_iterator::generate_post ( std::ostream & out,
bool no_amount = false )
protected

◆ generate_state()

void ledger::generate_posts_iterator::generate_state ( std::ostream & out)
protected

◆ generate_string()

void ledger::generate_posts_iterator::generate_string ( std::ostream & out,
int len,
bool only_alpha = false )
protected

◆ generate_xact()

void ledger::generate_posts_iterator::generate_xact ( std::ostream & out)
protected

◆ increment()

virtual void ledger::generate_posts_iterator::increment ( )
virtual

Member Data Documentation

◆ m_node

node_base ledger::iterator_facade_base< generate_posts_iterator , post_t * , boost::forward_traversal_tag >::m_node
protectedinherited

Definition at line 85 of file iterators.h.


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