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. | |
Detailed Description
OpenSpace3D high level xml parser
Function Documentation
◆ XMLgetShortFloatToString()
XMLgetShortFloatToString | ( | float | ) |
Convert a float value to a short string.
Prototype: fun [F] S
- Parameters
-
F : float value
- Returns
- S : short string
◆ XMLgetShortFloatToStringLength()
XMLgetShortFloatToStringLength | ( | float | , |
nb | |||
) |
Convert a float value to a short string with a number of decimal.
Prototype: fun [F I] S
- Parameters
-
F : float value F : number of decimal
- Returns
- S : short string
◆ XMLgetBoolParam()
XMLgetBoolParam | ( | markstr | , |
name | |||
) |
Get the boolean value of a string.
Prototype: fun [S] I
- Parameters
-
S : the boolean value "enable" "1" "on" "true" "yes"
- Returns
- I : 1 if the boolean value is correct, 0 otherwise
◆ XMLgetBoolString()
XMLgetBoolString | ( | b | ) |
Get a string boolean value.
Prototype: fun [I] S
- Parameters
-
I : the boolean value
- Returns
- S : "true" or "false"
◆ XMLgetData()
XMLgetData | ( | markstr | ) |
◆ XMLsetData()
XMLsetData | ( | markstr | , |
data | |||
) |
◆ XMLgetParam()
XMLgetParam | ( | markstr | , |
name | |||
) |
◆ XMLsetParam()
XMLsetParam | ( | markstr | , |
name | , | ||
val | |||
) |
◆ XMLaddMark()
XMLaddMark | ( | xmlfilestr | , |
value | , | ||
father | , | ||
params | , | ||
data | |||
) |
◆ XMLcopyMark()
XMLcopyMark | ( | xmlfilestr | , |
srcmarkstr | , | ||
father | |||
) |
◆ XMLdelMark()
XMLdelMark | ( | xmlfilestr | , |
markstr | |||
) |
◆ XMLdelMarksFromMarkByValue()
XMLdelMarksFromMarkByValue | ( | xmlfilestr | , |
markstr | , | ||
value | |||
) |
◆ XMLmoveMark()
XMLmoveMark | ( | xmlfilestr | , |
markstr | , | ||
fatherstr | |||
) |
◆ XMLgetMarkByValueFromMark()
XMLgetMarkByValueFromMark | ( | markstr | , |
value | |||
) |
◆ XMLgetMarkByValueFromMarkSons()
XMLgetMarkByValueFromMarkSons | ( | markstr | , |
value | |||
) |
◆ XMLgetMarkByValue()
XMLgetMarkByValue | ( | xmlfilestr | , |
value | |||
) |
◆ XMLgetMarksByValueFromMark()
XMLgetMarksByValueFromMark | ( | markstr | , |
value | |||
) |
◆ XMLgetMarksByValueFromMarkSons()
XMLgetMarksByValueFromMarkSons | ( | markstr | , |
value | |||
) |
◆ XMLgetMarksByValuesFromMarkSons()
XMLgetMarksByValuesFromMarkSons | ( | markstr | , |
values | |||
) |
◆ XMLgetMarksDataByValueFromMark()
XMLgetMarksDataByValueFromMark | ( | markstr | , |
value | |||
) |
◆ XMLgetMarksDataByValueFromMarkSons()
XMLgetMarksDataByValueFromMarkSons | ( | markstr | , |
value | |||
) |
◆ XMLgetMarksParamByValueFromMarkSons()
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]
- Parameters
-
XMLmark : the parent mark node S : the mark node value to search S : the attribute name to retrieve
- Returns
- [S r1] : the list of attribute values if found, nil otherwise
◆ XMLgetMarksByValue()
XMLgetMarksByValue | ( | xmlfilestr | , |
value | |||
) |
◆ XMLgetMarksParamValueByParamFromMark()
XMLgetMarksParamValueByParamFromMark | ( | markstr | , |
param | |||
) |
◆ XMLgetMarksParamValueByValueAndParamFromMarkSons()
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]
- Parameters
-
XMLmark : the parent mark node S : the mark node value to search S : the attribute name to retrieve
- Returns
- [S r1] : the list of attribute values if found, nil otherwise
◆ XMLgetMarksParamValueByValueAndParamFromMark()
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]
- Parameters
-
XMLmark : the parent mark node S : the mark node value to search S : the attribute name to retrieve
- Returns
- [S r1] : the list of attribute values if found, nil otherwise
◆ XMLgetMarksParamValueByParam()
XMLgetMarksParamValueByParam | ( | xmlfilestr | , |
param | |||
) |
◆ XMLgetMarkByParamValueFromMark()
XMLgetMarkByParamValueFromMark | ( | markstr | , |
param | , | ||
value | |||
) |
◆ XMLgetMarkByParamValueFromMarkSons()
XMLgetMarkByParamValueFromMarkSons | ( | markstr | , |
param | , | ||
value | |||
) |
◆ XMLgetMarkByParamValue()
XMLgetMarkByParamValue | ( | xmlfilestr | , |
param | , | ||
value | |||
) |
◆ XMLgetMarkByValueAndParamValue()
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
- Parameters
-
XMLfile : the xml structure S : the mark node value S : the attribute name S : the attribute value
- Returns
- XMLmark : the mark node if found, nil otherwise
◆ XMLgetMarksByValueAndParamValue()
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]
- Parameters
-
XMLfile : the xml structure S : the mark node value S : the attribute name S : the attribute value
- Returns
- [XMLmark r1] : the list of marks node if found, nil otherwise
◆ XMLgetMarkByValueAndParamValueFromMark()
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
- Parameters
-
XMLmark : the parent mark node S : the mark node value S : the attribute name S : the attribute value
- Returns
- XMLmark : the mark node if found, nil otherwise
◆ XMLgetMarksByValueAndParamValueFromMark()
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]
- Parameters
-
XMLmark : the parent mark node S : the mark node value S : the attribute name S : the attribute value
- Returns
- [XMLmark r1] : the list of marks node if found, nil otherwise
◆ XMLgetMarksByValueAndParamPrefixValueFromMark()
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]
- Parameters
-
XMLmark : the parent mark node S : the mark node value S : the attribute name S : the attribute value prefix
- Returns
- [XMLmark r1] : the list of marks node if found, nil otherwise
◆ XMLgetMarkByValueAndParamValueFromMarkSons()
XMLgetMarkByValueAndParamValueFromMarkSons | ( | markstr | , |
markval | , | ||
param | , | ||
value | |||
) |
◆ XMLwrite()
XMLwrite | ( | xmlfilestr | , |
path | |||
) |
◆ XMLwriteZipped()
XMLwriteZipped | ( | xmlfilestr | , |
path | |||
) |
◆ XMLload()
XMLload | ( | path | ) |
◆ XMLloadString()
XMLloadString | ( | fcont | ) |
◆ XMLcopy()
XMLcopy | ( | xmlfilestr | ) |
◆ XMLcreate()
XMLcreate | ( | path | , |
type | |||
) |
◆ XMLclose()
Generated by 1.9.8