diff options
author | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-20 21:23:02 +0000 |
---|---|---|
committer | doccvs <doccvs@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-10-20 21:23:02 +0000 |
commit | 5e05e305c7a4f1709df4be94e3f855de11b2c3c1 (patch) | |
tree | c47247cd1d6ab0b063fad57d2e71342295310a08 /ace/Flag_Manip.h | |
parent | a74303afb809b35b341d226635750d9d1281bc27 (diff) | |
download | ATCD-5e05e305c7a4f1709df4be94e3f855de11b2c3c1.tar.gz |
ChangeLogTag: Fri Oct 20 14:13:43 2000 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'ace/Flag_Manip.h')
-rw-r--r-- | ace/Flag_Manip.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/ace/Flag_Manip.h b/ace/Flag_Manip.h new file mode 100644 index 00000000000..52d5a7b83f3 --- /dev/null +++ b/ace/Flag_Manip.h @@ -0,0 +1,50 @@ +// $Id$ + +// ======================================================================== + +// FILENAME +// ACE_Flag_Manip.h +// +// DESCRIPTION +// This class includes the functions used for the Flag Manipulation. +// +// AUTHOR +// Priyanka Gontla <pgontla@ece.uci.edu> + +// ======================================================================= + +#ifndef ACE_FLAG_MANIP_H +#define ACE_FLAG_MANIP_H +#include "ace/pre.h" + +#include "OS.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +class ACE_Export ACE_Flag_Manip +{ + public: + + // = Set/get/clear various flags related to I/O HANDLE. + static int set_flags (ACE_HANDLE handle, + int flags); + // Set flags associated with <handle>. + + static int clr_flags (ACE_HANDLE handle, + int flags); + // Clear flags associated with <handle>. + + static int get_flags (ACE_HANDLE handle); + // Return the current setting of flags associated with <handle>. + + +}; + +#if !defined (ACE_LACKS_INLINE_FUNCTIONS) +#include "ace/Flag_Manip.i" +#endif /* ACE_LACKS_INLINE_FUNCTIONS */ + +#include "ace/post.h" +#endif /* ACE_FLAG_MANIP_H */ |