12 #ifndef __KOME_CORE_RANGE_LIST_H__
13 #define __KOME_CORE_RANGE_LIST_H__
43 RangeList(
const DefaultType type = DEFAULT_NONE );
66 std::vector< std::pair< NumberValue, NumberValue > >
m_ranges;
75 void addIntRange(
const int start,
const int end );
83 void addDoubleRange(
const double start,
const double end );
96 unsigned int getNumberOfRanges();
104 int getStartInt(
const unsigned int idx );
112 int getEndInt(
const unsigned int idx );
120 double getStartDouble(
const unsigned int idx );
128 double getEndDouble(
const unsigned int idx );
137 bool checkIntValue(
const int val );
145 bool checkDoubleValue(
const double val );
153 void importIntRanges(
const char* str );
160 void importDoubleRanges(
const char* str );
167 std::string exportIntRanges();
174 std::string exportDoubleRanges();
188 #endif // __KOME_CORE_RANGE_LIST_H__
range list mangement class
std::vector< std::pair< NumberValue, NumberValue > > m_ranges