3 #include "ScopeValue.h"
15 ScopeString(
const std::wstring& _str = L
"",
const std::wstring& _name = L
"None")
27 using ScopeValue::operator=;
50 bool operator!=(
const ScopeString& r)
const {
return !((*this)==r); }
51 bool operator==(
const std::wstring& r)
const {
return Value()==r; }
52 bool operator!=(
const std::wstring& r)
const {
return !((*this)==r); }
std::wstring Name() const
virtual std::wstring Set(const std::wstring &_v, const bool &_callguisignal=true, const bool &_callothersignal=true, const bool &_callatnochange=false)
Sets the value and calls both change signals if the value actually changed.
ScopeString(const ScopeString &origstr)
Safe copy constructor.
std::wstring Value() const
A templated class for a thread-safe value, with signals to GUI or other stuff that are called on valu...
A templated class for a thread-safe std::wstring, with signals that are called on value changes...
ScopeString(const std::wstring &_str=L"", const std::wstring &_name=L"None")
Base class for a thread-safe value, with signals that are called on value changes.