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

#include <tool_option.hh>

Inherits ToolOption.

Data Structures

struct  Tuple

Public Types

typedef std::vector< Tuple >
::const_iterator 
ConstIterator
- Public Types inherited from ToolOption
enum  Type { INT, FLOAT, ENUM, BUTTON }

Public Member Functions

 ToolOptionEnum (const String &key, const String &verbose_name)
void Add (const String &text, int tag)
void SetIndex (int index)
int GetIndex () const
int GetValue () const
ConstIterator Begin () const
ConstIterator End () const
size_t Size ()
- Public Member Functions inherited from ToolOption
const StringGetKey () const
const StringGetVerboseName () const
Type GetType () const

Additional Inherited Members

- Protected Member Functions inherited from ToolOption
 ToolOption (const String &key, const String &verbose_name, Type type)

Detailed Description

Definition at line 100 of file tool_option.hh.


Member Typedef Documentation

typedef std::vector<Tuple>::const_iterator ConstIterator

Definition at line 106 of file tool_option.hh.


Constructor & Destructor Documentation

ToolOptionEnum ( const String key,
const String verbose_name 
)

Member Function Documentation

void Add ( const String text,
int  tag 
)
ConstIterator Begin ( ) const
inline

Definition at line 117 of file tool_option.hh.

ConstIterator End ( ) const
inline

Definition at line 118 of file tool_option.hh.

int GetIndex ( ) const
inline

Definition at line 114 of file tool_option.hh.

int GetValue ( ) const
inline

Definition at line 115 of file tool_option.hh.

void SetIndex ( int  index)
inline

Definition at line 112 of file tool_option.hh.

size_t Size ( )
inline

Definition at line 119 of file tool_option.hh.


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