GlsMenu  1.5.4
GlsMenuDataGroup Class Reference

#include <gls_menu_data_group.h>

Inheritance diagram for GlsMenuDataGroup:
GlsMenuData GlsMenu GlsMenuDynDataGroup GlsMenuItemState GlsMFDSubmenu_T< MenuItemId_t > GlsMenu_T< MenuItem_t, MenuItemId_t > GlsMenu_T< MenuItem_t, GlsMFD::MenuItemId_t > GlsMenuDataGroup_T< T > GlsMenuHandlerGroup_T< T > GlsMenuHandlerGroup_T< GlsMenuTimer > GlsMenuHandlerGroup_T< Menu_t > GlsMenuHandlerGroup_T< State_t > GlsMFDMenu_T< MenuItem_t, Submenu_t, PageId_t > GlsMenuItem_T< State_t >

Public Member Functions

virtual ~GlsMenuDataGroup ()
 
const GlsMenuDictionaryAttributes () const
 
virtual std::istream & ReadValue (std::istream &instr)
 
virtual std::ostream & WriteValue (std::ostream &outstr)
 
virtual void Inc (long amount=1)
 

Protected Member Functions

 GlsMenuDataGroup (const std::string &name)
 

Protected Attributes

GlsMenuDictionary _attr
 The dictionary of attributes for the group attribute. More...
 

Detailed Description

The GlsMenuDataGroup provides a base class for a meta-data dictionary attribute that is a group (dictionary) of other meta-data attributes. This class cannot be instantiated. To utilize it, one must derive from it.

Definition at line 61 of file gls_menu_data_group.h.

Constructor & Destructor Documentation

virtual GlsMenuDataGroup::~GlsMenuDataGroup ( )
virtual

Class destructor.

GlsMenuDataGroup::GlsMenuDataGroup ( const std::string &  name)
protected

Class constructor.

Member Function Documentation

const GlsMenuDictionary& GlsMenuDataGroup::Attributes ( ) const
inline

Read attribute dictionary from an input stream.

Parameters
instrinput stream to read value from.

Definition at line 78 of file gls_menu_data_group.h.

References _attr.

Referenced by GlsMFDMenu_T< MenuItem_t, Submenu_t, PageId_t >::ReadValue().

virtual void GlsMenuData::Inc ( long  amount = 1)
virtualinherited

Increment the data item. Derived classes must override this as the default is a no-op.

Reimplemented in GlsMenuDiscrete_T< T >.

Referenced by GlsMenuSet_T< MenuType_t, DataFactory_t >::IncData().

virtual std::istream& GlsMenuDataGroup::ReadValue ( std::istream &  instr)
virtual

Read attribute dictionary from an input stream.

Parameters
instrinput stream to read value from.

Reimplemented in GlsMFDMenu_T< MenuItem_t, Submenu_t, PageId_t >, and GlsMenuDynDataGroup.

Referenced by GlsMFDMenu_T< MenuItem_t, Submenu_t, PageId_t >::ReadValue().

virtual std::ostream& GlsMenuDataGroup::WriteValue ( std::ostream &  outstr)
virtual

Read attribute dictionary from an input stream.

Parameters
instrinput stream to read value from.

Field Documentation


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