summaryrefslogtreecommitdiff
path: root/ace/FILE_Addr.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/FILE_Addr.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/FILE_Addr.h')
-rw-r--r--ace/FILE_Addr.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/ace/FILE_Addr.h b/ace/FILE_Addr.h
index d928c8a8209..04f37a63236 100644
--- a/ace/FILE_Addr.h
+++ b/ace/FILE_Addr.h
@@ -5,29 +5,30 @@
//
// = LIBRARY
// ace
-//
+//
// = FILENAME
// FILE_Addr.h
//
// = AUTHOR
-// Doug Schmidt
-//
+// Doug Schmidt
+//
// ============================================================================
#ifndef ACE_FILE_ADDR_H
#define ACE_FILE_ADDR_H
#include "ace/Addr.h"
-#include "ace/ACE.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "ace/ACE.h"
+
class ACE_Export ACE_FILE_Addr : public ACE_Addr
{
// = TITLE
- // Defines the FILE address family address format.
+ // Defines the FILE address family address format.
public:
// = Initialization methods.
ACE_FILE_Addr (void);
@@ -40,32 +41,32 @@ public:
// Acts like a copy constructor.
ACE_FILE_Addr (LPCTSTR filename);
- // Create a ACE_FILE_Addr from a pathname.
+ // Create a ACE_FILE_Addr from a pathname.
void set (LPCTSTR filename);
- // Create a ACE_FILE_Addr from a pathname.
+ // Create a ACE_FILE_Addr from a pathname.
ACE_FILE_Addr &operator= (const ACE_FILE_Addr &);
// Assignment operator.
virtual void *get_addr (void) const;
- // Return a pointer to the address.
+ // Return a pointer to the address.
#if defined (UNICODE)
virtual int addr_to_string (wchar_t *addr, size_t) const;
- // Transform the current address into string format.
+ // Transform the current address into string format.
#endif /* UNICODE */
virtual int addr_to_string (char *addr, size_t) const;
- // Transform the current address into string format.
+ // Transform the current address into string format.
int operator == (const ACE_FILE_Addr &SAP) const;
- // Compare two addresses for equality.
+ // Compare two addresses for equality.
int operator != (const ACE_FILE_Addr &SAP) const;
- // Compare two addresses for inequality.
+ // Compare two addresses for inequality.
- LPCTSTR get_path_name (void) const;
+ LPCTSTR get_path_name (void) const;
// Return the path name used for the rendezvous point.
void dump (void) const;