102 void xmlRead(std::string filename);
125 std::vector <Load*> loads;
Class that describes a load to be used in the simulation.
Definition: Load.h:53
This class makes it possible to manage a list of "Load".
Definition: Loads.h:71
void xmlPrint(std::ostream &) const
Print to an ostream.
Definition: Loads.cpp:187
void ansysPrint(std::ostream &) const
Print the load list in ansys format (BEWARE: not everything is implemented)
Definition: Loads.cpp:206
friend std::ostream & operator<<(std::ostream &, const Loads)
print to an output stream in XML format.
Definition: Loads.cpp:225
Load * getLoad(const unsigned int i) const
get a load by its index in the list
Definition: Loads.cpp:249
void deleteLoad(const unsigned int i)
delete a load and remove it from the list using its index
Definition: Loads.cpp:264
void addLoad(Load *ld)
add a load to the list
Definition: Loads.cpp:244
double getLastEventDate()
get the last event date present in the list of loads
Definition: Loads.cpp:297
Loads()=default
default constructor
double getFirstEventDate()
get the first event date present in the list of loads
Definition: Loads.cpp:272
unsigned int numberOfLoads() const
get the number of "Load" stored in the list
Definition: Loads.cpp:259
void xmlRead(std::string filename)
read the input xml file using xsd and instantiate the loads
Definition: Loads.cpp:70
~Loads()
destructor
Definition: Loads.cpp:55
static const char * VERSION
current version of the library
Definition: Loads.h:121