OpenStudio:airflow
 All Classes Namespaces Functions Typedefs Enumerations Enumerator
List of all members
openstudio::contam::SchedulePoint Class Reference

#include <PrjSubobjects.hpp>

Public Member Functions

Constructors
 SchedulePoint ()
 Create a new object with default values. More...
 
 SchedulePoint (std::string time, double ctrl)
 Create a new object. More...
 
 SchedulePoint (std::string time, std::string ctrl)
 Create a new object. More...
 
Input and Output
void read (Reader &reader)
 Read an object from a Reader. More...
 
std::string write ()
 Write the object to a string. More...
 
Getters and Setters
std::string time () const
 Returns the time-of-day (hh:mm:ss). More...
 
void setTime (const std::string &time)
 Sets the time-of-day (hh:mm:ss). More...
 
double ctrl () const
 Returns the control value. More...
 
bool setCtrl (const double ctrl)
 Sets the control value. More...
 
bool setCtrl (const std::string &ctrl)
 Sets the control value. More...
 

Detailed Description

SchedulePoint stores the time (in hh:mm:ss format) and control value for a day schedule data point.

Constructor & Destructor Documentation

openstudio::contam::SchedulePoint::SchedulePoint ( )

Create a new object with default values.

openstudio::contam::SchedulePoint::SchedulePoint ( std::string  time,
double  ctrl 
)

Create a new object.

openstudio::contam::SchedulePoint::SchedulePoint ( std::string  time,
std::string  ctrl 
)

Create a new object.

Member Function Documentation

double openstudio::contam::SchedulePoint::ctrl ( ) const

Returns the control value.

void openstudio::contam::SchedulePoint::read ( Reader reader)

Read an object from a Reader.

bool openstudio::contam::SchedulePoint::setCtrl ( const double  ctrl)

Sets the control value.

bool openstudio::contam::SchedulePoint::setCtrl ( const std::string &  ctrl)

Sets the control value.

void openstudio::contam::SchedulePoint::setTime ( const std::string &  time)

Sets the time-of-day (hh:mm:ss).

std::string openstudio::contam::SchedulePoint::time ( ) const

Returns the time-of-day (hh:mm:ss).

std::string openstudio::contam::SchedulePoint::write ( )

Write the object to a string.