![]() |
ATLAS Offline Software
|
Public Member Functions | |
| __init__ (self, name, algorithm=None, father=None, annotations={}, attributes={}) | |
| getAlgorithm (self) | |
| addOutput (self, name, algorithm, annotations, attributes) | |
| getOutputPath (self, append=None, delimiter="/") | |
| tohan (self, encoding=None) | |
| toprettyhan (self, indent="\t", newl="\n", encoding=None) | |
| writehan (self, writer, indent="", addindent="", newl="") | |
| appendChild (self, child) | |
| setAttribute (self, key, attribute) | |
| removeAttribute (self, key) | |
| getAttribute (self, key) | |
| getSubNode (self, name, nodetype) | |
| __str__ (self) | |
Public Attributes | |
| father = father | |
| list | subnodes = None |
| dict | attributes = None |
| list | acceptChild |
| nodeType = Node.UNKNOWN | |
| name = 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.
| python.hanwriter.HanOutput.__init__ | ( | self, | |
| name, | |||
| algorithm = None, | |||
| father = None, | |||
| annotations = {}, | |||
| attributes = {} ) |
Creates an output han element
Definition at line 451 of file hanwriter.py.
|
inherited |
Definition at line 190 of file hanwriter.py.
| 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 |
Add a sub node to this node
Definition at line 126 of file hanwriter.py.
| python.hanwriter.HanOutput.getAlgorithm | ( | self | ) |
Gets the algorithm attribute
Reimplemented in python.hanwriter.Document.
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.
| python.hanwriter.HanOutput.getOutputPath | ( | self, | |
| append = None, | |||
| delimiter = "/" ) |
Creates the complete path of this output directory
Definition at line 493 of file hanwriter.py.
|
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 |
convert the object in a formatted han string
Definition at line 86 of file hanwriter.py.
|
inherited |
Converts the object in a han string and writes it in the writer object
Definition at line 105 of file hanwriter.py.
|
inherited |
Definition at line 67 of file hanwriter.py.
|
inherited |
Definition at line 66 of file hanwriter.py.
| python.hanwriter.HanOutput.father = father |
Definition at line 460 of file hanwriter.py.
|
inherited |
Definition at line 70 of file hanwriter.py.
|
inherited |
Definition at line 69 of file hanwriter.py.
|
inherited |
Definition at line 65 of file hanwriter.py.