Changes between Version 1 and Version 2 of NamespaceLevels

Show
Ignore:
Timestamp:
04/11/2007 12:35:55 PM (3 years ago)
Author:
rhl
Comment:

Pasted my blurb from the mailing list

Legend:

Unmodified
Added
Removed
Modified
  • NamespaceLevels

    v1 v2  
    1212== Organizing code into Namespaces == 
    1313 
    14 ''in progress'' 
     14''This is simply my mail from the lists, and isn't definitive'' 
     15 
     16I think that we agreed that all packages would lie at least one level 
     17below namespace lsst (or am I supposed to say above?), with the extra 
     18level being the package name. 
     19 
     20For example, fw include files are included with 
     21        `#include "lsst/fw/Citizen.h"` 
     22and are in namespace 
     23        `lsst::fw` 
     24 
     25What's more, [wiki:fw/Trace Trace] is expected to use the same convention, but 
     26with the leading lsst omitted; e.g. 
     27        `lsst::fw::Trace::trace("fw.Citizen", ...)` 
     28 
     29Note that the convention here is to add the class name. 
     30 
     31I don't understand exactly how we package other parts of the system, but 
     32my guess is that it'll be similar, and that we can follow these conventions. 
     33 
    1534 
    1635== Proposed change to Coding Standards ==