OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
ToolOptions Class Reference

#include <tool_options.hh>

Public Member Functions

 ToolOptions ()
void AddOption (ToolOption *option)
void AddOption (const String &group, ToolOption *option)
ToolOptionGroupFindGroupByName (const String &group_name) const
ToolOptionGetOption (const String &group_name, const String &key) const
ToolOptionGetOption (const String &key) const
const ToolOptionGroupsGetGroups () const

Detailed Description

tool options

Most tools are configurable. To simplify and standardise the process of providing widgets to configure these tools, these options are defined using an instance of ToolOptions. A widget to modify these options is then automaticallly created when the tool is added to the ToolManager.

Definition at line 40 of file tool_options.hh.


Constructor & Destructor Documentation


Member Function Documentation

void AddOption ( ToolOption option)

Add option to default option group.

void AddOption ( const String group,
ToolOption option 
)

Add option to group.

ToolOptionGroup* FindGroupByName ( const String group_name) const
const ToolOptionGroups& GetGroups ( ) const
ToolOption* GetOption ( const String group_name,
const String key 
) const
ToolOption* GetOption ( const String key) const

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