ToolOptionEnum Class Reference

#include <tool_option.hh>

Inherits ost::gui::ToolOption.

Data Structures

struct  Tuple

Public Types

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

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 ()

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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1