choice: added getIntValue()
This commit is contained in:
committed by
Raphael Coeffic
parent
dd543c151b
commit
309e672622
+5
@@ -136,6 +136,11 @@ class Choice: public ChoiceBase {
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int getIntValue() const
|
||||||
|
{
|
||||||
|
return getValue();
|
||||||
|
}
|
||||||
|
|
||||||
unsigned getValuesCount() const
|
unsigned getValuesCount() const
|
||||||
{
|
{
|
||||||
return getIndexFromValue(vmax + 1);
|
return getIndexFromValue(vmax + 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user