Mass++ Common Libraries v2.7.5
 All Classes Namespaces Files Functions Variables Enumerations Macros
RangeListSelector.h
Go to the documentation of this file.
1 
12 #ifndef __KOME_CORE_RANGE_LIST_SELECTOR_H__
13 #define __KOME_CORE_RANGE_LIST_SELECTOR_H__
14 
15 
16 #include "Selector.h"
17 #include "RangeList.h"
18 
19 
20 namespace kome {
21  namespace core {
22 
27  class CORE_TOOLKITS_CLASS RangeListSelector : public Selector {
28  public:
33  typedef enum {
34  RANGE_INDEX,
35  RANGE_INT_VALUE,
36  RANGE_DOUBLE_VALUE
37  } RangeType;
38 
39  public:
50  const RangeList::DefaultType dflt = RangeList::DEFAULT_NONE,
51  const RangeType type = RANGE_INDEX
52  );
53 
58  virtual ~RangeListSelector();
59 
60  protected:
63 
66 
67  public:
73  RangeList& getRangeList();
74 
75  protected:
90  virtual bool onSelect(
91  const unsigned int num,
92  const char** items,
93  const char** values,
94  bool* selected
95  );
96  };
97  }
98 }
99 
100 
101 #endif // __KOME_CORE_RANGE_LIST_SELECTOR_H__
range list mangement class
Definition: RangeList.h:27
interfaces of Selector class
DefaultType
default type
Definition: RangeList.h:33
interfarces of RangeList class
selector class
Definition: Selector.h:28