pytuflow.FolderInput#
- class FolderInput(parent, command)#
Bases:
FileInputRepresents a folder input command.
e.g. Log Folder == <>, or Output Folder == <>
- Parameters:
parent (ControlFileBuildState)
command (Command)
- __init__(parent, command)#
- Parameters:
parent (ControlFileBuildState)
command (Command)
- Return type:
None
Methods
Create a
RunStateversion of this object.Public function that will return the scope of a given file.
Returns whether this input is the end of a block.
Returns True if the input matches the search parameters, which is made of multiple parameters.
Returns whether this input is the start of a block.
Not private, but not for users to use directly either.
Write the object to file.
Attributes
A string identifying the PyTUFLOW object type.
Whether the object has been changed since it was last written to file.
Property holding the LHS string part of
Command == ValueThe line number of the input within the control file (starting at line one).
Property holding the value part of
Command == Value.List of scopes associated with the object.
Property holding the value part of
Command == Value.Parent object, if any.
Configuration settings for the TUFLOW model.
A list of control file or database objects that are loaded from this input.
A unique identifier for the input, generated when the input is created.
The .trd file that this input is from.
The trd input that this input is from.
The number of parts in the input command.