Allows one to read loads from an XML file (LML)/.
More...
#include <XMLLoads.h>
|
bool | parseElement (xmlNodePtr elem) |
| Read a load xml element, from lml file Uses xmlNodePtr from libxml2. More...
|
|
void | readLoadAppliedTo (xmlNodePtr elem, Load *currentLoad) |
| Read a load AppliedTo property, from lml file Uses xmlNodePtr from libxml2 AppliedTo contains the list of atoms on which the load is applied. More...
|
|
void | readLoadDirection (xmlNodePtr elem, Load *currentLoad) |
| Read a load Direction property, from lml file Uses xmlNodePtr from libxml2 Direction contains a 3D vector. More...
|
|
void | readLoadUnit (xmlNodePtr elem, Load *currentLoad) |
| Read a load Unit property, from lml file Uses xmlNodePtr from libxml2 Unit contains the unit value of the load. More...
|
|
void | readLoadValueEvent (xmlNodePtr elem, Load *currentLoad) |
| Read a load valueEvent property, from lml file Uses xmlNodePtr from libxml2 valueEvent contains a pair of date/value. More...
|
|
Allows one to read loads from an XML file (LML)/.
- Deprecated:
- Please use now Loads(std::string) constructor...
create a list of loads from an LML file.
- Parameters
-
fileName | the name of the lml file (xml) |
allLoads | the pointer to the Loads instance (to store all loads), if null a new one is instanciated |
create an empty list of loads
(deprecated) create a list of loads from an LML file (instanciate a new Loads class object)
destructor (delete all loads)
void XMLLoads::addLoad |
( |
Load * |
| ) |
|
add a new load to the list (creates one if no loads yet)
Loads* XMLLoads::getLoads |
( |
| ) |
|
bool XMLLoads::parseElement |
( |
xmlNodePtr |
elem | ) |
|
|
protected |
Read a load xml element, from lml file Uses xmlNodePtr from libxml2.
void XMLLoads::readLoadAppliedTo |
( |
xmlNodePtr |
elem, |
|
|
Load * |
currentLoad |
|
) |
| |
|
protected |
Read a load AppliedTo property, from lml file Uses xmlNodePtr from libxml2 AppliedTo contains the list of atoms on which the load is applied.
void XMLLoads::readLoadDirection |
( |
xmlNodePtr |
elem, |
|
|
Load * |
currentLoad |
|
) |
| |
|
protected |
Read a load Direction property, from lml file Uses xmlNodePtr from libxml2 Direction contains a 3D vector.
void XMLLoads::readLoadUnit |
( |
xmlNodePtr |
elem, |
|
|
Load * |
currentLoad |
|
) |
| |
|
protected |
Read a load Unit property, from lml file Uses xmlNodePtr from libxml2 Unit contains the unit value of the load.
void XMLLoads::readLoadValueEvent |
( |
xmlNodePtr |
elem, |
|
|
Load * |
currentLoad |
|
) |
| |
|
protected |
Read a load valueEvent property, from lml file Uses xmlNodePtr from libxml2 valueEvent contains a pair of date/value.
Read the loads from an LML file.
Uses libxml2.
const char* XMLLoads::xmlFile |
|
private |
The documentation for this class was generated from the following file: