TF++, Miscellaneous classes and modules in C++:
|
During coding it is sometimes helpfull to recognize the meaning of an identifier due to some signals in irs name. Therefor the following guidelines are used. The nameing of template parameters is left free for convenience.
Class names always start with a capital letter.
Typedefs always start with a capital T
.
Member data identifiers always start with a capital M
.
Enumeration definitions start with a capital E
.
Namespaces will be of any type.
Template parameters will start with a capital letter but are typically shorter than class names.
Files with the extension .cc contain only non-template definitions. Files with the extension
.h may contain prototypes, class declarations or template code. Files ending on
def.h
contain template code definitions that is factored out to be compilable into a binary library for explicit instantiation.