In order to make development easier we have made some conventions according to coding style. These include names of types, classes, functions, variables, constants and exceptions. If these conventions are met in one's code then it is easier to read and maintain it. Please comply with these conventions if you want to contribute developing LEMON library.
The header file names should look like the following.
Note that all standard LEMON headers are located in the lemon
subdirectory, so you should include them from C++ source like this:
The source code files use the same style and they have '.cc' extension.
The name of a class or any type should look like the following.
The name of a function should look like the following.
The names of constants and macros should look like the following.
The names of class and instance member variables and auto variables (=variables used locally in methods) should look like the following.
Private member variables should start with underscore
When writing exceptions please comply the following naming conventions.
or
Each LEMON header file should look like this: