OpenStudioCore:contam
 AllClasses Namespaces Functions Enumerations Enumerator

#include "PrjSubobjects.hpp"

Public Member Functions

 SchedulePoint ()
 SchedulePoint (std::string time, double ctrl)
 SchedulePoint (std::string time, std::string ctrl)
void read (Reader &reader)
std::string write ()
std::string time () const
void setTime (const std::string &time)
double ctrl () const
bool setCtrl (const double ctrl)
bool setCtrl (const std::string &ctrl)

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.