GnuCashew ~ GnuCash Enabled Web
GCW
Classes | Functions | Variables
GCW::Dbo::Transactions Namespace Reference

Classes

class  Manager
 Transaction Manager. More...
 
class  Item
 Transaction Item. More...
 

Functions

auto load (const std::string &_txGuid) -> Item::Ptr
 Load Transaction by Guid. More...
 
auto byGuid (const std::string &_txGuid) -> Item::Ptr
 
auto add (const std::string &_txGuid) -> Item::Ptr
 
auto byAccount (const std::string &_accountGuid) -> Item::Vector
 

Variables

const char * s_tableName = "transactions"
 

Function Documentation

◆ add()

auto GCW::Dbo::Transactions::add ( const std::string &  _txGuid) -> Item::Ptr

Definition at line 86 of file Transactions.cpp.

References GCW::app().

Referenced by GCW::Dbo::Transactions::Manager::newTransaction().

◆ byAccount()

auto GCW::Dbo::Transactions::byAccount ( const std::string &  _accountGuid) -> Item::Vector

Definition at line 97 of file Transactions.cpp.

References GCW::app().

◆ byGuid()

auto GCW::Dbo::Transactions::byGuid ( const std::string &  _txGuid) -> Item::Ptr

Definition at line 78 of file Transactions.cpp.

References GCW::Dbo::Accounts::load().

◆ load()

auto GCW::Dbo::Transactions::load ( const std::string &  _txGuid) -> Item::Ptr

Load Transaction by Guid.

Definition at line 52 of file Transactions.cpp.

References GCW::app().

Referenced by GCW::Dbo::Transactions::Manager::loadTransaction().

Variable Documentation

◆ s_tableName

const char * GCW::Dbo::Transactions::s_tableName = "transactions"
extern

Definition at line 6 of file Transactions.cpp.