コード例 #1
0
ファイル: ppfile.py プロジェクト: arqubusier/AdaDoxygen
	def write(self):
		logging.debug("Creating "+self.name+"...")
		out = "/*! @file "+os.path.split(self.filename)[1]+" */"
		for include in self.includes:
			out += "\n"+Convert.include(include)
		for namespace in self.namespaces:
			out += "\n"+Convert.namespace(namespace)
		out += "\n"+self.writeRecursive(None,self.elements)
		self.file.write(out)
		self.file.close()