summaryrefslogtreecommitdiff
path: root/ace/CLASSIX/CLASSIX_Group_Stamp.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/CLASSIX/CLASSIX_Group_Stamp.h
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/CLASSIX/CLASSIX_Group_Stamp.h')
-rw-r--r--ace/CLASSIX/CLASSIX_Group_Stamp.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/ace/CLASSIX/CLASSIX_Group_Stamp.h b/ace/CLASSIX/CLASSIX_Group_Stamp.h
index cf1e818510f..a69d732edc2 100644
--- a/ace/CLASSIX/CLASSIX_Group_Stamp.h
+++ b/ace/CLASSIX/CLASSIX_Group_Stamp.h
@@ -5,13 +5,13 @@
//
// = LIBRARY
// ace
-//
+//
// = FILENAME
// CLASSIX_Group_Stamp.h
//
// = AUTHOR(S)
// Nokia Telecommunications
-//
+//
// ============================================================================
#ifndef ACE_CLASSIX_GROUP_STAMP_H
@@ -20,28 +20,32 @@
/* ------------------------------------------------------------------------- */
#include "ace/CLASSIX/CLASSIX_Group.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
class ACE_CLASSIX_Group_Stamp : public ACE_CLASSIX_Group
// = TITLE
// Wrapper over Chorus's Group using <Stamp> for naming the group.
- //
+ //
// = DESCRIPTION
// This is a subclass of <ACE_CLASSIX_Group>.
- //
+ //
// Its encapsulated group is named by a <stamp>. However,
// <KnCap> is still the unique identifier of the group.
//
// = NOTE
// As at the time of writing, The stamp is contained in the ui.uiTail
// field of <KnCap>.
- //
+ //
// = SEE ALSO
// <ACE_CLASSIX_Group>, <ACE_CLASSIX_Group_Dynamic>
- //
+ //
{
public:
enum
{
- ILLEGAL_STAMP = 0
+ ILLEGAL_STAMP = 0
/* Have we defined the range of valid stamps? */
};
@@ -51,7 +55,7 @@ class ACE_CLASSIX_Group_Stamp : public ACE_CLASSIX_Group
ACE_CLASSIX_Group_Stamp(int /* stamp */);
// creates a group use the specfied stamp
virtual void set_addr(void*, /* pointer to the stamp */
- int = 0 /* not used */);
+ int = 0 /* not used */);
// Replaces the existing group according to the supplied stamp
// = ACCESS