Caret7:Development/Namespace

From Van Essen Lab

Jump to: navigation, search

Caret Namespace

All classes in Caret are contained in the caret namespace.

In the header file of a class, the class declaration is located inside the namespace declaration. Any forward declarations of classes located in the caret namespace must also be inside the namespace declaration. All include files are listed above the namespace declaration. Any forward declarations of classes NOT in the caret namespace must be located above the namespace declaration.

In the implementation file, a "using namespace caret;" declaration must be located near the top of the file.

Personal tools
Sums Database