TF++, Miscellaneous classes and modules in C++:
Naming conventions

Classes, Typedefs, etc.

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.

Classes

Class names always start with a capital letter.

Typedefs

Typedefs always start with a capital T.

Member data

Member data identifiers always start with a capital M.

Enums

Enumeration definitions start with a capital E.

Namespaces

Namespaces will be of any type.

Template parameters

Template parameters will start with a capital letter but are typically shorter than class names.

Filenames

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.

Modification applied to API

  • 28/01/2014 (thof): The module provided through readtsdata.h has been moved to libtsioxx; readtsdata.h and readtsdata.cc, both have vanished from libtfxx; this was necessary in order to disentangle libtsxx and libtfxx