$treeview $search $mathjax
SEvMgr Logo  1.00.2
$projectbrief
$projectbrief
$searchbox

Coding Rules

In the following sections we describe the naming conventions which are used for files, classes, structures, local variables, and global variables.

Default Naming Rules for Variables

Variables names follow Java naming conventions. Examples:

Default Naming Rules for Functions

Function names follow Java naming conventions. Example:

Default Naming Rules for Classes and Structures

Each new word in a class or structure name should always start with a capital letter and the words should be separated with an under-score. Abbreviations are written with capital letters. Examples:

Default Naming Rules for Files

Files are named after the C++ class names.

Source files are named using .cpp suffix, whereas header files end with .hpp extension. Examples:

Default Functionality of Classes

All classes that are configured by input parameters should include:

Explicit destructor functions are not required, unless they are needed. It shall not be possible to use any of the other member functions unless the class has been properly initiated with the input parameters.