DUDS
Distributed Update of Data from Something
MenuErrors.hpp File Reference
#include <boost/exception/exception.hpp>
#include <boost/exception/info.hpp>
#include <exception>
#include <memory>
Include dependency graph for MenuErrors.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  duds::ui::menu::MenuBoundsError
 An attempt was made to inset a MenuItem beyond the bounds of the menu. More...
 
struct  duds::ui::menu::MenuError
 The base exception type for all errors about menus. More...
 
struct  duds::ui::menu::MenuItemDisabled
 An operation was attempted on a disabled MenuItem that requires a non-disabled item. More...
 
struct  duds::ui::menu::MenuItemDoesNotExist
 The specified MenuItem does not exist in the Menu. More...
 
struct  duds::ui::menu::MenuItemLacksValue
 A request was made to change the value of a MenuItem that does not have a value. More...
 
struct  duds::ui::menu::MenuItemNotAToggle
 A request was made to change the toggle state of a MenuItem that is not a toggle item. More...
 
struct  duds::ui::menu::MenuItemNotVisible
 An operation was attempted on an invisible MenuItem that requires a visible item. More...
 
struct  duds::ui::menu::MenuNoItemError
 A required MenuItem object is missing. More...
 
struct  duds::ui::menu::MenuOutputNotAttached
 Attempted use of a MenuOutput object that hasn't been attached to a MenuView. More...
 
struct  duds::ui::menu::MenuTooSmall
 There is inadequate room to render the menu. More...
 
struct  duds::ui::menu::MenuViewAlreadyAttached
 MenuView::attach() was called more than once on a MenuView object. More...
 

Namespaces

 duds
 
 duds::ui
 Holds user interface related code.
 
 duds::ui::menu
 Holds the generalized menu infrastructure code.
 

Typedefs

typedef boost::error_info< struct Info_MenuItemIndex, std::size_t > duds::ui::menu::MenuItemIndex
 The index (position) of the MenuItem involved in an error. More...
 
typedef boost::error_info< struct Info_MenuItem, std::shared_ptr< const MenuItem > > duds::ui::menu::MenuItemObject
 The MenuItem object that is involved in an error. More...
 
typedef boost::error_info< struct Info_Menu, std::shared_ptr< const Menu > > duds::ui::menu::MenuObject
 The Menu object that is involved in an error. More...