|
| tag |
|
| attributes |
|
| content |
|
| elements |
|
This the XML data class used in SUAVE.
Assumptions:
None
Source:
N/A
◆ __defaults__()
def SUAVE.Input_Output.XML.Data.Data.__defaults__ |
( |
|
self | ) |
|
Defaults for the data class.
Assumptions:
None
Source:
N/A
Inputs:
None
Outputs:
None
Properties Used:
N/A
◆ __str__()
def SUAVE.Input_Output.XML.Data.Data.__str__ |
( |
|
self, |
|
|
|
indent = '' |
|
) |
| |
Determines how the class is shown in a string.
Assumptions:
None
Source:
N/A
Inputs:
indent <string> indent to be used
Outputs:
args <string>
Properties Used:
N/A
◆ from_dict()
def SUAVE.Input_Output.XML.Data.Data.from_dict |
( |
|
data | ) |
|
|
static |
Gives a list of elements from data.
Assumptions:
None
Source:
N/A
Inputs:
data - data class to read
Outputs:
results - list of elements
Properties Used:
N/A
◆ get_elements()
def SUAVE.Input_Output.XML.Data.Data.get_elements |
( |
|
self, |
|
|
|
tag |
|
) |
| |
Gets elements with a given tag.
Assumptions:
None
Source:
N/A
Inputs:
tag - used to check which elements to return
Outputs:
output - list of matching elements
Properties Used:
N/A
◆ new_element()
def SUAVE.Input_Output.XML.Data.Data.new_element |
( |
|
self, |
|
|
|
tag |
|
) |
| |
Creates a new element.
Assumptions:
None
Source:
N/A
Inputs:
tag - tag of the new element
Outputs:
elem - the new element
Properties Used:
N/A
The documentation for this class was generated from the following file:
- /Users/emiliobotero/Dropbox/SUAVE/SUAVE/trunk/SUAVE/Input_Output/XML/Data.py