40 #if !defined( GLS_MENUDATAGROUP_H )
41 # define GLS_MENUDATAGROUP_H
44 # pragma warning( disable : 4786 )
87 virtual std::istream&
ReadValue( std::istream& instr );
96 virtual std::ostream&
WriteValue( std::ostream& outstr );
147 virtual std::istream&
ReadValue( std::istream& instr );
191 bool uniqueKeys =
true )
214 T*
Item(
const std::string& name )
const
216 return dynamic_cast<T*
>(
_attr.Get( disti::AttributeName( name ) ) );
236 return static_cast<GlsMenuData*
>(
new T( name, _dataDict ) );
270 bool uniqueKeys =
true )
294 T*
Item(
const std::string& name )
const
296 return dynamic_cast<T*
>(
_attr.Get( disti::AttributeName( name ) ) );
321 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