19 #ifndef GEOSX_DATAREPOSITORY_INPUTFLAGS_HPP_ 20 #define GEOSX_DATAREPOSITORY_INPUTFLAGS_HPP_ 28 namespace dataRepository
74 GEOSX_ERROR(
"Invalid integer conversion to InputFlag" );
87 return static_cast< int >(val);
118 rval =
"OPTIONAL_NONUNIQUE";
128 rval =
"REQUIRED_NONUNIQUE";
133 rval =
"PROBLEM_ROOT";
148 return static_cast< int >(left) == static_cast< int >(right);
156 return static_cast< int >(left) != static_cast< int >(right);
164 return static_cast< int >(left) < static_cast< int >(right);
172 return static_cast< int >(left) > static_cast< int >(right);
180 return static_cast< int >(left) <= static_cast< int >(right);
188 return static_cast< int >(left) >= static_cast< int >(right);
bool operator!=(InputFlags const left, InputFlags const right)
Comparison operator for InputFlags enumeration.
int InputFlagToInt(InputFlags const val)
Convert InputFlags to int.
InputFlags IntToInputFlag(int const val)
Convert integer value to InputFlags.
bool operator<(InputFlags const left, InputFlags const right)
Comparison operator for InputFlags enumeration.
bool operator<=(InputFlags const left, InputFlags const right)
Comparison operator for InputFlags enumeration.
bool operator>=(InputFlags const left, InputFlags const right)
Comparison operator for InputFlags enumeration.
std::string InputFlagToString(InputFlags const val)
Convert an InputFlags value to a string.
std::int32_t integer
Signed integer type.
#define GEOSX_ERROR(msg)
Raise a hard error and terminate the program.
Required in input, may be repeated.
bool operator==(InputFlags const left, InputFlags const right)
Comparison operator for InputFlags enumeration.
bool operator>(InputFlags const left, InputFlags const right)
Comparison operator for InputFlags enumeration.
Optional in input, may be repeated.
std::string string
String type.