2 #ifndef __WTX_SYS_LOOKUP_TEMPLATE_H___ 3 #define __WTX_SYS_LOOKUP_TEMPLATE_H___ 5 #include <Wtx/Dbo/LookupItemTpl.h> 6 #include "Definition.h" 18 m_system.setValue(
false );
29 Template(
const std::string & key,
const std::string & cfy )
46 static void MapClass( Wt::Dbo::Session & session )
49 Wt::registerType<Template<C>>();
50 Wt::registerType< Wt::Dbo::ptr<Template<C>> > ();
59 template<
class Action>
void persist( Action &a )
63 m_sort .persist( a, &TableDef().SortFieldDef );
64 m_system .persist( a, &TableDef().SystemFieldDef );
80 #endif // __WTX_SYS_LOOKUP_TEMPLATE_H___