... | ... | @@ -8,9 +8,9 @@ |
|
|
* Created on: April 27, 2017
|
|
|
* Author: Mark Alexander Godoy godoyma@email.com
|
|
|
*/
|
|
|
</code></pre></li></ul></li><li>
|
|
|
</code></pre></li></ul></li>
|
|
|
|
|
|
<strong>Include guards:</strong> all headers must have include guards to prevents name conflict. These are place right after the license and at the end of the file. The adopted format includes the relative path in ADIOS. For example, **adios2/engine/bp/BPFileWriter.h** will contain the following include guards:<ol><li><ul><li><pre style="border: 0;"><code>#ifndef ADIOS2_ENGINE_BP_BPFILEWRITER_H_
|
|
|
<li><strong>Include guards:</strong> all headers must have include guards to prevents name conflict. These are place right after the license and at the end of the file. The adopted format includes the relative path in ADIOS. For example, **adios2/engine/bp/BPFileWriter.h** will contain the following include guards:<ol><li><ul><li><pre style="border: 0;"><code>#ifndef ADIOS2_ENGINE_BP_BPFILEWRITER_H_
|
|
|
#define ADIOS2_ENGINE_BP_BPFILEWRITER_H_<br><br>
|
|
|
//File contents...
|
|
|
...
|
... | ... | @@ -34,4 +34,4 @@ |
|
|
</code></pre></li><li><pre style="border: 0;"><code> #include <bzip2.h>
|
|
|
#include <zfp.h>
|
|
|
</code></pre></li><li><pre style="border: 0;"><code> #include "adiosFunctions.h" // IsLittleEndian
|
|
|
</code></pre></li></ul></li></ol> |
|
|
\ No newline at end of file |
|
|
</code></pre></li></ul></li> |
|
|
\ No newline at end of file |