mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-17 07:13:27 +02:00
Make setInt, setBool, ... virtual to make it possible to override them
This commit is contained in:
parent
77ca91b475
commit
2f36abaa6d
@ -240,27 +240,27 @@ public:
|
||||
/// If the value contains references to other properties (${<property>}), these
|
||||
/// are expanded.
|
||||
|
||||
void setString(const std::string& key, const std::string& value);
|
||||
virtual void setString(const std::string& key, const std::string& value);
|
||||
/// Sets the property with the given key to the given value.
|
||||
/// An already existing value for the key is overwritten.
|
||||
|
||||
void setInt(const std::string& key, int value);
|
||||
virtual void setInt(const std::string& key, int value);
|
||||
/// Sets the property with the given key to the given value.
|
||||
/// An already existing value for the key is overwritten.
|
||||
|
||||
#if defined(POCO_HAVE_INT64)
|
||||
|
||||
void setInt64(const std::string& key, Int64 value);
|
||||
virtual void setInt64(const std::string& key, Int64 value);
|
||||
/// Sets the property with the given key to the given value.
|
||||
/// An already existing value for the key is overwritten.
|
||||
|
||||
#endif // defined(POCO_HAVE_INT64)
|
||||
|
||||
void setDouble(const std::string& key, double value);
|
||||
virtual void setDouble(const std::string& key, double value);
|
||||
/// Sets the property with the given key to the given value.
|
||||
/// An already existing value for the key is overwritten.
|
||||
|
||||
void setBool(const std::string& key, bool value);
|
||||
virtual void setBool(const std::string& key, bool value);
|
||||
/// Sets the property with the given key to the given value.
|
||||
/// An already existing value for the key is overwritten.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user