33 #include "csv-export-helpers.hpp" 36 [[maybe_unused]]
static QofLogModule log_module = GNC_MOD_ASSISTANT;
43 # define EOLSTR "\r\n" 49 gnc_csv_add_line (std::ostream& ss,
const StringVec& str_vec,
50 bool use_quotes,
const char* sep)
53 auto sep_view{std::string_view (sep ? sep :
"")};
54 for (
const auto& str : str_vec)
56 auto need_quote = use_quotes
57 || (!sep_view.empty() && str.find (sep_view) != std::string::npos)
58 || str.find_first_of (
"\"\n\r") != std::string::npos;
68 for (
const char& p : str)
87 account_get_fullname_str (
Account *account)
90 auto rv{std::string(name)};
utility functions for the GnuCash UI
gchar * gnc_account_get_full_name(const Account *account)
The gnc_account_get_full_name routine returns the fully qualified name of the account using the given...