A class implementing an input file.
Methods
Create an input file.
All lines in the specified text file will be read into a list of strings.
Parameters : | filename : str, optional
|
---|
Getter for current_line.
Getter for filename.
Get a specific line.
If no line is given, the current line will be returned and the value of current_line will be increased by one. First line is line 1.
Parameters : | line : int, optional
|
---|---|
Returns : | line : str
|
Getter for lines.
Getter for logging.
Getter for n_lines.
Set logging of this object on or off
Parameters : | onoff : bool
|
---|
Notes
See also design.experiment.set_log_level fur further information about event logging.