Simpatico  v1.10
5.2 Coding Standards

5.1 Build System (Prev)         5.3 Parameter File I/O (Next)

This file documents programming and formatting conventions that should be used in the source code of Simpatico:

Files

Symbol Names

Code Formatting:

Documentation (via doxygen):

Simpatico uses the doxygen (www.doxygen.org) utility to create html documentation from documentations blocks that are extracted from the source code. Doxygen will extracts any multi-line comment that begin with a slash and two asterisks ("/**"), or single line comments that begin with three slashes ("///"), like this:

   /** 
   * This comment will be extracted by doxygen (note the extra asterisk)
   */

   /// So is this one (note the extra slash)

   /*
   * This comment, however, will not be extracted by doxygen.
   */

   // Nor will this one.

Comments within functions that you do not wish to be extracted by doxygen should use the usual form for C comments, using only a single asterisk for multi-line comments or only two slashes for for single line comments.

Interface Design

Data Structures

Header File Includes

Error Handling


5.1 Build System (Prev)         5 Developer Information (Up)         5.3 Parameter File I/O (Next)