40 #if !defined(GLS_MENUDATAGROUP_H)
41 #define GLS_MENUDATAGROUP_H
44 #pragma warning (disable:4786)
89 virtual std::istream&
ReadValue(std::istream& instr);
98 virtual std::ostream&
WriteValue(std::ostream& outstr);
152 virtual std::istream&
ReadValue(std::istream& instr);
199 bool uniqueKeys =
true) :
222 T*
Item(
const std::string& name)
const
224 return dynamic_cast<T*
>(
_attr.Get(disti::AttributeName(name)));
245 return static_cast<GlsMenuData*
>(
new T(name, _dataDict));
281 bool uniqueKeys =
true) :
305 T*
Item(
const std::string& name)
const
307 return dynamic_cast<T*
>(
_attr.Get(disti::AttributeName(name)));
333 return static_cast<GlsMenuData*
>(
new T(name, _dataDict, _handlers));
virtual ~GlsMenuHandlerGroup_T()
GlsMenuHandlerGroup_T(const std::string &name, GlsMenuDictionary &dataDict, GlsMenuAction::HandlerCont_t &actionHandlers, bool uniqueKeys=true)
virtual GlsMenuData * CreateDataItem(const std::string &name) const
GlsMenuAction::HandlerCont_t & _handlers
GlsMenuDictionary & _dataDict
Data dictionary to pass to items created in the group. This is the dictionary used to evaluate menu d...
T * Item(const std::string &name) const