diff options
Diffstat (limited to 'ace/Flag_Manip.h')
-rw-r--r-- | ace/Flag_Manip.h | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/ace/Flag_Manip.h b/ace/Flag_Manip.h index 28646f98350..5357a798a5f 100644 --- a/ace/Flag_Manip.h +++ b/ace/Flag_Manip.h @@ -26,26 +26,22 @@ #include "ace/Global_Macros.h" #include "ace/os_include/os_fcntl.h" /* For values passed to these methods */ -#if defined (ACE_EXPORT_MACRO) -# undef ACE_EXPORT_MACRO -#endif -#define ACE_EXPORT_MACRO ACE_Export - - -namespace ACE +class ACE_Export ACE_Flag_Manip { + public: + // = Set/get/clear various flags related to I/O HANDLE. - /// Set flags associated with @a handle. - extern ACE_Export int set_flags (ACE_HANDLE handle, - int flags); + /// Set flags associated with <handle>. + static int set_flags (ACE_HANDLE handle, + int flags); - /// Clear flags associated with @a handle. - extern ACE_Export int clr_flags (ACE_HANDLE handle, - int flags); + /// Clear flags associated with <handle>. + static int clr_flags (ACE_HANDLE handle, + int flags); - /// Return the current setting of flags associated with @a handle. - ACE_NAMESPACE_INLINE_FUNCTION int get_flags (ACE_HANDLE handle); -} + /// Return the current setting of flags associated with <handle>. + static int get_flags (ACE_HANDLE handle); +}; #if defined (__ACE_INLINE__) #include "ace/Flag_Manip.inl" |