18 #ifndef _LOG4CXX_FILE_H 19 #define _LOG4CXX_FILE_H 21 #include <log4cxx/logger.h> 22 #include <log4cxx/logstring.h> 25 #pragma warning ( push ) 26 #pragma warning ( disable: 4251 ) 56 File(
const char* path);
61 File(
const std::string& path);
62 #if LOG4CXX_WCHAR_T_API 67 File(
const wchar_t* path);
72 File(
const std::wstring& path);
74 #if LOG4CXX_UNICHAR_API 79 File(
const UniChar* path);
84 File(
const std::basic_string<UniChar>& path);
86 #if LOG4CXX_CFSTRING_API 91 File(
const CFStringRef& path);
128 LogString getName()
const;
133 LogString getPath()
const;
137 File& setPath(
const LogString&);
147 log4cxx_status_t open(apr_file_t** file,
int flags,
186 static char* convertBackSlashes(
char*);
192 #if defined(_MSC_VER) 193 #pragma warning (pop) 196 #define LOG4CXX_FILE(name) log4cxx::File(name) 198 #endif // _LOG4CXX_FILE_H
An abstract representation of file and directory path names.
Definition: file.h:45
Definition: appender.h:33