|
GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
|
#include <Item.h>
Inheritance diagram for GCW::Dbo::Books::Item:Public Member Functions | |
| Item () | |
| ctor | |
| Item (const std::string &_guid) | |
| ctor with guid | |
| auto | guid () const -> const std::string & |
| GUID. | |
| template<class Action > | |
| auto | persist (Action &action) -> void |
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_guid |
| std::string | m_root_account_guid |
| std::string | m_root_template_guid |
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 > |
Books Class.
Definition at line 69 of file Dbo/Books/Item.h.
|
inline |
ctor
Definition at line 77 of file Dbo/Books/Item.h.
|
inline |
ctor with guid
Definition at line 82 of file Dbo/Books/Item.h.
|
inline |
GUID.
Return account 'guid' value - the primary key for the account
Definition at line 89 of file Dbo/Books/Item.h.
References m_guid.
|
inline |
Definition at line 92 of file Dbo/Books/Item.h.
References Wt::Dbo::field(), GCW::Dbo::Books::Field::guid, Wt::Dbo::id(), m_guid, m_root_account_guid, m_root_template_guid, GCW::Dbo::Books::Field::root_account_guid, and GCW::Dbo::Books::Field::root_template_guid.
|
private |
Definition at line 102 of file Dbo/Books/Item.h.
|
private |
Definition at line 103 of file Dbo/Books/Item.h.
Referenced by persist().
|
private |
Definition at line 104 of file Dbo/Books/Item.h.
Referenced by persist().