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

Flag_Manip.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file   Flag_Manip.h
00006  *
00007  *  $Id: Flag_Manip.h,v 1.1.1.2 2003/02/21 18:36:32 chad Exp $
00008  *
00009  *  This class includes the functions used for the Flag Manipulation.
00010  *
00011  *  @author Priyanka Gontla <pgontla@doc.ece.uci.edu>
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 /* ACE_LACKS_PRAGMA_ONCE */
00025 
00026 #include "ace/OS.h"
00027 
00028 class ACE_Export ACE_Flag_Manip
00029 {
00030  public:
00031 
00032   // = Set/get/clear various flags related to I/O HANDLE.
00033   /// Set flags associated with <handle>.
00034   static int set_flags (ACE_HANDLE handle,
00035                         int flags);
00036 
00037   /// Clear flags associated with <handle>.
00038   static int clr_flags (ACE_HANDLE handle,
00039                         int flags);
00040 
00041   /// Return the current setting of flags associated with <handle>.
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 /* ACE_LACKS_INLINE_FUNCTIONS */
00050 
00051 #include "ace/post.h"
00052 #endif  /* ACE_FLAG_MANIP_H */

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