Public Member Functions | |
def | __init__ |
def | writeXML |
Public Attributes | |
location |
Definition at line 99 of file MCScenario_CRAFT1_22X.py.
def MCScenario_CRAFT1_22X::Position::__init__ | ( | self, | |
location | |||
) |
Definition at line 100 of file MCScenario_CRAFT1_22X.py.
def MCScenario_CRAFT1_22X::Position::writeXML | ( | self | ) |
Definition at line 103 of file MCScenario_CRAFT1_22X.py.
00104 : 00105 parameters = self.location.keys() 00106 parameters.sort(sorter) 00107 00108 output = ["<setposition relativeto=\"ideal\" "] 00109 for parameter in parameters: 00110 output.extend([parameter, "=\"", str(self.location[parameter]), "\" "]) 00111 output.append("/>") 00112 00113 return "".join(output) 00114 # an instance of this class corresponds to one <operation> ... </operation> in the XML file
Definition at line 100 of file MCScenario_CRAFT1_22X.py.