next up previous contents
Next: Class member variable names Up: Naming conventions Previous: Naming conventions

Class names

Names of C++ classes should begin with a capital letter, and not contain any hyphens. Class names comprised of multiple words should have each word capitalized. Example:

DisplayDevice
Classes derived from a base class should generally prepend a descriptive word to the base class name, unless the new word begins with a number in which case the additional word should be added to the end of the base class name. Examples:
CaveDisplayDevice
and
Displayable3D


Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999