1 #ifndef UTIL_FLAG_SET_H 2 #define UTIL_FLAG_SET_H 81 const std::string&
allowed()
const;
86 const std::string&
actual()
const;
91 typedef std::map<char, bool> MapType;
112 MapType::const_iterator iter = map_.find(c);
113 if (iter == map_.end()) {
const std::string & actual() const
Return the string of character for which flags are set.
File containing preprocessor macros for error handling.
bool isActive(char c) const
Is the flag associated with character c active?
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
FlagSet()
Default constructor.
Utility classes for scientific computation.
void setActualOrdered(std::string actual)
Set the string of actual flag characters.
void setAllowed(std::string allowed)
Set or reset the string of allowed flags.
A set of boolean variables represented by characters.
const std::string & allowed() const
Return the string of allowed characters.