31 #include <libxml/parser.h>
32 #include <libxml/tree.h>
void xmlRead(std::string)
Read the loads from an LML file.
Allows one to read loads from an XML file (LML)/.
Definition: XMLLoads.h:68
void readLoadUnit(xmlNodePtr elem, Load *currentLoad)
Read a load Unit property, from lml file Uses xmlNodePtr from libxml2 Unit contains the unit value of...
XMLLoads()
create an empty list of loads
void readLoadDirection(xmlNodePtr elem, Load *currentLoad)
Read a load Direction property, from lml file Uses xmlNodePtr from libxml2 Direction contains a 3D ve...
void addLoad(Load *)
add a new load to the list (creates one if no loads yet)
This class makes it possible to manage a list of "Load".
Definition: Loads.h:70
Loads * l
Definition: XMLLoads.h:130
const char * xmlFile
Definition: XMLLoads.h:132
void readLoadAppliedTo(xmlNodePtr elem, Load *currentLoad)
Read a load AppliedTo property, from lml file Uses xmlNodePtr from libxml2 AppliedTo contains the lis...
Loads * getLoads()
get the list of loads
bool parseElement(xmlNodePtr elem)
Read a load xml element, from lml file Uses xmlNodePtr from libxml2.
Class that describes a load to be used in the simulation.
Definition: Load.h:53
string(REGEX REPLACE"^.*-(.*)-.*""\\1"ARCH"${CAMITK_CONTINUOUS_INTEGRATION}") string(REGEX REPLACE"^.*-.*-(.*)""\\1"BUILDTYPE"$
Definition: continuous.cmake:34
~XMLLoads()
destructor (delete all loads)
void readLoadValueEvent(xmlNodePtr elem, Load *currentLoad)
Read a load valueEvent property, from lml file Uses xmlNodePtr from libxml2 valueEvent contains a pai...