oflog/include/dcmtk/oflog/fstreams.h

Go to the documentation of this file.
00001 // Module:  Log4CPLUS
00002 // File:    fstreams.h
00003 // Created: 4/2003
00004 // Author:  Tad E. Smith
00005 //
00006 //
00007 // Copyright 2003-2009 Tad E. Smith
00008 //
00009 // Licensed under the Apache License, Version 2.0 (the "License");
00010 // you may not use this file except in compliance with the License.
00011 // You may obtain a copy of the License at
00012 //
00013 //     http://www.apache.org/licenses/LICENSE-2.0
00014 //
00015 // Unless required by applicable law or agreed to in writing, software
00016 // distributed under the License is distributed on an "AS IS" BASIS,
00017 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00018 // See the License for the specific language governing permissions and
00019 // limitations under the License.
00020 
00023 #ifndef LOG4CPLUS_FSTREAMS_HEADER_
00024 #define LOG4CPLUS_FSTREAMS_HEADER_
00025 
00026 #include "dcmtk/oflog/config.h"
00027 
00028 //#include <fstream>
00029 
00030 #if defined(__DECCXX) && !defined(__USE_STD_IOSTREAM)
00031 #  define LOG4CPLUS_FSTREAM_NAMESPACE
00032 #else
00033 #  define LOG4CPLUS_FSTREAM_NAMESPACE std
00034 #endif
00035 
00036 
00037 namespace log4cplus {
00038     typedef LOG4CPLUS_FSTREAM_NAMESPACE::ofstream tofstream;
00039     typedef LOG4CPLUS_FSTREAM_NAMESPACE::ifstream tifstream;
00040 }
00041 
00042 #endif // LOG4CPLUS_FSTREAMS_HEADER_
00043 


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1