PyForTool
Python-fortran-tool
|
Public Member Functions | |
__init__ (self, xml, excludeContains=False) | |
tag (self) | |
tail (self) | |
text (self) | |
findtext (self, *args, **kwargs) | |
iterfind (self, *args, **kwargs) | |
itertext (self, *args, **kwargs) | |
__getitem__ (self, *args, **kwargs) | |
__len__ (self, *args, **kwargs) | |
__iter__ (self) | |
find (self, *args, **kwargs) | |
findall (self, *args, **kwargs) | |
iter (self, *args, **kwargs) | |
items (self, *args, **kwargs) | |
clear (self) | |
append (self, *args, **kwargs) | |
extend (self, *args, **kwargs) | |
__setitem__ (self, index, item) | |
__delitem__ (self, index) | |
insert (self, index, item) | |
remove (self, node) | |
Public Attributes | |
text | |
tail | |
Protected Member Functions | |
_virtual (self) | |
_getIndex (self, index) | |
Protected Attributes | |
_excludeContains | |
_xml | |
_virtual | |
This class acts as a view of an ElementTree exposing only a part of the subelements
pyfortool.scope.ElementView.__init__ | ( | self, | |
xml, | |||
excludeContains = False |
|||
) |
:param xml: xml corresponding to a scope :param excludeContains: do not take into account the CONTAINS part
Reimplemented in pyfortool.pyfortool.PYFT, and pyfortool.scope.PYFTscope.
Definition at line 26 of file scope.py.
pyfortool.scope.ElementView.__getitem__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.__len__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.__setitem__ | ( | self, | |
index, | |||
item | |||
) |
|
protected |
|
protected |
pyfortool.scope.ElementView.append | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.clear | ( | self | ) |
pyfortool.scope.ElementView.extend | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.find | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.findall | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.findtext | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.insert | ( | self, | |
index, | |||
item | |||
) |
pyfortool.scope.ElementView.items | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.iter | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.iterfind | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.itertext | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
pyfortool.scope.ElementView.remove | ( | self, | |
node | |||
) |
pyfortool.scope.ElementView.tag | ( | self | ) |
pyfortool.scope.ElementView.tail | ( | self | ) |
pyfortool.scope.ElementView.text | ( | self | ) |