![]() |
ATLAS Offline Software
|
Public Member Functions | |
| def | __init__ (self, name, algorithm=None, father=None, annotations={}, attributes={}) |
| def | getAlgorithm (self) |
| def | addOutput (self, name, algorithm, annotations, attributes) |
| def | getOutputPath (self, append=None, delimiter="/") |
| def | tohan (self, encoding=None) |
| def | toprettyhan (self, indent="\t", newl="\n", encoding=None) |
| def | writehan (self, writer, indent="", addindent="", newl="") |
| def | appendChild (self, child) |
| def | setAttribute (self, key, attribute) |
| def | removeAttribute (self, key) |
| def | getAttribute (self, key) |
| def | getSubNode (self, name, nodetype) |
| def | __str__ (self) |
Public Attributes | |
| acceptChild | |
| nodeType | |
| father | |
| subnodes | |
| attributes | |
| name | |
Class representing a output element
A han output element is a Node with sub nodes of type output and with the optional attribute algorithm
attribute:
- father: the HanOutput that contains this HanOutput
Definition at line 437 of file hanwriter.py.
| def python.hanwriter.HanOutput.__init__ | ( | self, | |
| name, | |||
algorithm = None, |
|||
father = None, |
|||
annotations = {}, |
|||
attributes = {} |
|||
| ) |
|
inherited |
Definition at line 190 of file hanwriter.py.
| def python.hanwriter.HanOutput.addOutput | ( | self, | |
| name, | |||
| algorithm, | |||
| annotations, | |||
| attributes | |||
| ) |
Adds a sub output element with name and algorithm
Reimplemented in python.hanwriter.Document.
Definition at line 481 of file hanwriter.py.
|
inherited |
| def python.hanwriter.HanOutput.getAlgorithm | ( | self | ) |
Gets the algorithm attribute
Definition at line 468 of file hanwriter.py.
|
inherited |
Gets the attribute identified by the key, None if not found
Definition at line 168 of file hanwriter.py.
| def python.hanwriter.HanOutput.getOutputPath | ( | self, | |
append = None, |
|||
delimiter = "/" |
|||
| ) |
|
inherited |
Returns the sub-node identified by name and nodetype
Definition at line 180 of file hanwriter.py.
|
inherited |
Removes attribute identified by key
Definition at line 156 of file hanwriter.py.
|
inherited |
The attribute identified by key is added to this node
Definition at line 145 of file hanwriter.py.
|
inherited |
convert the object in a valid han script block
Definition at line 75 of file hanwriter.py.
|
inherited |
|
inherited |
Converts the object in a han string and writes it in the writer object
Definition at line 105 of file hanwriter.py.
| python.hanwriter.HanOutput.acceptChild |
Definition at line 456 of file hanwriter.py.
|
inherited |
Definition at line 66 of file hanwriter.py.
| python.hanwriter.HanOutput.father |
Definition at line 460 of file hanwriter.py.
|
inherited |
Definition at line 70 of file hanwriter.py.
| python.hanwriter.HanOutput.nodeType |
Definition at line 457 of file hanwriter.py.
|
inherited |
Definition at line 65 of file hanwriter.py.
1.8.18