GnuCashew ~ GnuCash Enabled Web
GCW
|
#include <Vars.h>
Public Member Functions | |
const std::string & | keyField () const |
const std::string & | cfyField () const |
const std::string & | varField () const |
void | setKeyField (const std::string &_value) |
void | setCfyField (const std::string &_value) |
void | setVarField (const std::string &_value) |
std::string | getVarString (const std::string &_field) const |
int | getVarInt (const std::string &_field) const |
void | setVar (const std::string &_field, const char *_value) |
void | setVar (const std::string &_field, const Wt::WString &_value) |
void | setVar (const std::string &_field, const std::string &_value) |
void | setVar (const std::string &_field, int _value) |
template<class Action > | |
void | persist (Action &action) |
![]() | |
BaseItem () | |
Private Attributes | |
std::string | m_keyField |
std::string | m_cfyField |
std::string | m_varField |
Additional Inherited Members | |
![]() | |
using | Ptr = Wt::Dbo::ptr< Item > |
using | Collection = Wt::Dbo::collection< Ptr > |
using | Vector = std::vector< Ptr > |
|
inline |
Definition at line 40 of file Vars.h.
References m_cfyField.
auto GCW::Dbo::Vars::Item::getVarInt | ( | const std::string & | _field | ) | const |
Definition at line 99 of file Vars.cpp.
References GCW::Dbo::Invoices::Field::id, and GCW::Dbo::Var::Field::varField.
auto GCW::Dbo::Vars::Item::getVarString | ( | const std::string & | _field | ) | const |
Definition at line 74 of file Vars.cpp.
References GCW::Dbo::Invoices::Field::id, and GCW::Dbo::Var::Field::varField.
|
inline |
Definition at line 39 of file Vars.h.
References m_keyField.
|
inline |
Definition at line 54 of file Vars.h.
References GCW::Dbo::Entries::Field::action, GCW::Dbo::Var::Field::cfyField, GCW::Dbo::Var::Field::keyField, m_cfyField, m_keyField, m_varField, and GCW::Dbo::Var::Field::varField.
|
inline |
Definition at line 44 of file Vars.h.
References m_cfyField.
|
inline |
Definition at line 43 of file Vars.h.
References m_keyField.
auto GCW::Dbo::Vars::Item::setVar | ( | const std::string & | _field, |
const char * | _value | ||
) |
auto GCW::Dbo::Vars::Item::setVar | ( | const std::string & | _field, |
const std::string & | _value | ||
) |
Definition at line 140 of file Vars.cpp.
References GCW::Dbo::Invoices::Field::id, and GCW::Dbo::Var::Field::varField.
auto GCW::Dbo::Vars::Item::setVar | ( | const std::string & | _field, |
const Wt::WString & | _value | ||
) |
auto GCW::Dbo::Vars::Item::setVar | ( | const std::string & | _field, |
int | _value | ||
) |
Definition at line 168 of file Vars.cpp.
References GCW::Dbo::Invoices::Field::id, and GCW::Dbo::Var::Field::varField.
|
inline |
Definition at line 45 of file Vars.h.
References m_varField.
|
inline |
Definition at line 41 of file Vars.h.
References m_varField.
|
private |
Definition at line 64 of file Vars.h.
Referenced by cfyField(), persist(), and setCfyField().
|
private |
Definition at line 63 of file Vars.h.
Referenced by keyField(), persist(), and setKeyField().
|
private |
Definition at line 65 of file Vars.h.
Referenced by persist(), setVarField(), and varField().