Wtx ~ Wt Extension Library
WtxLib
Public Member Functions | Static Public Member Functions | List of all members
Wtx::Sys::Lookup::Item Class Reference
+ Inheritance diagram for Wtx::Sys::Lookup::Item:

Public Member Functions

 Item (const std::string &key="", const std::string &cfy="")
 
 Item (const Item &other)
 
template<class Action >
void persist (Action &a)
 
- Public Member Functions inherited from Wtx::Sys::Lookup::Template< C >
 Template (const std::string &key)
 
 Template (const std::string &key, const std::string &cfy)
 
 Template (const Template< C > &other)
 
Wtx::Dbo::Field< std::string > & sort ()
 
Wtx::Dbo::Field< bool > & system ()
 
const Wtx::Dbo::Field< std::string > & sort () const
 
const Wtx::Dbo::Field< bool > & system () const
 
template<class Action >
void persist (Action &a)
 
- Public Member Functions inherited from Wtx::Dbo::LookupItemTpl< C >
 LookupItemTpl (const std::string &key)
 
 LookupItemTpl (const std::string &key, const std::string cfy)
 
const Wtx::Dbo::Field< std::string > & description () const
 
Wtx::Dbo::Field< std::string > & description ()
 
Wtx::Dbo::Field< std::string > & v1 ()
 
const Wtx::Dbo::Field< std::string > & v1 () const
 
Wtx::Dbo::Field< std::string > & v2 ()
 
const Wtx::Dbo::Field< std::string > & v2 () const
 
Wtx::Dbo::Field< std::string > & v3 ()
 
const Wtx::Dbo::Field< std::string > & v3 () const
 
template<class Action >
void persist (Action &a)
 
- Public Member Functions inherited from Wtx::Dbo::BaseItemTpl< C >
 BaseItemTpl (const std::string &key, const std::string &cfy="")
 
bool operator== (const BaseItemTpl< C > &other) const
 
bool operator< (const BaseItemTpl< C > &other) const
 
bool isInitialized () const
 
int lastVersion () const
 
void setLastVersion (int value) const
 
virtual void preWrite ()
 Pre-write. More...
 
virtual void postRead ()
 Post-read. More...
 
const Wtx::Dbo::Field< int > & versionSync () const
 
const Wtx::Dbo::Field< bool > & isActive () const
 
const Wtx::Dbo::Field< bool > & isVisible () const
 
const Wtx::Dbo::Field< bool > & isDeleted () const
 
const Wtx::Dbo::Field< std::string > & xid () const
 
const Wtx::Dbo::Field< std::string > & keyField () const
 
const Wtx::Dbo::Field< std::string > & cfyField () const
 
const Wtx::Dbo::FieldVarvarField () const
 
std::string varField (const std::string &fieldName) const
 
Wtx::Dbo::Field< int > & versionSync ()
 
Wtx::Dbo::Field< bool > & isActive ()
 
Wtx::Dbo::Field< bool > & isVisible ()
 
Wtx::Dbo::Field< bool > & isDeleted ()
 
Wtx::Dbo::Field< std::string > & xid ()
 
Wtx::Dbo::Field< std::string > & keyField ()
 
Wtx::Dbo::Field< std::string > & cfyField ()
 
Wtx::Dbo::FieldVarvarField ()
 
Wtx::Dbo::Field< std::string > & tag ()
 
const Wtx::Dbo::Field< std::string > & tag () const
 
virtual std::unique_ptr< Wt::WWidget > createEditWidget (Wt::WFormModel::Field f) const
 Create an Edit Widget. More...
 
template<class Action >
void persist (Action &a)
 

Static Public Member Functions

static void MapClass (Wt::Dbo::Session &session)
 
static DefinitionTableDef ()
 
- Static Public Member Functions inherited from Wtx::Sys::Lookup::Template< C >
static DefinitionTableDef ()
 
static void MapClass (Wt::Dbo::Session &session)
 
- Static Public Member Functions inherited from Wtx::Dbo::LookupItemTpl< C >
static LookupTableDefTableDef ()
 
- Static Public Member Functions inherited from Wtx::Dbo::BaseItemTpl< C >
static void MapClass (Wt::Dbo::Session &session)
 
static void PostCreateTable (Wt::Dbo::Session &session)
 Post Table Create. More...
 
static BaseTableDefTableDef ()
 

Additional Inherited Members

- Public Types inherited from Wtx::Dbo::BaseItemTpl< C >
using Ptr = Wt::Dbo::ptr< C >
 
using Collection = Wt::Dbo::collection< Ptr >
 
using Vector = std::vector< Ptr >
 
- Protected Member Functions inherited from Wtx::Dbo::BaseItemTpl< C >
void init ()
 

Detailed Description

Definition at line 11 of file Item.h.


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