4
* Copyright 2002, Log4cpp Project. All rights reserved.
6
* See the COPYING file for the terms of usage and distribution.
9
#ifndef _LOG4SHIB_PROPERTIES_HH
10
#define _LOG4SHIB_PROPERTIES_HH
12
#include "PortabilityImpl.hh"
19
class Properties : public std::map<std::string, std::string> {
22
virtual ~Properties();
24
virtual void load(std::istream& in);
25
virtual void save(std::ostream& out);
27
virtual int getInt(const std::string& property, int defaultValue);
28
virtual bool getBool(const std::string& property, bool defaultValue);
29
virtual std::string getString(const std::string& property,
30
const char* defaultValue);
33
virtual void _substituteVariables(std::string& value);
37
#endif // _LOG4SHIB_PROPERTIES_HH