OpenStudio:model
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages

#include "BuildingUnit.hpp"

Inheritance diagram for openstudio::model::BuildingUnit:

Public Member Functions

 BuildingUnit (const Model &model)
virtual ~BuildingUnit ()=default
 BuildingUnit (const BuildingUnit &other)=default
 BuildingUnit (BuildingUnit &&other)=default
BuildingUnitoperator= (const BuildingUnit &)=default
BuildingUnitoperator= (BuildingUnit &&)=default
boost::optional< RenderingColorrenderingColor () const
std::string buildingUnitType () const
std::vector< Spacespaces () const
std::vector< std::string > featureNames () const
boost::optional< std::string > getFeatureDataType (const std::string &name) const
boost::optional< std::string > getFeatureAsString (const std::string &name) const
boost::optional< double > getFeatureAsDouble (const std::string &name) const
boost::optional< intgetFeatureAsInteger (const std::string &name) const
boost::optional< bool > getFeatureAsBoolean (const std::string &name) const
std::vector< std::string > suggestedFeatures () const
double floorArea () const
bool setRenderingColor (const RenderingColor &renderingColor)
void resetRenderingColor ()
bool setBuildingUnitType (const std::string &buildingUnitType)
void resetBuildingUnitType ()
bool setFeature (const std::string &name, const std::string &value)
bool setFeature (const std::string &name, const char *value)
bool setFeature (const std::string &name, double value)
bool setFeature (const std::string &name, int value)
bool setFeature (const std::string &name, bool value)
bool resetFeature (const std::string &name)

Static Public Member Functions

static IddObjectType iddObjectType ()
static std::vector< std::string > buildingUnitTypeValues ()

Constructor & Destructor Documentation

openstudio::model::BuildingUnit::BuildingUnit ( const Model model)
explicit
virtual openstudio::model::BuildingUnit::~BuildingUnit ( )
virtualdefault
openstudio::model::BuildingUnit::BuildingUnit ( const BuildingUnit other)
default
openstudio::model::BuildingUnit::BuildingUnit ( BuildingUnit &&  other)
default

Member Function Documentation

std::string openstudio::model::BuildingUnit::buildingUnitType ( ) const
static std::vector<std::string> openstudio::model::BuildingUnit::buildingUnitTypeValues ( )
static
std::vector<std::string> openstudio::model::BuildingUnit::featureNames ( ) const
Deprecated:
{ This method is deprecated, use additionalProperties instead }
double openstudio::model::BuildingUnit::floorArea ( ) const
boost::optional<bool> openstudio::model::BuildingUnit::getFeatureAsBoolean ( const std::string &  name) const
Deprecated:
{ This method is deprecated, use additionalProperties instead }
boost::optional<double> openstudio::model::BuildingUnit::getFeatureAsDouble ( const std::string &  name) const
Deprecated:
{ This method is deprecated, use additionalProperties instead }
boost::optional<int> openstudio::model::BuildingUnit::getFeatureAsInteger ( const std::string &  name) const
Deprecated:
{ This method is deprecated, use additionalProperties instead }
boost::optional<std::string> openstudio::model::BuildingUnit::getFeatureAsString ( const std::string &  name) const
Deprecated:
{ This method is deprecated, use additionalProperties instead }
boost::optional<std::string> openstudio::model::BuildingUnit::getFeatureDataType ( const std::string &  name) const
Deprecated:
{ This method is deprecated, use additionalProperties instead }
static IddObjectType openstudio::model::BuildingUnit::iddObjectType ( )
static
BuildingUnit& openstudio::model::BuildingUnit::operator= ( const BuildingUnit )
default
BuildingUnit& openstudio::model::BuildingUnit::operator= ( BuildingUnit &&  )
default
boost::optional<RenderingColor> openstudio::model::BuildingUnit::renderingColor ( ) const
void openstudio::model::BuildingUnit::resetBuildingUnitType ( )
bool openstudio::model::BuildingUnit::resetFeature ( const std::string &  name)
Deprecated:
{ This method is deprecated, use additionalProperties instead }
void openstudio::model::BuildingUnit::resetRenderingColor ( )
bool openstudio::model::BuildingUnit::setBuildingUnitType ( const std::string &  buildingUnitType)
bool openstudio::model::BuildingUnit::setFeature ( const std::string &  name,
const std::string &  value 
)
Deprecated:
{ This method is deprecated, use additionalProperties instead }
bool openstudio::model::BuildingUnit::setFeature ( const std::string &  name,
const char *  value 
)
Deprecated:
{ This method is deprecated, use additionalProperties instead }
bool openstudio::model::BuildingUnit::setFeature ( const std::string &  name,
double  value 
)
Deprecated:
{ This method is deprecated, use additionalProperties instead }
bool openstudio::model::BuildingUnit::setFeature ( const std::string &  name,
int  value 
)
Deprecated:
{ This method is deprecated, use additionalProperties instead }
bool openstudio::model::BuildingUnit::setFeature ( const std::string &  name,
bool  value 
)
Deprecated:
{ This method is deprecated, use additionalProperties instead }
bool openstudio::model::BuildingUnit::setRenderingColor ( const RenderingColor renderingColor)
std::vector<Space> openstudio::model::BuildingUnit::spaces ( ) const
std::vector<std::string> openstudio::model::BuildingUnit::suggestedFeatures ( ) const
Deprecated:
{ This method is deprecated, use additionalProperties instead }