|
| MonthOfYear () |
|
| MonthOfYear (const std::string &t_name) |
|
| MonthOfYear (int t_value) |
|
domain | value () const |
|
| EnumBase ()=delete |
| Default constructor. More...
|
|
| EnumBase (int t_value) |
| Construct from t_value. More...
|
|
| EnumBase (const std::string &t_value) |
| Construct from t_value. More...
|
|
int | integer_value () const |
| Returns this instance's current value (as an integer). More...
|
|
int | lookupValue (std::string t_name) |
| Returns the (integer) value associated with t_name, as determined by case-insensitive comparison to the enumerated names and descriptions. More...
|
|
int | lookupValue (int t_value) |
| Returns t_value if it is in the domain. More...
|
|
bool | operator!= (const EnumBase< MonthOfYear > &other) const |
|
bool | operator< (const EnumBase< MonthOfYear > &other) const |
|
bool | operator<= (const EnumBase< MonthOfYear > &other) const |
|
bool | operator== (const EnumBase< MonthOfYear > &other) const |
|
bool | operator> (const EnumBase< MonthOfYear > &other) const |
|
bool | operator>= (const EnumBase< MonthOfYear > &other) const |
|
void | setValue (int t_value) |
| Set this instance's value to t_value. More...
|
|
std::string | valueDescription () const |
| Returns the description associated with this instance's current value. More...
|
|
std::string | valueName () const |
| Returns the name associated with this instance's current value. More...
|
|
| StaticInitializer () |
|
MonthOfYear is an enumeration of months: January, February, March, April, May, June, July, August, September, October, November, December.
See the OPENSTUDIO_ENUM documentation in utilities/core/Enum.hpp. The actual macro call is:
((Jan)(January)(boost::date_time::Jan))
((Feb)(February)(boost::date_time::Feb))
((Mar)(March)(boost::date_time::Mar))
((Apr)(April)(boost::date_time::Apr))
((May)(May)(boost::date_time::May))
((Jun)(June)(boost::date_time::Jun))
((Jul)(July)(boost::date_time::Jul))
((Aug)(August)(boost::date_time::Aug))
((Sep)(September)(boost::date_time::Sep))
((Oct)(October)(boost::date_time::Oct))
((Nov)(November)(boost::date_time::Nov))
((Dec)(December)(boost::date_time::Dec))
((NotAMonth)(Not a month)(boost::date_time::NotAMonth))
((NumMonths)(Number of months)(boost::date_time::NumMonths))
);