Difference between revisions of "Cpp Coding Standards/HEADERS"
From Apache OpenOffice Wiki
m (Cpp Coding Standards/Topics/HEADERS moved to Cpp Coding Standards/Header Files: Improve Cpp_Coding_Standards structure.) |
|||
Line 1: | Line 1: | ||
− | + | Topic-Id: '''HEADERS''' | |
− | What to do | + | |
+ | What to do or do not with header files. | ||
---- | ---- | ||
=== Summary === | === Summary === | ||
− | ==== | + | ==== Self Sufficient <span id="Self">(Self)</span> ==== |
Make headers include everything they need themselves. | Make headers include everything they need themselves. | ||
− | ==== | + | [[/Self|Details]] |
+ | |||
+ | ==== Include Directly <span id="IncDirect">(IncDirect)</span> ==== | ||
Include the header files for all types you need directly, not via another file. | Include the header files for all types you need directly, not via another file. | ||
− | + | [[/IncDirect|Details]] | |
− | + | ||
---- | ---- | ||
[[Category:Coding Standards]] | [[Category:Coding Standards]] |
Revision as of 22:26, 29 November 2006
Topic-Id: HEADERS
What to do or do not with header files.
Summary
Self Sufficient (Self)
Make headers include everything they need themselves.
Include Directly (IncDirect)
Include the header files for all types you need directly, not via another file.