00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ACE_FLAG_MANIP_H
00016 #define ACE_FLAG_MANIP_H
00017
00018 #include "ace/pre.h"
00019
00020 #include "ace/ACE_export.h"
00021
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif
00025
00026 #include "ace/OS.h"
00027
00028 class ACE_Export ACE_Flag_Manip
00029 {
00030 public:
00031
00032
00033
00034 static int set_flags (ACE_HANDLE handle,
00035 int flags);
00036
00037
00038 static int clr_flags (ACE_HANDLE handle,
00039 int flags);
00040
00041
00042 static int get_flags (ACE_HANDLE handle);
00043
00044
00045 };
00046
00047 #if !defined (ACE_LACKS_INLINE_FUNCTIONS)
00048 #include "ace/Flag_Manip.i"
00049 #endif
00050
00051 #include "ace/post.h"
00052 #endif