100 void xmlPrint(std::ostream &)
const;
double getFirstEventDate()
get the first event date present in the list of loads
void addLoad(Load *ld)
add a load to the list
double getLastEventDate()
get the last event date present in the list of loads
This class makes it possible to manage a list of "Load".
Definition: Loads.h:70
friend std::ostream & operator<<(std::ostream &, const Loads)
print to an output stream in XML format.
unsigned int numberOfLoads() const
get the number of "Load" stored in the list
void xmlPrint(std::ostream &) const
Print to an ostream.
Loads()
default constructor
Definition: Loads.h:74
std::vector< Load * > loads
vector of loads : these "Load" are created while the file is parsed
Definition: Loads.h:120
void deleteLoad(const unsigned int i)
delete a load and remove it from the list using its index
Load * getLoad(const unsigned int i) const
get a load by its index in the list
void ansysPrint(std::ostream &) const
Print the load list in ansys format (BEWARE: not everything is implemented)
Class that describes a load to be used in the simulation.
Definition: Load.h:53
static const char * VERSION
current version of the library
Definition: Loads.h:116