Loading...
Searching...
No Matches
ledger::global_scope_t::debug_option_t Struct Reference

#include <global.h>

+ Inheritance diagram for ledger::global_scope_t::debug_option_t:
+ Collaboration diagram for ledger::global_scope_t::debug_option_t:

Public Member Functions

 debug_option_t ()
 
string desc () const
 
value_t handler (call_scope_t &args)
 
virtual void handler_thunk (const optional< string > &)
 
virtual void handler_thunk (const optional< string > &, const string &)
 
void off ()
 
void on (const char *whence)
 
void on (const char *whence, const string &str)
 
void on (const optional< string > &whence)
 
void on (const optional< string > &whence, const string &str)
 
 operator bool () const
 
virtual value_t operator() (call_scope_t &args)
 
void report (std::ostream &out) const
 
string str () const
 

Public Attributes

global_scope_tparent
 
string value
 
bool wants_arg
 

Protected Attributes

const char ch
 
bool handled
 
const charname
 
string::size_type name_len
 
optional< stringsource
 

Detailed Description

Definition at line 155 of file global.h.

Constructor & Destructor Documentation

◆ debug_option_t()

ledger::global_scope_t::debug_option_t::debug_option_t ( )
inline

Definition at line 155 of file global.h.

Member Function Documentation

◆ desc()

string ledger::option_t< global_scope_t >::desc ( ) const
inlineinherited

Definition at line 110 of file option.h.

◆ handler()

value_t ledger::option_t< global_scope_t >::handler ( call_scope_t & args)
inlineinherited

Definition at line 171 of file option.h.

◆ handler_thunk() [1/2]

virtual void ledger::option_t< global_scope_t >::handler_thunk ( const optional< string > & )
inlinevirtualinherited

◆ handler_thunk() [2/2]

virtual void ledger::option_t< global_scope_t >::handler_thunk ( const optional< string > & ,
const string &  )
inlinevirtualinherited

Definition at line 169 of file option.h.

◆ off()

void ledger::option_t< global_scope_t >::off ( )
inlineinherited

Definition at line 162 of file option.h.

◆ on() [1/4]

void ledger::option_t< global_scope_t >::on ( const char * whence)
inlineinherited

Definition at line 137 of file option.h.

◆ on() [2/4]

void ledger::option_t< global_scope_t >::on ( const char * whence,
const string & str )
inlineinherited

Definition at line 147 of file option.h.

◆ on() [3/4]

void ledger::option_t< global_scope_t >::on ( const optional< string > & whence)
inlineinherited

Definition at line 140 of file option.h.

◆ on() [4/4]

void ledger::option_t< global_scope_t >::on ( const optional< string > & whence,
const string & str )
inlineinherited

Definition at line 150 of file option.h.

◆ operator bool()

ledger::option_t< global_scope_t >::operator bool ( ) const
inlineinherited

Definition at line 126 of file option.h.

◆ operator()()

virtual value_t ledger::option_t< global_scope_t >::operator() ( call_scope_t & args)
inlinevirtualinherited

Definition at line 193 of file option.h.

◆ report()

void ledger::option_t< global_scope_t >::report ( std::ostream & out) const
inlineinherited

Definition at line 94 of file option.h.

◆ str()

string ledger::option_t< global_scope_t >::str ( ) const
inlineinherited

Definition at line 130 of file option.h.

Member Data Documentation

◆ ch

const char ledger::option_t< global_scope_t >::ch
protectedinherited

Definition at line 60 of file option.h.

◆ handled

bool ledger::option_t< global_scope_t >::handled
protectedinherited

Definition at line 61 of file option.h.

◆ name

const char* ledger::option_t< global_scope_t >::name
protectedinherited

Definition at line 58 of file option.h.

◆ name_len

string::size_type ledger::option_t< global_scope_t >::name_len
protectedinherited

Definition at line 59 of file option.h.

◆ parent

Definition at line 67 of file option.h.

◆ source

optional<string> ledger::option_t< global_scope_t >::source
protectedinherited

Definition at line 62 of file option.h.

◆ value

string ledger::option_t< global_scope_t >::value
inherited

Definition at line 68 of file option.h.

◆ wants_arg

bool ledger::option_t< global_scope_t >::wants_arg
inherited

Definition at line 69 of file option.h.


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