typedef, Enumerations, and Packages
Give types a clear meaning, encode states cleanly, and share declarations without hidden dependencies.
A named type makes a data format recognizable throughout the hierarchy. A package shares its definition without repeating it in every module.
Name a reusable format
typedef names a vector, integer, structure, or enumeration: