#include <PrjObjects.hpp>
Public Member Functions | |
Constructors and Destructors | |
CvfDat () | |
Create a new object with default values. More... | |
CvfDat (int nr, int seqnr, unsigned int flags, int inreq, int n1, int n2, std::string name, std::string desc) | |
Create a new object. More... | |
CvfDat (int nr, int seqnr, unsigned int flags, int inreq, int n1, int n2, std::string name, std::string desc, std::string valuename) | |
Create a new object. More... | |
Getters and Setters | |
std::string | dataType () const override |
Returns the node data type. More... | |
Public Member Functions inherited from openstudio::contam::CdvDat | |
CdvDat () | |
Create a new object with default values. More... | |
CdvDat (int nr, int seqnr, unsigned int flags, int inreq, int n1, int n2, std::string name, std::string desc) | |
Create a new object. More... | |
CdvDat (int nr, int seqnr, unsigned int flags, int inreq, int n1, int n2, std::string name, std::string desc, std::string valuename) | |
Create a new object. More... | |
CdvDat (const CdvDat &other) | |
Create a new object from another object. More... | |
~CdvDat ()=default | |
Destroy the object. More... | |
CdvDat & | operator= (const CdvDat &other) |
Copy operator. More... | |
bool | operator== (const CdvDat &other) const |
Equality operator. More... | |
bool | operator!= (const CdvDat &other) const |
Inequality operator. More... | |
void | read (Reader &input) |
Read an object from a Reader. More... | |
void | readDetails (Reader &input) |
Read object details from a Reader. More... | |
std::string | write () override |
Write the object to a string. More... | |
int | nr () const override |
Returns the node number, in order from 1 to the number of control nodes. More... | |
void | setNr (const int nr) override |
Sets the element number. More... | |
int | seqnr () const override |
Returns the computation sequence number, which is set in ContamW. More... | |
void | setSeqnr (const int seqnr) override |
Sets the computation sequence number. More... | |
unsigned int | flags () const override |
Returns the flags for offset & scale, time constant, and 1D sensor. More... | |
void | setFlags (const unsigned int flags) override |
Sets the flags for offset & scale, time constant, and 1D sensor. More... | |
int | inreq () const override |
Returns the number of required inputs. More... | |
void | setInreq (const int inreq) override |
Sets the number of required inputs. More... | |
int | n1 () const override |
Returns the SketchPad number of input node #1. More... | |
void | setN1 (const int n1) override |
Sets the SketchPad number of input node #1. More... | |
int | n2 () const override |
Returns the SketchPad number of input node #2. More... | |
void | setN2 (const int n2) override |
Sets the SketchPad number of input node #2. More... | |
std::string | name () const override |
Returns the element name. More... | |
void | setName (const std::string &name) override |
Sets the element name. More... | |
std::string | desc () const override |
Returns the element description. More... | |
void | setDesc (const std::string &desc) override |
Sets the element description. More... | |
std::string | valuename () const |
Returns the name of the value read from the file. More... | |
void | setValuename (const std::string &valuename) |
Sets the name of the value read from the file. More... | |
Public Member Functions inherited from openstudio::contam::ControlNode | |
virtual | ~ControlNode ()=default |
Destroy the object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from openstudio::contam::ControlNode | |
static ControlNodeType | convertTag (const std::string &tag) |
Convert an input string into a control node type enum. More... | |
static ControlNode * | readElement (Reader &input) |
Read a control node element from a Reader object. More... | |
The CvfDat object represents a continuous value datas file control node.
openstudio::contam::CvfDat::CvfDat | ( | ) |
Create a new object with default values.
openstudio::contam::CvfDat::CvfDat | ( | int | nr, |
int | seqnr, | ||
unsigned int | flags, | ||
int | inreq, | ||
int | n1, | ||
int | n2, | ||
std::string | name, | ||
std::string | desc | ||
) |
Create a new object.
openstudio::contam::CvfDat::CvfDat | ( | int | nr, |
int | seqnr, | ||
unsigned int | flags, | ||
int | inreq, | ||
int | n1, | ||
int | n2, | ||
std::string | name, | ||
std::string | desc, | ||
std::string | valuename | ||
) |
Create a new object.
|
inlineoverridevirtual |
Returns the node data type.
Implements openstudio::contam::CdvDat.