24 #ifndef LOG4CPLUS_HELPERS_PROPERTY_HEADER_ 25 #define LOG4CPLUS_HELPERS_PROPERTY_HEADER_ 29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE) 53 , fUnspecEncoding = (0 << fEncodingShift)
54 #
if defined (LOG4CPLUS_HAVE_CODECVT_UTF8_FACET) && defined (UNICODE)
55 , fUTF8 = (1 << fEncodingShift)
57 #
if (defined (LOG4CPLUS_HAVE_CODECVT_UTF16_FACET) || defined (_WIN32)) \
59 , fUTF16 = (2 << fEncodingShift)
61 #
if defined (LOG4CPLUS_HAVE_CODECVT_UTF32_FACET) && defined (UNICODE)
62 , fUTF32 = (3 << fEncodingShift)
79 bool exists(
tchar const * key)
const;
111 std::vector<log4cplus::tstring> propertyNames()
const;
139 typedef std::map<log4cplus::tstring, log4cplus::tstring>
StringMap;
149 template <
typename StringType>
151 StringType
const & key)
const;
153 template <
typename ValType>
154 bool get_type_val_worker (ValType & val,
162 #endif // LOG4CPLUS_HELPERS_PROPERTY_HEADER_
static const tchar PROPERTIES_COMMENT_CHAR
std::map< log4cplus::tstring, log4cplus::tstring > StringMap
std::size_t size() const
Returns the number of entries in this map.
std::basic_string< tchar > tstring
std::basic_istream< tchar > tistream