OpenStudioCore:airflow
 All Classes Namespaces Functions Enumerations Enumerator
List of all members
openstudio::contam::XyDataPoint Class Reference

#include <PrjSubobjects.hpp>

Public Member Functions

Constructors
 XyDataPoint ()
 Create a new object with default values. More...
 
 XyDataPoint (double x, double y)
 Create a new object. More...
 
 XyDataPoint (std::string x, std::string y)
 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
double x () const
 Returns the value of independent variable. More...
 
bool setX (const double x)
 Sets the value of independent variable. More...
 
bool setX (const std::string &x)
 Sets the value of independent variable. More...
 
double y () const
 Returns the value of dependent variable. More...
 
bool setY (const double y)
 Sets the value of dependent variable. More...
 
bool setY (const std::string &y)
 Sets the value of dependent variable. More...
 

Detailed Description

The XyDataPoint object is used by a number of the airflow element objects to store data specific to the element.

Constructor & Destructor Documentation

openstudio::contam::XyDataPoint::XyDataPoint ( )

Create a new object with default values.

openstudio::contam::XyDataPoint::XyDataPoint ( double  x,
double  y 
)

Create a new object.

openstudio::contam::XyDataPoint::XyDataPoint ( std::string  x,
std::string  y 
)

Create a new object.

Member Function Documentation

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

Read an object from a Reader.

bool openstudio::contam::XyDataPoint::setX ( const double  x)

Sets the value of independent variable.

bool openstudio::contam::XyDataPoint::setX ( const std::string &  x)

Sets the value of independent variable.

bool openstudio::contam::XyDataPoint::setY ( const double  y)

Sets the value of dependent variable.

bool openstudio::contam::XyDataPoint::setY ( const std::string &  y)

Sets the value of dependent variable.

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

Write the object to a string.

double openstudio::contam::XyDataPoint::x ( ) const

Returns the value of independent variable.

double openstudio::contam::XyDataPoint::y ( ) const

Returns the value of dependent variable.