summaryrefslogtreecommitdiff
path: root/apps/Gateway/Gateway/File_Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Gateway/Gateway/File_Parser.h')
-rw-r--r--apps/Gateway/Gateway/File_Parser.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/apps/Gateway/Gateway/File_Parser.h b/apps/Gateway/Gateway/File_Parser.h
index e32d0948621..a91a8f75827 100644
--- a/apps/Gateway/Gateway/File_Parser.h
+++ b/apps/Gateway/Gateway/File_Parser.h
@@ -5,31 +5,35 @@
//
// = LIBRARY
// gateway
-//
+//
// = FILENAME
// File_Parser.h
//
// = AUTHOR
-// Doug Schmidt
-//
+// Doug Schmidt
+//
// ============================================================================
-#if !defined (_FILE_PARSER)
+#ifndef _FILE_PARSER
#define _FILE_PARSER
#include "ace/OS.h"
-class FP
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+class FP
{
// = TITLE
// This class serves as a namespace for the <Return_Type>.
public:
- enum Return_Type
- {
+ enum Return_Type
+ {
EOLINE,
EOFILE,
- SUCCESS,
- COMMENT,
+ SUCCESS,
+ COMMENT,
DEFAULT,
PARSE_ERROR
};
@@ -59,7 +63,7 @@ protected:
// Read the next integer.
FP::Return_Type readword (char buf[]);
- // Read the next "word," which is demarcated by <delimiter>s.
+ // Read the next "word," which is demarcated by <delimiter>s.
//
// @@ This function is inherently flawed since it doesn't take a
// count of the size of <buf>...