OpenStudioCore:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
openstudio::EpwDataField Class Reference

#include <EpwFile.hpp>

+ Inheritance diagram for openstudio::EpwDataField:

Public Types

enum  domain { BOOST_PP_SEQ_FOR_EACH =(OPENSTUDIO_ENUM_DOMAIN_ELEM, EpwDataField , ((Year)(Year)(0)) ((Month)(Month)) ((Day)(Day)) ((Hour)(Hour)) ((Minute)(Minute)) ((DataSourceandUncertaintyFlags)(Data Source and Uncertainty Flags)) ((DryBulbTemperature)(Dry Bulb Temperature)) ((DewPointTemperature)(Dew Point Temperature)) ((RelativeHumidity)(Relative Humidity)) ((AtmosphericStationPressure)(Atmospheric Station Pressure)) ((ExtraterrestrialHorizontalRadiation)(Extraterrestrial Horizontal Radiation)) ((ExtraterrestrialDirectNormalRadiation)(Extraterrestrial Direct Normal Radiation)) ((HorizontalInfraredRadiationIntensity)(Horizontal Infrared Radiation Intensity)) ((GlobalHorizontalRadiation)(Global Horizontal Radiation)) ((DirectNormalRadiation)(Direct Normal Radiation)) ((DiffuseHorizontalRadiation)(Diffuse Horizontal Radiation)) ((GlobalHorizontalIlluminance)(Global Horizontal Illuminance)) ((DirectNormalIlluminance)(Direct Normal Illuminance)) ((DiffuseHorizontalIlluminance)(Diffuse Horizontal Illuminance)) ((ZenithLuminance)(Zenith Luminance)) ((WindDirection)(Wind Direction)) ((WindSpeed)(Wind Speed)) ((TotalSkyCover)(Total Sky Cover)) ((OpaqueSkyCover)(Opaque Sky Cover)) ((Visibility)) ((CeilingHeight)(Ceiling Height)) ((PresentWeatherObservation)(Present Weather Observation)) ((PresentWeatherCodes)(Present Weather Codes)) ((PrecipitableWater)(Precipitable Water)) ((AerosolOpticalDepth)(Aerosol Optical Depth)) ((SnowDepth)(Snow Depth)) ((DaysSinceLastSnowfall)(Days Since Last Snowfall)) ((Albedo)) ((LiquidPrecipitationDepth)(Liquid Precipitation Depth)) ((LiquidPrecipitationQuantity)(Liquid Precipitation Quantity)) ) }
 

Public Member Functions

 EpwDataField ()
 
 EpwDataField (const std::string &t_name)
 
 EpwDataField (int t_value)
 
domain value () const
 
- Public Member Functions inherited from EnumBase< EpwDataField >
 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 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 EpwDataField &other) const
 
bool operator< (const EpwDataField &other) const
 
bool operator<= (const EpwDataField &other) const
 
bool operator== (const EpwDataField &other) const
 
bool operator> (const EpwDataField &other) const
 
bool operator>= (const EpwDataField &other) const
 
void setValue (int t_value)
 Set this instance's value to t_value. More...
 
int value () const
 Returns this instance's current value (as an integer). 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...
 
- Public Member Functions inherited from StaticInitializer< EpwDataField >
 StaticInitializer ()
 

Static Public Member Functions

static std::string enumName ()
 
- Static Public Member Functions inherited from EnumBase< EpwDataField >
static const std::map< int,
std::string > & 
getDescriptions ()
 
static const std::map
< std::string, int > & 
getLookupMap ()
 
static const std::map< int,
std::string > & 
getNames ()
 
static const std::set< int > & getValues ()
 Returns the set of all values in this enum's domain. More...
 
static void initialize ()
 
static std::string valueDescription (int t_value)
 Returns the description associated with t_value, if it exists. More...
 
static std::string valueName (int t_value)
 Returns the name associated with t_value, if it exists. More...
 
- Static Public Member Functions inherited from StaticInitializer< EpwDataField >
static void do_initialize ()
 

Additional Inherited Members

- Protected Attributes inherited from EnumBase< EpwDataField >
int m_value
 

Member Enumeration Documentation

Enumerator
BOOST_PP_SEQ_FOR_EACH 

Constructor & Destructor Documentation

openstudio::EpwDataField::EpwDataField ( )
inline
openstudio::EpwDataField::EpwDataField ( const std::string &  t_name)
inline
openstudio::EpwDataField::EpwDataField ( int  t_value)
inline

Member Function Documentation

static std::string openstudio::EpwDataField::enumName ( )
inlinestatic
domain openstudio::EpwDataField::value ( ) const
inline