OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
|
Functions | |
XMLgetShortFloatToString (float) | |
Convert a float value to a short string. | |
XMLgetShortFloatToStringLength (float, nb) | |
Convert a float value to a short string with a number of decimal. | |
XMLgetBoolParam (markstr, name) | |
Get the boolean value of a string. | |
XMLgetBoolString (b) | |
Get a string boolean value. | |
XMLgetData (markstr) | |
Get the data of a mark node. | |
XMLsetData (markstr, data) | |
Set the data of a mark node. | |
XMLgetParam (markstr, name) | |
Get an attribute value of a mark node. | |
XMLsetParam (markstr, name, val) | |
Set an attribute value of a mark node. | |
XMLaddMark (xmlfilestr, value, father, params, data) | |
Add a mark node to an xml structure. | |
XMLcopyMark (xmlfilestr, srcmarkstr, father) | |
Copy a mark node to an another parent node. | |
XMLdelMark (xmlfilestr, markstr) | |
Delete a mark node. | |
XMLdelMarksFromMarkByValue (xmlfilestr, markstr, value) | |
Delete all mark node from value. | |
XMLmoveMark (xmlfilestr, markstr, fatherstr) | |
Move a mark node to an another parent node. | |
XMLgetMarkByValueFromMark (markstr, value) | |
Search the first mark node with a value from a parent mark node, recursively. | |
XMLgetMarkByValueFromMarkSons (markstr, value) | |
Search the first mark node with a value from a parent mark node. | |
XMLgetMarkByValue (xmlfilestr, value) | |
Search the first mark node with a value from xml structure, recursively. | |
XMLgetMarksByValueFromMark (markstr, value) | |
Search all marks node with a value from a parent mark node, recursively. | |
XMLgetMarksByValueFromMarkSons (markstr, value) | |
Search all marks node with a value from a parent mark node. | |
XMLgetMarksByValuesFromMarkSons (markstr, values) | |
Search all marks node with a list of value from a parent mark node. | |
XMLgetMarksDataByValueFromMark (markstr, value) | |
Get all marks node data's with a value from a parent mark node, recursively. | |
XMLgetMarksDataByValueFromMarkSons (markstr, value) | |
Get all marks node data's with a value from a parent mark node. | |
XMLgetMarksParamByValueFromMarkSons (markstr, value, param) | |
Get all marks node attribute value with a node value and an attribute name from a parent mark node. | |
XMLgetMarksByValue (xmlfilestr, value) | |
Search all marks node with a value from xml structure, recursively. | |
XMLgetMarksParamValueByParamFromMark (markstr, param) | |
Get all marks node attribute value with an attribute name from a parent mark node, recursively. | |
XMLgetMarksParamValueByValueAndParamFromMarkSons (markstr, value, param) | |
Get all marks node attribute value with a node value and an attribute name from a parent mark node. | |
XMLgetMarksParamValueByValueAndParamFromMark (markstr, value, param) | |
Get all marks node attribute value with a node value and an attribute name from a parent mark node, recursively. | |
XMLgetMarksParamValueByParam (xmlfilestr, param) | |
Get all marks node attribute value with an attribute name in an xml structure, recursively. | |
XMLgetMarkByParamValueFromMark (markstr, param, value) | |
Get the first mark node with an attribute name and value from a parent mark node, recursively. | |
XMLgetMarkByParamValueFromMarkSons (markstr, param, value) | |
Get the first mark node with an attribute name and value from a parent mark node. | |
XMLgetMarkByParamValue (xmlfilestr, param, value) | |
Get the first mark node with an attribute name and value in an xml structure. | |
XMLgetMarkByValueAndParamValue (xmlfilestr, markval, param, value) | |
Get the first mark node with a value, and attribute name and value in an xml structure, recursively. | |
XMLgetMarksByValueAndParamValue (xmlfilestr, markval, param, value) | |
Get all marks node with a value, and attribute name and value in an xml structure, recursively. | |
XMLgetMarkByValueAndParamValueFromMark (markstr, markval, param, value) | |
Get the first mark node with a value, and attribute name and value in a parent mark node, recursively. | |
XMLgetMarksByValueAndParamValueFromMark (markstr, markval, param, value) | |
Get all marks node with a value, and attribute name and value in a parent mark node, recursively. | |
XMLgetMarksByValueAndParamPrefixValueFromMark (markstr, markval, param, value) | |
Get all marks node which start with a value, and attribute name and value in a parent mark node, recursively. | |
XMLgetMarkByValueAndParamValueFromMarkSons (markstr, markval, param, value) | |
Get the first mark node with a value, and attribute name and value in a parent mark node. | |
XMLwrite (xmlfilestr, path) | |
Write an Xml file from a xml structure. | |
XMLwriteZipped (xmlfilestr, path) | |
Write an Xml file from a xml structure with zipped content. | |
XMLload (path) | |
Load an Xml file. | |
XMLloadString (fcont) | |
Load an Xml content from a string. | |
XMLcopy (xmlfilestr) | |
Copy an Xml structure. | |
XMLcreate (path, type) | |
Create an empty Xml structure. | |
XMLclose (xmlfilestr) | |
Close an Xml structure. | |
OpenSpace3D high level xml parser
XMLgetShortFloatToString | ( | float | ) |
Convert a float value to a short string.
Prototype: fun [F] S
F | : float value |
XMLgetShortFloatToStringLength | ( | float | , |
nb | |||
) |
Convert a float value to a short string with a number of decimal.
Prototype: fun [F I] S
F | : float value |
F | : number of decimal |
XMLgetBoolParam | ( | markstr | , |
name | |||
) |
Get the boolean value of a string.
Prototype: fun [S] I
S | : the boolean value "enable" "1" "on" "true" "yes" |
XMLgetBoolString | ( | b | ) |
Get a string boolean value.
Prototype: fun [I] S
I | : the boolean value |
XMLgetData | ( | markstr | ) |
XMLsetData | ( | markstr | , |
data | |||
) |
XMLgetParam | ( | markstr | , |
name | |||
) |
XMLsetParam | ( | markstr | , |
name | , | ||
val | |||
) |
XMLaddMark | ( | xmlfilestr | , |
value | , | ||
father | , | ||
params | , | ||
data | |||
) |
XMLcopyMark | ( | xmlfilestr | , |
srcmarkstr | , | ||
father | |||
) |
XMLdelMark | ( | xmlfilestr | , |
markstr | |||
) |
XMLdelMarksFromMarkByValue | ( | xmlfilestr | , |
markstr | , | ||
value | |||
) |
XMLmoveMark | ( | xmlfilestr | , |
markstr | , | ||
fatherstr | |||
) |
XMLgetMarkByValueFromMark | ( | markstr | , |
value | |||
) |
XMLgetMarkByValueFromMarkSons | ( | markstr | , |
value | |||
) |
XMLgetMarkByValue | ( | xmlfilestr | , |
value | |||
) |
XMLgetMarksByValueFromMark | ( | markstr | , |
value | |||
) |
XMLgetMarksByValueFromMarkSons | ( | markstr | , |
value | |||
) |
XMLgetMarksByValuesFromMarkSons | ( | markstr | , |
values | |||
) |
XMLgetMarksDataByValueFromMark | ( | markstr | , |
value | |||
) |
XMLgetMarksDataByValueFromMarkSons | ( | markstr | , |
value | |||
) |
XMLgetMarksParamByValueFromMarkSons | ( | markstr | , |
value | , | ||
param | |||
) |
Get all marks node attribute value with a node value and an attribute name from a parent mark node.
Prototype: fun [XMLmark S S] [S r1]
XMLmark | : the parent mark node |
S | : the mark node value to search |
S | : the attribute name to retrieve |
XMLgetMarksByValue | ( | xmlfilestr | , |
value | |||
) |
XMLgetMarksParamValueByParamFromMark | ( | markstr | , |
param | |||
) |
XMLgetMarksParamValueByValueAndParamFromMarkSons | ( | markstr | , |
value | , | ||
param | |||
) |
Get all marks node attribute value with a node value and an attribute name from a parent mark node.
Prototype: fun [XMLmark S S] [S r1]
XMLmark | : the parent mark node |
S | : the mark node value to search |
S | : the attribute name to retrieve |
XMLgetMarksParamValueByValueAndParamFromMark | ( | markstr | , |
value | , | ||
param | |||
) |
Get all marks node attribute value with a node value and an attribute name from a parent mark node, recursively.
Prototype: fun [XMLmark S S] [S r1]
XMLmark | : the parent mark node |
S | : the mark node value to search |
S | : the attribute name to retrieve |
XMLgetMarksParamValueByParam | ( | xmlfilestr | , |
param | |||
) |
XMLgetMarkByParamValueFromMark | ( | markstr | , |
param | , | ||
value | |||
) |
XMLgetMarkByParamValueFromMarkSons | ( | markstr | , |
param | , | ||
value | |||
) |
XMLgetMarkByParamValue | ( | xmlfilestr | , |
param | , | ||
value | |||
) |
XMLgetMarkByValueAndParamValue | ( | xmlfilestr | , |
markval | , | ||
param | , | ||
value | |||
) |
Get the first mark node with a value, and attribute name and value in an xml structure, recursively.
Prototype: fun [XMLfile S S S] XMLmark
XMLfile | : the xml structure |
S | : the mark node value |
S | : the attribute name |
S | : the attribute value |
XMLgetMarksByValueAndParamValue | ( | xmlfilestr | , |
markval | , | ||
param | , | ||
value | |||
) |
Get all marks node with a value, and attribute name and value in an xml structure, recursively.
Prototype: fun [XMLfile S S S] [XMLmark r1]
XMLfile | : the xml structure |
S | : the mark node value |
S | : the attribute name |
S | : the attribute value |
XMLgetMarkByValueAndParamValueFromMark | ( | markstr | , |
markval | , | ||
param | , | ||
value | |||
) |
Get the first mark node with a value, and attribute name and value in a parent mark node, recursively.
Prototype: fun [XMLmark S S S] XMLmark
XMLmark | : the parent mark node |
S | : the mark node value |
S | : the attribute name |
S | : the attribute value |
XMLgetMarksByValueAndParamValueFromMark | ( | markstr | , |
markval | , | ||
param | , | ||
value | |||
) |
Get all marks node with a value, and attribute name and value in a parent mark node, recursively.
Prototype: fun [XMLmark S S S] [XMLmark r1]
XMLmark | : the parent mark node |
S | : the mark node value |
S | : the attribute name |
S | : the attribute value |
XMLgetMarksByValueAndParamPrefixValueFromMark | ( | markstr | , |
markval | , | ||
param | , | ||
value | |||
) |
Get all marks node which start with a value, and attribute name and value in a parent mark node, recursively.
Prototype: fun [XMLmark S S S] [XMLmark r1]
XMLmark | : the parent mark node |
S | : the mark node value |
S | : the attribute name |
S | : the attribute value prefix |
XMLgetMarkByValueAndParamValueFromMarkSons | ( | markstr | , |
markval | , | ||
param | , | ||
value | |||
) |
XMLwrite | ( | xmlfilestr | , |
path | |||
) |
XMLwriteZipped | ( | xmlfilestr | , |
path | |||
) |
XMLload | ( | path | ) |
XMLloadString | ( | fcont | ) |
XMLcopy | ( | xmlfilestr | ) |
XMLcreate | ( | path | , |
type | |||
) |