Library: OSP
Package: PreferencesService
Header: Poco/OSP/PreferencesEvent.h
The PreferencesEvent class holds information about a changed property in a Preferences object.
Member Functions: name, newValue, oldValue, operator =, swap
PreferencesEvent(
const PreferencesEvent & event
);
Creates the PreferencesEvent by copying another one.
PreferencesEvent(
const std::string & name,
const std::string & oldValue,
const std::string & newValue
);
Creates the PreferencesEvent.
~PreferencesEvent();
Destroys the PreferencesEvent.
const std::string & name() const;
Returns the name of the changed property.
const std::string & newValue() const;
Returns the value of the property after the change.
const std::string & oldValue() const;
Returns the value of the property before the change.
PreferencesEvent & operator = (
const PreferencesEvent & event
);
Assignment operator.
void swap(
PreferencesEvent & event
);
Swaps the event's state with another one.