30 #include "libxml/xmlIO.h"
double value
actual value
Definition: ValueEvent.h:81
double date
actual date
Definition: ValueEvent.h:83
void setValue(const double)
set the value event value
double getDate() const
double get start time
friend std::ostream & operator<<(std::ostream &, ValueEvent)
print to an output stream in XML format.
ValueEvent()
default constructor
Definition: ValueEvent.h:48
ValueEvent(const double v, const double d)
constructor with initial values
Definition: ValueEvent.h:45
~ValueEvent()
destructor
Definition: ValueEvent.h:51
double getValue()
return the scalar value of the event
void setDate(const double)
set the value event date
bool isActive(const double t) const
return true if the event is active at time t
A valueEvent of a load is composed of a value and a date.
Definition: ValueEvent.h:41
void xmlPrint(std::ostream &)
Print to an ostream.