58 return p1 <
p2 && !boost::filesystem::equivalent(
p1,
p2);
82 return _(
"current session");
109 HANDLER(check_payees).report(out);
110 HANDLER(day_break).report(out);
123 HANDLER(recursive_aliases).report(out);
124 HANDLER(no_aliases).report(out);
156 std::list<path> data_files;
159 if (
parent->flush_on_next_data_file) {
161 parent->flush_on_next_data_file =
false;
163 data_files.push_back(str);
171 if (str ==
"sha512" || str ==
"SHA512") {
173 }
else if (str ==
"sha512_half" || str ==
"SHA512_Half") {
176 throw_(std::invalid_argument,
_f(
"Unrecognized hash type"));
Basic type and macros for handling command-line options.
#define OPTION(type, name)
#define OPTION_(type, name, body)
#define OPTION__(type, name, body)
Types for handling commodities.
void set_session_context(session_t *session)
Set the current session context, transferring all static globals to point at the data structures rela...
void set_input_date_format(const char *format)
boost::filesystem::path path
static bool time_colon_by_default
static bool decimal_comma_by_default
intrusive_ptr< op_t > ptr_op_t
bool operator()(const path &p1, const path &p2) const
value_t fn_lot_date(call_scope_t &scope)
value_t fn_account(call_scope_t &scope)
value_t fn_min(call_scope_t &scope)
value_t fn_int(call_scope_t &scope)
virtual string description()
void set_flush_on_next_data_file(const bool truth)
journal_t * read_journal(const path &pathname)
friend void set_session_context(session_t *session)
Set the current session context, transferring all static globals to point at the data structures rela...
option_t< session_t > * lookup_option(const char *p)
optional< expr_t > value_expr
void close_journal_files()
value_t fn_max(call_scope_t &scope)
bool flush_on_next_data_file
value_t fn_str(call_scope_t &scope)
virtual expr_t::ptr_op_t lookup(const symbol_t::kind_t kind, const string &name)
journal_t * get_journal()
value_t fn_lot_price(call_scope_t &scope)
journal_t * read_journal_files()
void report_options(std::ostream &out)
journal_t * read_journal_from_string(const string &data)
parse_context_stack_t parsing_context
std::size_t read_data(const string &master_account="")
unique_ptr< journal_t > journal
value_t fn_lot_tag(call_scope_t &scope)
Dynamic type representing various numeric types.