Constructor
Extends the AbstractBlock container to set up the method.
Protected_Blocks within the container
Protected_Initial row for the block
Protected Optional_Ownership of this block
Read access to the blocks
Allows public access to the container
ProtecteddefaultReturns the default length for this container N.b. this is likely to vary depending on the stage
Read access to the type of the first six
Allows public access to the index
Read access to the initial row
Read access to the length
Provides read access to the method
Estimates the number of rows in the block The estimate doesn't take into account coming round part-way through
Stage for the block
Receives a visitor that will be called to process each row
ProtectedcalculateDoes any calculation needed by the block
Clears references to the parent container
Clones the course
ProtectedcreateCreates a new block for the container
Used by extend() when creating the container or increasing its length.
initial row for the block
index of block in container
Read access to a block
Derived classes should provide public access via a more suitably-named method
Returns the last row in the block e.g. a course head or a course end (for Stedman)
Checks whether this is a plain course
Receives a notification from a block that has changed
index of changed block in container
ProtectednotifyNotifies the parent container
Derived classes should call this whenever the last row changes.
ProtectedpropagatePropagates data between blocks within the container
where to start when recalculating
Makes the course into a plain course
Resets the course to be the default length
Write access to the length
ProtectedvisitHelper function to correctly fan out calls to multiple visitors
Protected StaticcopyHelper function for use when cloning courses Sets a target course to the correct length and then copies all calls from the source.
A course, being a set of sixes