next up previous contents index
Next: Documentation for a single Up: Documenting your code Previous: Use LATEX   Contents   Index

The lay out of the documentation

Most of the LDAS software is written in c++, and therefore the documentation is naturally built around ``classes''. However, the LAL is written in c, and thus we cannot directly adopt the LDAS style of documentation. None the less, we try to mimic the style as close as possible by building the LAL documentation around header files and the modules and functions that include them. This choice is also natural because the hierarchical lay out of the documentation exactly follows the hierarchy of the code. [This is also the way books on programming in c document the c-libraries.]


Note: Although the LAL-Spec is not rigid on the subject, it suggests that the number of modules and functions encompassed by a header file should be small: only ``small sets of related functions'' should share the same header file. This means for a given header-file section, there shouldn't be too many module subsections.


next up previous contents index
Next: Documentation for a single Up: Documenting your code Previous: Use LATEX   Contents   Index
LAL test account 2003-10-23