GnuCashew ~ GnuCash Enabled Web
GCW
Public Member Functions | Private Attributes | List of all members
GCW::Dbo::Versions::Item Class Reference

Versions Class. More...

#include <Item.h>

+ Inheritance diagram for GCW::Dbo::Versions::Item:

Public Member Functions

 Item ()
 ctor More...
 
 Item (const std::string &_table_name)
 ctor with guid More...
 
template<class Action >
auto persist (Action &action) -> void
 
- Public Member Functions inherited from GCW::Dbo::BaseItem< Item >
 BaseItem ()
 

Private Attributes

std::string m_table_name
 
int m_table_version
 

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 >
 

Detailed Description

Versions Class.

dot_inline_dotgraph_10.png
Native GnuCash Invoice Sqlite Schema
CREATE TABLE versions
(
table_name text(50) PRIMARY KEY NOT NULL,
table_version integer NOT NULL
);
const Wt::WFormModel::Field table_name
Definition: Versions.cpp:10
const Wt::WFormModel::Field table_version
Definition: Versions.cpp:11

Definition at line 68 of file Item.h.

Constructor & Destructor Documentation

◆ Item() [1/2]

GCW::Dbo::Versions::Item::Item ( )
inline

ctor

Definition at line 76 of file Item.h.

◆ Item() [2/2]

GCW::Dbo::Versions::Item::Item ( const std::string &  _table_name)
inline

ctor with guid

Definition at line 81 of file Item.h.

Member Function Documentation

◆ persist()

template<class Action >
auto GCW::Dbo::Versions::Item::persist ( Action &  action) -> void
inline

Member Data Documentation

◆ m_table_name

std::string GCW::Dbo::Versions::Item::m_table_name
private

Definition at line 93 of file Item.h.

Referenced by persist().

◆ m_table_version

int GCW::Dbo::Versions::Item::m_table_version
private

Definition at line 94 of file Item.h.

Referenced by persist().


The documentation for this class was generated from the following file: