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 439 of file hanwriter.py.
def python.hanwriter.HanOutput.__init__ | ( | self, | |
name, | |||
algorithm = None , |
|||
father = None , |
|||
annotations = {} , |
|||
attributes = {} |
|||
) |
|
inherited |
Definition at line 192 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 483 of file hanwriter.py.
|
inherited |
def python.hanwriter.HanOutput.getAlgorithm | ( | self | ) |
Gets the algorithm attribute
Definition at line 470 of file hanwriter.py.
|
inherited |
Gets the attribute identified by the key, None if not found
Definition at line 170 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 182 of file hanwriter.py.
|
inherited |
Removes attribute identified by key
Definition at line 158 of file hanwriter.py.
|
inherited |
The attribute identified by key is added to this node
Definition at line 147 of file hanwriter.py.
|
inherited |
convert the object in a valid han script block
Definition at line 76 of file hanwriter.py.
|
inherited |
|
inherited |
Converts the object in a han string and writes it in the writer object
Definition at line 107 of file hanwriter.py.
python.hanwriter.HanOutput.acceptChild |
Definition at line 458 of file hanwriter.py.
|
inherited |
Definition at line 67 of file hanwriter.py.
python.hanwriter.HanOutput.father |
Definition at line 462 of file hanwriter.py.
|
inherited |
Definition at line 71 of file hanwriter.py.
python.hanwriter.HanOutput.nodeType |
Definition at line 459 of file hanwriter.py.
|
inherited |
Definition at line 66 of file hanwriter.py.