AbstractConstructor
initial row for the block
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
Protected AbstractdefaultReturns the default length for this container N.b. this is likely to vary depending on the stage
Allows public access to the index
Read access to the initial row
Read access to the length
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
Protected AbstractcreateRead 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.
Course class
A SerialContainer for AbstractLeads.