예제 #1
0
 def _registerDefaultElementWriters(self, writer):
     writer.registerElementWriter(XMLDataTypeWriter(self.version, self.patch))
     writer.registerElementWriter(XMLConstantWriter(self.version, self.patch))
     writer.registerElementWriter(XMLPortInterfaceWriter(self.version, self.patch))
     writer.registerElementWriter(XMLComponentTypeWriter(self.version, self.patch))
     writer.registerElementWriter(XMLBehaviorWriter(self.version, self.patch))
     writer.registerElementWriter(CodeDataTypeWriter(self.version, self.patch))
     writer.registerElementWriter(CodeConstantWriter(self.version, self.patch))
     writer.registerElementWriter(CodePortInterfaceWriter(self.version, self.patch))
     writer.registerElementWriter(CodeComponentTypeWriter(self.version, self.patch))
     writer.registerElementWriter(CodeBehaviorWriter(self.version, self.patch))
     writer.registerElementWriter(SignalWriter(self.version, self.patch))
     writer.registerElementWriter(XMLModeWriter(self.version, self.patch))
예제 #2
0
파일: workspace.py 프로젝트: cogu/autosar
 def _registerDefaultElementWriters(self, writer):
    writer.registerElementWriter(XMLDataTypeWriter(self.version, self.patch))      
    writer.registerElementWriter(CodeDataTypeWriter(self.version, self.patch))
    writer.registerElementWriter(XMLConstantWriter(self.version, self.patch))
    writer.registerElementWriter(CodeConstantWriter(self.version, self.patch))
    writer.registerElementWriter(XMLPortInterfaceWriter(self.version, self.patch))
    writer.registerElementWriter(CodePortInterfaceWriter(self.version, self.patch))
    writer.registerElementWriter(XMLComponentTypeWriter(self.version, self.patch))
    writer.registerElementWriter(CodeComponentTypeWriter(self.version, self.patch))
    writer.registerElementWriter(XMLBehaviorWriter(self.version, self.patch))
    writer.registerElementWriter(CodeBehaviorWriter(self.version, self.patch))
    writer.registerElementWriter(SignalWriter(self.version, self.patch))