Homec4science

refactoring of TypeDetector class

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Aug 24 2016, 00:32.

Description

refactoring of TypeDetector class

-rename Entity::ID to Entity::types
-change enumerator to named enumerator, to force type check on constructor
-disable default constructor, use custom constructor instead, locking in the entity type
-adapt APIs accordingly
-rename get_num_types() into a more meaningful check_types() and check, both entity types and atom types for valid type ranges

Details

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPSf4a89d56fcf9: refactoring of TypeDetector class (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Aug 24 2016, 00:32