Difference between revisions of "File naming and programming rules"

From Mca2
Jump to navigationJump to search
(Programming rules)
(File Names)
Line 2: Line 2:
  
 
Please have a look into the MCA2 Programmers Guide for informations on this topic.
 
Please have a look into the MCA2 Programmers Guide for informations on this topic.
 
= File Names =
 
* If a file contains only one class (this is the usual case), the file must have the same name as the class:
 
<pre>
 
tThisIsAClass.h
 
tThisIsAClass.c
 
tThisIsAClass.cc
 
mThisIsAModule.h
 
gThisIsAGroup.C
 
</pre>
 
* If a file contains a template, the filename has to end with a 'T':
 
<pre>
 
tThisIsATemplateT.h
 
</pre>
 
* Parts start with a 'p':
 
<pre>
 
pReplyValues.C
 
</pre>
 

Revision as of 11:03, 11 January 2006

The following rules are obligatory for all mca2 core developers. They are recommended to all users of mca2.

Please have a look into the MCA2 Programmers Guide for informations on this topic.