Add ability to append multiple Options to an OptionProperty

via addOptions(vector<int>, vector<string>)
This commit is contained in:
Matthew Territo
2016-07-22 12:39:09 -06:00
parent e5206cccb4
commit 8f40020fcb
2 changed files with 24 additions and 0 deletions
@@ -74,6 +74,13 @@ public:
*/
void addOption(int value, std::string desc);
/**
* Appends options with vectors of values and descriptions
* \param values A std::vector<int> of values for the options
* \param descs A std::vector<string> of descriptions for each value
*/
void addOptions(std::vector<int> values, std::vector<std::string> descs);
/**
* Returns the list of available options.
* /return The list of available options