Wtx ~ Wt Extension Library
WtxLib
Public Member Functions | Public Attributes | List of all members
Wtx::Dbo::QueryModel< C > Class Template Reference
+ Inheritance diagram for Wtx::Dbo::QueryModel< C >:

Public Member Functions

virtual int rowCount (const Wt::WModelIndex &parent=Wt::WModelIndex()) const
 
Wt::Dbo::Session * session () const
 
void setSession (Wt::Dbo::Session *value)
 
void setCountTable (const std::string &table)
 
void setCountWhere (const std::string &where)
 
void setViewDef (Wtx::TableViewDef *viewDef)
 
virtual Wt::WFlags< Wt::ItemFlag > flags (const Wt::WModelIndex &index) const
 
virtual Wt::cpp17::any data (const Wt::WModelIndex &index, Wt::ItemDataRole role) const
 
void refreshModelData ()
 

Public Attributes

Wtx::TableViewDefm_viewDef = nullptr
 
Wt::Dbo::Session * m_session = nullptr
 
std::string m_countTable
 
std::string m_countWhere
 
int m_cachedRowCount = -1
 

Detailed Description

template<class C>
class Wtx::Dbo::QueryModel< C >

Definition at line 13 of file QueryModel.h.


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