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

#include <PrjSubobjects.hpp>

Public Member Functions

Constructors
 AirflowSubelementData ()
 Create a new object with default values. More...
 
 AirflowSubelementData (int nr, double relHt, int filt)
 Create a new object. More...
 
 AirflowSubelementData (int nr, std::string relHt, int filt)
 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
int nr () const
 Returns the sub-element number. More...
 
void setNr (const int nr)
 Sets the sub-element number. More...
 
double relHt () const
 Returns the relative height of the sub-element. More...
 
bool setRelHt (const double relHt)
 Sets the relative height of the sub-element. More...
 
bool setRelHt (const std::string &relHt)
 Sets the relative height of the sub-element. More...
 
int filt () const
 Returns the filtering flag: (1=filtered, 0=not). More...
 
void setFilt (const int filt)
 Sets the filtering flag (1=filtered, 0=not). More...
 

Detailed Description

The AirflowSubelementData object stores specific details for an airflow element that is part of a super element.

Constructor & Destructor Documentation

openstudio::contam::AirflowSubelementData::AirflowSubelementData ( )

Create a new object with default values.

openstudio::contam::AirflowSubelementData::AirflowSubelementData ( int  nr,
double  relHt,
int  filt 
)

Create a new object.

openstudio::contam::AirflowSubelementData::AirflowSubelementData ( int  nr,
std::string  relHt,
int  filt 
)

Create a new object.

Member Function Documentation

int openstudio::contam::AirflowSubelementData::filt ( ) const

Returns the filtering flag: (1=filtered, 0=not).

int openstudio::contam::AirflowSubelementData::nr ( ) const

Returns the sub-element number.

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

Read an object from a Reader.

double openstudio::contam::AirflowSubelementData::relHt ( ) const

Returns the relative height of the sub-element.

void openstudio::contam::AirflowSubelementData::setFilt ( const int  filt)

Sets the filtering flag (1=filtered, 0=not).

void openstudio::contam::AirflowSubelementData::setNr ( const int  nr)

Sets the sub-element number.

bool openstudio::contam::AirflowSubelementData::setRelHt ( const double  relHt)

Sets the relative height of the sub-element.

bool openstudio::contam::AirflowSubelementData::setRelHt ( const std::string &  relHt)

Sets the relative height of the sub-element.

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

Write the object to a string.