pytuflow.CommentInput#
- class CommentInput(parent, command)#
Bases:
InputBuildState
Input class for comment only lines.
e.g.! Time Setting Inputs
- Parameters:
parent (ControlFileBuildState)
command (Command)
- __init__(parent, command)#
- Parameters:
parent (ControlFileBuildState)
command (Command)
- Return type:
None
Methods
Create a
RunState
version 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 == Value
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 number of parts in the input command.