Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

FILE_Addr.i

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: FILE_Addr.i,v 1.1.1.3 2001/12/04 14:33:00 chad Exp $
00003 
00004 // FILE_Addr.i
00005 
00006 // Do nothing constructor.
00007 
00008 // Transform the current address into string format.
00009 
00010 #include "ace/SString.h"
00011 
00012 // Return the address.
00013 
00014 ACE_INLINE void *
00015 ACE_FILE_Addr::get_addr (void) const
00016 {
00017   return (void *) &this->filename_;
00018 }
00019 
00020 // Compare two addresses for equality.
00021 
00022 ACE_INLINE int
00023 ACE_FILE_Addr::operator == (const ACE_FILE_Addr &sap) const
00024 {
00025   return ACE_OS::strcmp (this->filename_, sap.filename_) == 0;
00026 }
00027 
00028 // Compare two addresses for inequality.
00029 
00030 ACE_INLINE int
00031 ACE_FILE_Addr::operator != (const ACE_FILE_Addr &sap) const
00032 {
00033   return !((*this) == sap);     // This is lazy, of course... ;-)
00034 }
00035 
00036 // Return the path name used for the rendezvous point.
00037 
00038 ACE_INLINE const ACE_TCHAR *
00039 ACE_FILE_Addr::get_path_name (void) const
00040 {
00041   return this->filename_;
00042 }
00043 

Generated on Mon Jun 16 11:19:41 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002