OpenStructure
Public Types | Public Member Functions | Protected Member Functions
ToolOption Class Reference

#include <tool_option.hh>

Inherits QObject.

Inherited by ToolOptionButton, ToolOptionEnum, and ToolOptionNum< T, C >.

Public Types

enum  Type { INT , FLOAT , ENUM , BUTTON }
 

Public Member Functions

const StringGetKey () const
 
const StringGetVerboseName () const
 
Type GetType () const
 

Protected Member Functions

 ToolOption (const String &key, const String &verbose_name, Type type)
 

Detailed Description

Definition at line 37 of file tool_option.hh.

Member Enumeration Documentation

◆ Type

enum Type
Enumerator
INT 
FLOAT 
ENUM 
BUTTON 

Definition at line 40 of file tool_option.hh.

Constructor & Destructor Documentation

◆ ToolOption()

ToolOption ( const String key,
const String verbose_name,
Type  type 
)
protected

Member Function Documentation

◆ GetKey()

const String& GetKey ( ) const

◆ GetType()

Type GetType ( ) const

◆ GetVerboseName()

const String& GetVerboseName ( ) const

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