CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
MCScenario_CRAFT1_22X.Operation Class Reference

Public Member Functions

def __init__ (self, alignable, position)
 
def writeXML (self)
 

Public Attributes

 alignable
 
 position
 

Detailed Description

Definition at line 116 of file MCScenario_CRAFT1_22X.py.

Constructor & Destructor Documentation

◆ __init__()

def MCScenario_CRAFT1_22X.Operation.__init__ (   self,
  alignable,
  position 
)

Definition at line 117 of file MCScenario_CRAFT1_22X.py.

117  def __init__(self, alignable, position):
118  self.alignable = alignable
119  self.position = position
120 

Member Function Documentation

◆ writeXML()

def MCScenario_CRAFT1_22X.Operation.writeXML (   self)

Definition at line 121 of file MCScenario_CRAFT1_22X.py.

121  def writeXML(self):
122  output = ["<operation> ", self.alignable.writeXML(), " ", self.position.writeXML(), " </operation>\n"]
123  return "".join(output)
124 

References MCScenario_CRAFT1_22X.Operation.alignable, join(), and MCScenario_CRAFT1_22X.Operation.position.

Member Data Documentation

◆ alignable

MCScenario_CRAFT1_22X.Operation.alignable

Definition at line 118 of file MCScenario_CRAFT1_22X.py.

Referenced by MCScenario_CRAFT1_22X.Operation.writeXML().

◆ position

MCScenario_CRAFT1_22X.Operation.position

Definition at line 119 of file MCScenario_CRAFT1_22X.py.

Referenced by MCScenario_CRAFT1_22X.Operation.writeXML().

join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17