Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Kernel::ConfigServiceImpl::ValueChanged Class Reference

This is the class for the notification that is to be sent when a value has been changed in config service. More...

#include <ConfigService.h>

Inheritance diagram for Mantid::Kernel::ConfigServiceImpl::ValueChanged:
Mantid::Kernel::ConfigServiceImpl::ConfigServiceNotification

Public Member Functions

const std::string & curValue () const
 The new value for the property. More...
 
const std::string & key () const
 The name of the user property that has changed, as it appears in the user.properties file. More...
 
const std::string & preValue () const
 The previous value for the property. More...
 
 ValueChanged (const std::string &name, const std::string &newvalue, const std::string &prevvalue)
 Creates the Notification object with the required values. More...
 
- Public Member Functions inherited from Mantid::Kernel::ConfigServiceImpl::ConfigServiceNotification
 ConfigServiceNotification ()
 Empty constructor for ConfigServiceNotification Base Class. More...
 

Private Attributes

std::string m_name
 The name of the changed the property. More...
 
std::string m_prev
 The previous value for the property. More...
 
std::string m_value
 The new value for the property. More...
 

Detailed Description

This is the class for the notification that is to be sent when a value has been changed in config service.

Definition at line 81 of file ConfigService.h.

Constructor & Destructor Documentation

◆ ValueChanged()

Mantid::Kernel::ConfigServiceImpl::ValueChanged::ValueChanged ( const std::string &  name,
const std::string &  newvalue,
const std::string &  prevvalue 
)
inline

Creates the Notification object with the required values.

Parameters
name:: property that has been changed
newvalue:: new value of property
prevvalue:: previous value of property

Definition at line 88 of file ConfigService.h.

Member Function Documentation

◆ curValue()

const std::string & Mantid::Kernel::ConfigServiceImpl::ValueChanged::curValue ( ) const
inline

The new value for the property.

Returns
The new value for the property

Definition at line 94 of file ConfigService.h.

References m_value.

◆ key()

const std::string & Mantid::Kernel::ConfigServiceImpl::ValueChanged::key ( ) const
inline

The name of the user property that has changed, as it appears in the user.properties file.

Returns
The name of the changed the property

Definition at line 92 of file ConfigService.h.

◆ preValue()

const std::string & Mantid::Kernel::ConfigServiceImpl::ValueChanged::preValue ( ) const
inline

The previous value for the property.

Returns
The previous value for the property

Definition at line 96 of file ConfigService.h.

Member Data Documentation

◆ m_name

std::string Mantid::Kernel::ConfigServiceImpl::ValueChanged::m_name
private

The name of the changed the property.

Definition at line 98 of file ConfigService.h.

◆ m_prev

std::string Mantid::Kernel::ConfigServiceImpl::ValueChanged::m_prev
private

The previous value for the property.

Definition at line 100 of file ConfigService.h.

◆ m_value

std::string Mantid::Kernel::ConfigServiceImpl::ValueChanged::m_value
private

The new value for the property.

Definition at line 99 of file ConfigService.h.


The documentation for this class was generated from the following file: