#include <format.h>
Public Types | |
enum | elision_style_t { TRUNCATE_TRAILING , TRUNCATE_MIDDLE , TRUNCATE_LEADING , ABBREVIATE } |
typedef function< result_type(call_scope_t &) | func_t) |
typedef string | result_type |
Static Public Member Functions | |
static string | truncate (const unistring &str, const std::size_t width, const std::size_t account_abbrev_length=0) |
Static Public Attributes | |
static enum ledger::format_t::elision_style_t | default_style |
static bool | default_style_changed |
Protected Attributes | |
bool | compiled |
scope_t * | context |
string | str |
|
inherited |
Definition at line 75 of file exprbase.h.
|
inherited |
Definition at line 73 of file exprbase.h.
|
inline |
Definition at line 124 of file format.h.
References TRACE_CTOR.
Definition at line 127 of file format.h.
References ledger::downcast(), parse_format(), and TRACE_CTOR.
|
inlinevirtual |
Definition at line 133 of file format.h.
References TRACE_DTOR.
|
inlineinherited |
Definition at line 180 of file exprbase.h.
|
inlineinherited |
Definition at line 155 of file exprbase.h.
|
inlinevirtualinherited |
Definition at line 143 of file exprbase.h.
|
inlinevirtualinherited |
Definition at line 192 of file exprbase.h.
Reimplemented from ledger::expr_base_t< string >.
Definition at line 154 of file format.h.
References ledger::downcast().
|
inlineinherited |
Definition at line 201 of file exprbase.h.
|
inlineinherited |
Definition at line 185 of file exprbase.h.
Reimplemented from ledger::expr_base_t< string >.
Definition at line 143 of file format.h.
References ledger::downcast(), and ledger::expr_base_t< ResultType >::mark_uncompiled().
|
inlinevirtualinherited |
Definition at line 111 of file exprbase.h.
|
inlineinherited |
Definition at line 151 of file exprbase.h.
|
inlineinherited |
Definition at line 123 of file exprbase.h.
|
inlinevirtualinherited |
Definition at line 128 of file exprbase.h.
|
inline |
Definition at line 137 of file format.h.
References ledger::downcast(), and ledger::expr_base_t< string >::set_text().
Referenced by format_t().
|
inlineinherited |
Definition at line 215 of file exprbase.h.
|
inlineinherited |
Definition at line 206 of file exprbase.h.
|
inlinevirtualinherited |
Definition at line 212 of file exprbase.h.
|
inlineinherited |
Definition at line 196 of file exprbase.h.
|
virtual |
Implements ledger::expr_base_t< string >.
|
inlineinherited |
Definition at line 138 of file exprbase.h.
|
inlineinherited |
Definition at line 188 of file exprbase.h.
|
inlineinherited |
Definition at line 118 of file exprbase.h.
|
inlinevirtualinherited |
Definition at line 115 of file exprbase.h.
|
static |
|
protectedinherited |
Definition at line 80 of file exprbase.h.
|
protectedinherited |
Definition at line 78 of file exprbase.h.
|
static |
|
protectedinherited |
Definition at line 79 of file exprbase.h.