StringSet convenience class. More...
#include <StringSet.hpp>
| Public Member Functions | |
| StringSet (const std::string &csValues, const std::string &csUniverse, const std::string ¬FoundMsg) | |
| Constructs a StringSet. | |
| std::pair< iterator, bool > | insert (const std::string &value) | 
| Inserts the string, checking against the allowed values first. | |
| bool | contains (const std::string &value) const | 
StringSet convenience class.
| cgatools::util::StringSet::StringSet | ( | const std::string & | csValues, | |
| const std::string & | csUniverse, | |||
| const std::string & | notFoundMsg | |||
| ) | 
Constructs a StringSet.
| csValues | A comma-separated list of values to insert. The speciall value "all" means to include all strings from csUniverse. | |
| csUniverse | A comma-separated list of values allowed in this StringSet. If this is empty, then any value is allowed. If an item is inserted that is not allowed, an exception is thrown. | |
| notFoundMsg | A message to include in the exception when an invalid item is inserted into this set. | 
| std::pair<iterator, bool> cgatools::util::StringSet::insert | ( | const std::string & | value | ) | 
Inserts the string, checking against the allowed values first.
 1.6.2
 1.6.2