46 #ifndef __WTX_SYS_LOOKUP_H_234e0174_6b7d_11e8_b503_fb1ef3651ec0__ 47 #define __WTX_SYS_LOOKUP_H_234e0174_6b7d_11e8_b503_fb1ef3651ec0__ 86 Wtx::Sys::Lookup::Item::Ptr load(
const std::string &
id,
Wtx::Dbo::Session & session );
87 Wtx::Sys::Lookup::Item::Ptr load(
const Wt::WString &
id,
Wtx::Dbo::Session & session );
89 Wtx::Sys::Lookup::Item::Ptr
add(
const std::string & key,
const std::string & group,
Wtx::Dbo::Session & session );
91 Wtx::Sys::Lookup::Item::Ptr find(
const std::string & key,
Wtx::Dbo::Session & session );
92 Wtx::Sys::Lookup::Item::Ptr ifind(
const std::string & key,
Wtx::Dbo::Session & session );
93 Wtx::Sys::Lookup::Item::Ptr xfind(
const std::string & xid,
Wtx::Dbo::Session & session );
95 Wtx::Sys::Lookup::Item::Vector vectorGroup(
const std::string & group,
Wtx::Dbo::Session & session );
105 #endif // end#ifndef __WTX_SYS_LOOKUP_H_234e0174_6b7d_11e8_b503_fb1ef3651ec0__
std::shared_ptr< Wt::WAbstractItemModel > getComboBoxModel(int tid, const std::string &group, Wtx::Dbo::Session &session, bool includeBlank=false)
Get a Combo-Box Model.
Wtx::Sys::Lookup::Item::Ptr add(const std::string &key, const std::string &group, Wtx::Dbo::Session &session)
Add an item to the lookup table.