summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-30 14:27:10 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-30 14:27:10 +0000
commitc66a2536e7eed13f47f8739110a3da36a450a330 (patch)
treeefdc40f0a84f09173bfac095924b319adea5ecf8 /etc
parentd0e0bc5c60c99d13be4db19f722261566d6ac456 (diff)
downloadATCD-c66a2536e7eed13f47f8739110a3da36a450a330.tar.gz
added a guideline for using ACE_Export
Diffstat (limited to 'etc')
-rw-r--r--etc/ACE-guidelines.html31
1 files changed, 20 insertions, 11 deletions
diff --git a/etc/ACE-guidelines.html b/etc/ACE-guidelines.html
index 8c8a4d05b7d..74778565d7f 100644
--- a/etc/ACE-guidelines.html
+++ b/etc/ACE-guidelines.html
@@ -21,9 +21,10 @@ bgcolor="#ffffff">
Thanks to Graham Dumpleton &lt;grahamd@nms.otc.com.au&gt; for providing
corrections to the OSE Classtools link and description. Thanks also
-to Graham for providing the OSE tools!
+to Graham for providing the OSE tools!<p>
-<p><HR><P>
+
+<hr>
<h3>Coding Guidelines</h3>
<ul>
<li><strong>General</strong><p>
@@ -66,7 +67,7 @@ to Graham for providing the OSE tools!
<li>Avoid use of floating point types (float and double) and operations
unless absolutely necessary. Not all ACE platforms support them.
Therefore, whereever they are used, ACE_LACKS_FLOATING_POINT
- conditional code must be also be used.
+ conditional code must be also be used.<p>
</ul>
<li><strong>Code Documentation</strong><p>
@@ -194,6 +195,12 @@ to Graham for providing the OSE tools!
properly. Some compilers, such as <code>g++</code> with the
<code>-Wall</code> option, will issue warnings for violations.<p>
+ <li><code>ACE_Export</code> must be inserted between the
+ <code>class</code> keyword and class name for all classes that
+ are exported from libraries, as shown in the example above.
+ <strong>However</strong>, do <strong>not</strong> use
+ <code>ACE_Export</code> for template classes!<p>
+
<li>Mutators and accessors should be of this form:<p>
<pre>
@@ -390,10 +397,10 @@ to Graham for providing the OSE tools!
</ul><p>
-</ul><p>
+</ul>
-<p><HR><P>
+<hr>
<h3><a href="http://www.cs.wustl.edu/~schmidt/ACE-overview.html">ACE</a>
Usage Guidelines</h3>
<ul>
@@ -453,9 +460,10 @@ to Graham for providing the OSE tools!
<li>Avoid using the C++ Standard Template Library (STL) in our
applications. Some platforms do not support it yet.<p>
-</ul><p>
+</ul>
+<hr>
<h3><a href="http://www.cs.wustl.edu/~levine/CVS.html">CVS</a>
Usage Guidelines</h3>
<ul>
@@ -463,8 +471,8 @@ to Graham for providing the OSE tools!
on at least one platform before checking it into the CVS repository.<p>
</ul>
-<p><HR><P>
+<hr>
<h3>Software Engineering Guidelines</h3>
<ul>
<li><strong>Advise</strong>: Keep other developers informed of problems
@@ -486,16 +494,17 @@ to Graham for providing the OSE tools!
<li><strong>Synthesize</strong>: Build stubs and scaffolding early to
simulate the complete system. Maintain a checked-in version of the
system that cleanly builds and tests at all times.<p>
-</ul><p>
+</ul>
-<p>
-<HR><P>
+
+<hr>
<h3><a href="http://www.cs.wustl.edu/~schmidt/rules.html">ACE
Design Rules</a></h3>
+
<hr>
<!-- hhmts start -->
-Last modified: Thu Apr 30 12:36:31 CDT 1998
+Last modified: Tue Jun 30 09:26:57 CDT 1998
<!-- hhmts end -->
</body>