GnuCashew ~ GnuCash Enabled Web
GCW
CustomersModel.h
Go to the documentation of this file.
1 #line 2 "src/Eng/CustomersModel.h"
2 
3 #ifndef __ENG_CUSTOMERSMODEL_H___
4 #define __ENG_CUSTOMERSMODEL_H___
5 
6 #include <Wt/WStandardItemModel.h>
7 #include <Wt/Dbo/QueryModel.h>
8 
9 #include "../Dbo/Customers/Customers.h"
10 
11 namespace GCW {
12  namespace Eng {
13 
15 //: public Wt::WStandardItemModel
16 : public Wt::Dbo::QueryModel< GCW::Dbo::Customers::Item::Ptr >
17 {
18  public:
19 
21  CustomersModel( const std::vector< Wt::WFormModel::Field > & _fields );
22 
23  auto guid( int _row )-> std::string;
24 
25  auto refreshFromDisk()-> void ;
26 
27  private:
28 
29  std::vector< Wt::WFormModel::Field > m_fields;
30 
31 }; // endclass CustomersModel
32 
33  } // namespace Eng {
34 } // endnamespace GCW {
35 
36 
37 #endif // #ifndef __ENG_CUSTOMERSMODEL_H___
38 
39 
40 
auto refreshFromDisk() -> void
Refresh From Disk.
std::vector< Wt::WFormModel::Field > m_fields
auto guid(int _row) -> std::string
Definition: App.h:17