issue #2430: Moving enum type to class for CCBReader.