UniDx
読み取り中…
検索中…
一致する文字列を見つけられません
UniDx::Property< T > クラステンプレート

読み書きプロパティ [詳解]

#include <Property.h>

UniDx::Property< T > の継承関係図
UniDx::ReadOnlyProperty< T >

公開型

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>
Propertyoperator= (const U &value)
 C#風代入アクセス
基底クラス UniDx::ReadOnlyProperty< T > に属する継承公開メンバ関数
 ReadOnlyProperty (Getter getter)
 Getterを与えるコンストラクタ
get () const
 値の取得
 operator T () const
 値の変換
template<typename U>
auto operator<=> (const U &rhs) const
 三方比較演算

その他の継承メンバ

基底クラス UniDx::ReadOnlyProperty< T > に属する継承限定公開変数類
Getter getter_

詳解

template<typename T>
class UniDx::Property< T >

読み書きプロパティ

型定義メンバ詳解

◆ Getter

template<typename T>
using UniDx::Property< T >::Getter = ReadOnlyProperty<T>::Getter

◆ Setter

template<typename T>
using UniDx::Property< T >::Setter = std::function<void(const T&)>

構築子と解体子

◆ Property()

template<typename T>
UniDx::Property< T >::Property ( Getter getter,
Setter setter )
inline

関数詳解

◆ operator=()

template<typename T>
template<typename U>
Property & UniDx::Property< T >::operator= ( const U & value)
inline

C#風代入アクセス

◆ set()

template<typename T>
void UniDx::Property< T >::set ( const T & value)
inline

値の設定


このクラス詳解は次のファイルから抽出されました: