|
GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
|
#include <sstream>#include <algorithm>#include <dirent.h>#include <cmath>#include <fstream>#include <iostream>#include <regex>#include <sys/stat.h>#include <unistd.h>#include <locale.h>#include <Wt/WModelIndex.h>#include <Wt/WDate.h>#include <Wt/WDateTime.h>#include <Wt/WLocalDateTime.h>#include "../3rd/guid.hpp"#include "gcwglobal.h"#include "Core.h"
Include dependency graph for Core.cpp:Go to the source code of this file.
Enumerations | |
| enum class | CSVState { UnquotedField , QuotedField , QuotedQuote } |
Functions | |
| static std::vector< std::string > & | split (const std::string &s, char delim, std::vector< std::string > &elems) |
| static bool | iterate (Wt::Json::Array &_jary, Wt::WModelIndex _parent) |
| auto | dateStorageString (const Wt::WDate *_date) -> std::string |
| static auto | ialphasort (const struct dirent **a, const struct dirent **b) -> int |
|
strong |
| auto dateStorageString | ( | const Wt::WDate * | _date | ) | -> std::string |
Definition at line 279 of file Core.cpp.
References GCW_DATE_FORMAT_STORAGE.
|
static |
Definition at line 449 of file Core.cpp.
Referenced by GCW::Core::fileList().
|
static |
Definition at line 105 of file Core.cpp.
References Wt::asString(), Wt::WModelIndex::data(), iterate(), and Wt::ItemDataRole::User.
Referenced by iterate(), GCW::Gui::AccountsTreeView::iterate(), GCW::Gui::AccountsTreeView::toJson(), and GCW::Core::toJson().
|
static |
Definition at line 26 of file Core.cpp.
Referenced by GCW::Dbo::Accounts::byFullName(), GCW::Eng::Transaction::Manager::forAccountSplit(), GCW::Eng::Transaction::Manager::fromSplit(), GCW::Gui::AccountRegister::Model::isDeletable(), GCW::Core::split(), GCW::Gui::BillPay::SummaryWidget::Splits::Splits(), GCW::Eng::Transaction::Manager::thatSplit(), GCW::Eng::Transaction::Manager::thisSplit(), and GCW::Eng::Transaction::Manager::toSplit().