pytuflow.InputRunState#
- class InputRunState(build_state, context, parent)#
Bases:
RunState
,Input
Class for storing the run state of an input.
This class should not be instantiated directly, but rather it should be created from an instance of a BuildState class using the context method of the BuildState class.
- Parameters:
build_state (InputBuildState) – The BuildState object that the RunState object is based on.
context (Context) – The context object that the RunState object is based on.
parent (ControlFileRunState) – The parent control file run state.
- __init__(build_state, context, parent)#
- Parameters:
build_state (BuildState) – The BuildState object that the RunState object is based on.
context (Context) – The context object that the RunState object is based on.
parent (ControlFile) – The parent control file.
Methods
Returns the ScopeList that makes up the objects Context for the given RunState 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.
Attributes
Return the TUFLOW type of the input.
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
.the BuildState object that the RunState object is based on.
the parent control file
the loaded run state if the input is a control file or database.
A unique identifier for the input, set to the same as the BuildState UUID.
The .trd file that this input is from.
Configuration object for the input.
The number of parts in the input command.
the context object that the RunState object is based on.