Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef ACE_IOS_UTIL_H
00010 #define ACE_IOS_UTIL_H
00011
00012 #include "ace/pre.h"
00013
00014 #include "ace/INet/INet_Export.h"
00015 #include <iostream>
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 #if !defined(ACE_IOS_INIT_FIX)
00042
00043 # if defined(_MSC_VER) && (!defined(_STLP_MSVC) || defined(_STLP_NO_OWN_IOSTREAMS))
00044 # define ACE_IOS_INIT_FIX 1
00045
00046 # elif defined(__QNX__) && !defined(__GLIBCPP__)
00047 # define ACE_IOS_INIT_FIX 1
00048 # endif
00049 #endif
00050
00051 #if defined(ACE_IOS_INIT_FIX)
00052 # define ace_ios_init(buf)
00053 #else
00054 # define ace_ios_init(buf) this->init(buf)
00055 #endif
00056
00057 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00058
00059 namespace ACE
00060 {
00061 namespace IOS
00062 {
00063 class ACE_INET_Export Null
00064 {
00065 public:
00066 static std::ostream out_stream_;
00067 static std::istream in_stream_;
00068 };
00069 }
00070 }
00071
00072 ACE_END_VERSIONED_NAMESPACE_DECL
00073
00074 #include "ace/post.h"
00075 #endif