Package madgraph :: Package iolibs :: Module file_writers :: Class MakefileWriter
[hide private]
[frames] | no frames]

Class MakefileWriter

source code

object --+        
         |        
      file --+    
             |    
    FileWriter --+
                 |
                MakefileWriter

Nested Classes [hide private]

Inherited from FileWriter: FilePreProcessingError, FileWriterError

Instance Methods [hide private]
 
write_comments(self, text)
Write set of comment lines, with correct indent and line splits, for the language in question
source code
None
writelines(self, lines)
Extends the regular file.writeline() function to write out nicely formatted code
source code

Inherited from FileWriter: __init__, preprocess_template, write_comment_line, write_line

Inherited from file: __delattr__, __enter__, __exit__, __getattribute__, __iter__, __new__, __repr__, __setattr__, close, fileno, flush, isatty, next, read, readinto, readline, readlines, seek, tell, truncate, write, xreadlines

Inherited from object: __format__, __hash__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from FileWriter: preprocessor_command_re, preprocessor_endif_re, supported_preprocessor_commands

Properties [hide private]

Inherited from file: closed, encoding, errors, mode, name, newlines, softspace

Inherited from object: __class__

Method Details [hide private]

write_comments(self, text)

source code 

Write set of comment lines, with correct indent and line splits, for the language in question

Overrides: FileWriter.write_comments
(inherited documentation)

writelines(self, lines)

source code 

Extends the regular file.writeline() function to write out nicely formatted code

Returns: None
Overrides: file.writelines