private:
//! Creates a BooleanOptionStorage object.
- virtual AbstractOptionStoragePointer createStorage(
+ virtual AbstractOptionStorage *createStorage(
const OptionManagerContainer &managers) const;
};
private:
//! Creates an IntegerOptionStorage object.
- virtual AbstractOptionStoragePointer createStorage(
+ virtual AbstractOptionStorage *createStorage(
const OptionManagerContainer &managers) const;
/*! \brief
private:
//! Creates an Int64OptionStorage object.
- virtual AbstractOptionStoragePointer createStorage(
+ virtual AbstractOptionStorage *createStorage(
const OptionManagerContainer &managers) const;
/*! \brief
private:
//! Creates a DoubleOptionStorage object.
- virtual AbstractOptionStoragePointer createStorage(
+ virtual AbstractOptionStorage *createStorage(
const OptionManagerContainer &managers) const;
bool bTime_;
private:
//! Creates a FloatOptionStorage object.
- virtual AbstractOptionStoragePointer createStorage(
+ virtual AbstractOptionStorage *createStorage(
const OptionManagerContainer &managers) const;
bool bTime_;
* The index (zero-based) of the selected value in the array \p values
* provided to enumValues() is written into \p *store after the
* option gets its value. If the option has not been provided,
- * and there is no default value, -1 is stored.
+ * and there is no default value, -1 is stored. If store(),
+ * storeVector() or defaultEnumIndex() is not present, the value in
+ * \p *store is kept as a default value, otherwise it is always
+ * overwritten.
*
* Cannot be specified without enumValue().
*
private:
//! Creates a StringOptionStorage object.
- virtual AbstractOptionStoragePointer createStorage(
+ virtual AbstractOptionStorage *createStorage(
const OptionManagerContainer &managers) const;
const char *const *enumValues_;