- /*! \brief
- * Adds an option manager.
- *
- * \param manager Manager to add.
- * \throws std::bad_alloc if out of memory.
- *
- * Option managers are used by some types of options that require
- * interaction between different option instances (e.g., selection
- * options), or need to support globally set properties (e.g., a global
- * default file prefix). Option objects can retrieve the pointer to
- * their manager when they are created, and the caller can alter the
- * behavior of the options through the manager.
- * See the individual managers for details.
- *
- * Caller is responsible for memory management of \p manager.
- * The Options object (and its contained options) only stores a
- * reference to the object.
- *
- * This method cannot be called after adding options or subsections.
- */
- void addManager(IOptionManager *manager);