SimpleWindow
|
属性基类模板 更多...
#include <Property.h>
Public 成员函数 | |
PropertyBase (PropertyBase &&)=delete | |
PropertyBase (const PropertyBase &)=delete | |
PropertyBase & | operator= (PropertyBase &&)=delete |
template<typename U = T> | |
std::enable_if<!std::is_pointer< U >::value, FakePtr< T > >::type | ListFieldsImpl () const |
获取属性值,由子类实现 | |
template<typename U = T> | |
std::enable_if< std::is_pointer< U >::value, T >::type | ListFieldsImpl () const |
获取字段,可由子类重写 | |
T | Get () const |
获取属性值 | |
void | Set (const T &value) const |
设置属性值 | |
auto | operator-> () const |
取属性字段 | |
operator T () const | |
获取属性值 | |
TDerived & | operator= (const T &value) |
设置属性值 | |
const TDerived & | operator= (const T &value) const |
设置属性值 | |
TDerived & | operator= (const PropertyBase &prop) |
设置属性值 | |
const TDerived & | operator= (const PropertyBase &prop) const |
设置属性值 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, TDerived & >::type | operator+= (T value) |
加赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, constTDerived & >::type | operator+= (T value) const |
加赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, TDerived & >::type | operator-= (T value) |
减赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, constTDerived & >::type | operator-= (T value) const |
减赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, TDerived & >::type | operator*= (T value) |
乘赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, constTDerived & >::type | operator*= (T value) const |
乘赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, TDerived & >::type | operator/= (T value) |
除赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, constTDerived & >::type | operator/= (T value) const |
除赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, TDerived & >::type | operator++ () |
前置自增运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, constTDerived & >::type | operator++ () const |
前置自增运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, TDerived & >::type | operator-- () |
前置自减运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, constTDerived & >::type | operator-- () const |
前置自减运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, T >::type | operator++ (int) const |
后置自增运算 | |
template<typename U = T> | |
std::enable_if< std::is_arithmetic< U >::value, T >::type | operator-- (int) const |
后置自减运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, TDerived & >::type | operator&= (T value) |
按位与赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, constTDerived & >::type | operator&= (T value) const |
按位与赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, TDerived & >::type | operator|= (T value) |
按位或赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, constTDerived & >::type | operator|= (T value) const |
按位或赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, TDerived & >::type | operator^= (T value) |
按位异或赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, constTDerived & >::type | operator^= (T value) const |
按位异或赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, TDerived & >::type | operator<<= (T value) |
左移赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, constTDerived & >::type | operator<<= (T value) const |
左移赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, TDerived & >::type | operator>>= (T value) |
右移赋值运算 | |
template<typename U = T> | |
std::enable_if< std::is_integral< U >::value, constTDerived & >::type | operator>>= (T value) const |
右移赋值运算 | |
友元 | |
std::wostream & | operator<< (std::wostream &wos, const PropertyBase &prop) |
支持Utils::BuildStr | |
属性基类模板
|
inline |
获取属性值,由子类实现
设置属性值,由子类实现
获取字段,可由子类重写
获取字段,可由子类重写