This page is a draft!
C/C++ Code Style for NCL Composer
As any project, keep code standard is important to improve the quality of the software, improve reusability and a software which is easier to maintain.
The NCL Composer Code style is similar to most of the C++ projects. So, you will easily navigate through the source code. Here, we will discuss some issues of our code style.
Class Template
The following code shows an template that should be followed when defining a class:
namespace composer { namespace core { namespace model { /*! \brief Description of the class */ class MyClass { // Class Content }; } } } //end namespace
It is recommended to keep the final comment informing that line is finishing the namespace.