|
UniDx
|
読み書きプロパティ [詳解]
#include <Property.h>
公開型 | |
| using | Getter = ReadOnlyProperty<T>::Getter |
| using | Setter = std::function<void(const T&)> |
| 基底クラス UniDx::ReadOnlyProperty< T > に属する継承公開型 | |
| using | Getter = std::function<T()> |
公開メンバ関数 | |
| Property (Getter getter, Setter setter) | |
| void | set (const T &value) |
| 値の設定 | |
| template<typename U> | |
| Property & | operator= (const U &value) |
| C#風代入アクセス | |
| 基底クラス UniDx::ReadOnlyProperty< T > に属する継承公開メンバ関数 | |
| ReadOnlyProperty (Getter getter) | |
| Getterを与えるコンストラクタ | |
| T | get () const |
| 値の取得 | |
| operator T () const | |
| 値の変換 | |
| template<typename U> | |
| auto | operator<=> (const U &rhs) const |
| 三方比較演算 | |
その他の継承メンバ | |
| 基底クラス UniDx::ReadOnlyProperty< T > に属する継承限定公開変数類 | |
| Getter | getter_ |
読み書きプロパティ
| using UniDx::Property< T >::Getter = ReadOnlyProperty<T>::Getter |
| using UniDx::Property< T >::Setter = std::function<void(const T&)> |
|
inline |
|
inline |
C#風代入アクセス
|
inline |
値の設定