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

iosfwd.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    iosfwd.h
00006  *
00007  *  $Id: iosfwd.h,v 1.1.1.3 2001/12/04 14:33:13 chad Exp $
00008  *
00009  *  @author Irfan Pyarali
00010  *
00011  *  This file contains the portability ugliness for the Standard C++
00012  *  Library.  As implementations of the "standard" emerge, this file
00013  *  will need to be updated.
00014  *
00015  *  This files deals with forward declaration for the stream
00016  *  classes.  Remember that since the new Standard C++ Library code
00017  *  for streams uses templates, simple forward declaration will not
00018  *  work.
00019  *
00020  *
00021  */
00022 //=============================================================================
00023 
00024 
00025 #ifndef ACE_IOSFWD_H
00026 #define ACE_IOSFWD_H
00027 #include "ace/pre.h"
00028 
00029 #include "ace/config-all.h"
00030 
00031 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00032 # pragma once
00033 #endif /* ACE_LACKS_PRAGMA_ONCE */
00034 
00035 #if defined (ACE_HAS_STANDARD_CPP_LIBRARY)  && \
00036     (ACE_HAS_STANDARD_CPP_LIBRARY != 0)
00037 
00038 # if !defined (ACE_USES_OLD_IOSTREAMS)  || \
00039     defined (ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION)
00040 #   include /**/ <iosfwd>
00041 # endif /* ! ACE_USES_OLD_IOSTREAMS  ||  ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION */
00042 
00043 # if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) && \
00044              (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0)
00045 
00046 #   if !defined (ACE_USES_OLD_IOSTREAMS)
00047       // Make these available in the global name space
00048       using std::ios;
00049       using std::streambuf;
00050       using std::istream;
00051       using std::ostream;
00052       using std::iostream;
00053       using std::filebuf;
00054       using std::ifstream;
00055       using std::ofstream;
00056       using std::fstream;
00057 #   endif /* ! ACE_USES_OLD_IOSTREAMS */
00058 
00059 # endif /* ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB */
00060 
00061 #else /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
00062 
00063   class ios;
00064   class streambuf;
00065   class istream;
00066   class ostream;
00067   class iostream;
00068   class filebuf;
00069   class ifstream;
00070   class ofstream;
00071   class fstream;
00072 
00073 # endif /* ! ACE_HAS_STANDARD_CPP_LIBRARY */
00074 
00075 #include "ace/post.h"
00076 #endif /* ACE_IOSFWD_H */

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