#include "ScheduleConstant.hpp"
Public Member Functions | |
ScheduleConstant (const Model &model) | |
virtual | ~ScheduleConstant () |
double | value () const |
boost::optional< Quantity > | getValue (bool returnIP=false) const |
void | setValue (double value) |
bool | setValue (const Quantity &value) |
Static Public Member Functions | |
static IddObjectType | iddObjectType () |
Protected Types | |
typedef detail::ScheduleConstant_Impl | ImplType |
Protected Member Functions | |
ScheduleConstant (std::shared_ptr< detail::ScheduleConstant_Impl > impl) |
Related Functions | |
typedef boost::optional < ScheduleConstant > | OptionalScheduleConstant |
typedef std::vector < ScheduleConstant > | ScheduleConstantVector |
ScheduleConstant is a Schedule that wraps the OpenStudio IDD object 'OS:Schedule:Constant'.
|
protected |
|
explicit |
Creates new ScheduleConstant in model and sets its value to 0.0.
|
inlinevirtual |
|
explicitprotected |
boost::optional<Quantity> openstudio::model::ScheduleConstant::getValue | ( | bool | returnIP = false | ) | const |
Returns the value of this ScheduleConstant as a Quantity if scheduleTypeLimits() is set.
|
static |
void openstudio::model::ScheduleConstant::setValue | ( | double | value | ) |
bool openstudio::model::ScheduleConstant::setValue | ( | const Quantity & | value | ) |
Sets this ScheduleConstant's value if scheduleTypeLimits() is set and value can be properly converted to the 'SI' units so implied.
double openstudio::model::ScheduleConstant::value | ( | ) | const |
|
related |
|
related |