Next / Previous / Contents / Shipman's homepage

40. class SkullField: Skull ossification

Scans a skull ossification field. See the specification.

For the bulk of the mechanism of this class, see Section 27, “class SingleField: Generic single-character field”.

baseclasses.py
# - - - - -   c l a s s   S k u l l F i e l d   - - - - -

class SkullField(SingleField):
    '''Represents a skull-ossification field.

      Exports: as inherited.
    '''

    VALID_CODES = "01234568 "

40.1. SkullField.scanField()

Scans a skull-ossification field. See Section 27, “class SingleField: Generic single-character field” for the class that does most of the work.

baseclasses.py
# - - -   S k u l l F i e l d . s c a n F i e l d   - - -

    @staticmethod
    def scanField(encounter, scan, fieldName):
        '''Scan a skull ossification field.
        '''
        SingleField.scanField(encounter, scan, fieldName,
                               SkullField, "skull")