API Documentation
00001 // Module: Log4CPLUS 00002 // File: fstreams.h 00003 // Created: 4/2003 00004 // Author: Tad E. Smith 00005 // 00006 // 00007 // Copyright (C) Tad E. Smith All rights reserved. 00008 // 00009 // This software is published under the terms of the Apache Software 00010 // License version 1.1, a copy of which has been included with this 00011 // distribution in the LICENSE.APL file. 00012 // 00013 00016 #ifndef LOG4CPLUS_FSTREAMS_HEADER_ 00017 #define LOG4CPLUS_FSTREAMS_HEADER_ 00018 00019 #include <log4cplus/config.h> 00020 00021 #include <fstream> 00022 00023 #if defined(__DECCXX) && !defined(__USE_STD_IOSTREAM) 00024 # define LOG4CPLUS_FSTREAM_NAMESPACE 00025 #else 00026 # define LOG4CPLUS_FSTREAM_NAMESPACE std 00027 #endif 00028 00029 00030 #ifdef UNICODE 00031 namespace log4cplus { 00032 typedef LOG4CPLUS_FSTREAM_NAMESPACE::wofstream tofstream; 00033 typedef LOG4CPLUS_FSTREAM_NAMESPACE::wifstream tifstream; 00034 } 00035 #else 00036 namespace log4cplus { 00037 typedef LOG4CPLUS_FSTREAM_NAMESPACE::ofstream tofstream; 00038 typedef LOG4CPLUS_FSTREAM_NAMESPACE::ifstream tifstream; 00039 } 00040 #endif // UNICODE 00041 00042 #endif // LOG4CPLUS_FSTREAMS_HEADER_ 00043