|
GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
|
#include <Vars.h>
Inheritance diagram for GCW::Dbo::Vars::Item: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) |
Public Member Functions inherited from GCW::Dbo::BaseItem< Item > | |
| BaseItem () | |
Public Member Functions inherited from Wt::Dbo::Dbo< class C > | |
| Dbo () | |
| Dbo (const Dbo< C > &other) | |
| dbo_traits< C >::IdType | id () const |
| Session * | session () const |
| void | setDirty () |
| bool | isDirty () const |
| ptr< C > | self () const |
Private Attributes | |
| std::string | m_keyField |
| std::string | m_cfyField |
| std::string | m_varField |
Additional Inherited Members | |
Public Types inherited from GCW::Dbo::BaseItem< Item > | |
| 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 119 of file Vars.cpp.
References Wt::Json::Object::get(), Wt::Json::Value::orIfNull(), and Wt::Json::parse().
| auto GCW::Dbo::Vars::Item::getVarString | ( | const std::string & | _field | ) | const |
Definition at line 94 of file Vars.cpp.
References Wt::Json::Object::get(), Wt::Json::Value::orIfNull(), and Wt::Json::parse().
|
inline |
Definition at line 39 of file Vars.h.
References m_keyField.
|
inline |
Definition at line 54 of file Vars.h.
References GCW::Dbo::Var::Field::cfyField, Wt::Dbo::field(), 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 160 of file Vars.cpp.
References Wt::Json::parse(), and Wt::Json::serialize().
| 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 188 of file Vars.cpp.
References Wt::Json::parse(), and Wt::Json::serialize().
|
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().