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

読み取り専用プロパティ [詳解]

#include <Property.h>

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

公開型

using Getter = std::function<T()>

公開メンバ関数

 ReadOnlyProperty (Getter getter)
 Getterを与えるコンストラクタ
get () const
 値の取得
 operator T () const
 値の変換
template<typename U>
auto operator<=> (const U &rhs) const
 三方比較演算

限定公開変数類

Getter getter_

詳解

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

読み取り専用プロパティ

型定義メンバ詳解

◆ Getter

template<typename T>
using UniDx::ReadOnlyProperty< T >::Getter = std::function<T()>

構築子と解体子

◆ ReadOnlyProperty()

template<typename T>
UniDx::ReadOnlyProperty< T >::ReadOnlyProperty ( Getter getter)
inline

Getterを与えるコンストラクタ

関数詳解

◆ get()

template<typename T>
T UniDx::ReadOnlyProperty< T >::get ( ) const
inline

値の取得

◆ operator T()

template<typename T>
UniDx::ReadOnlyProperty< T >::operator T ( ) const
inline

値の変換

◆ operator<=>()

template<typename T>
template<typename U>
auto UniDx::ReadOnlyProperty< T >::operator<=> ( const U & rhs) const
inline

三方比較演算

メンバ詳解

◆ getter_

template<typename T>
Getter UniDx::ReadOnlyProperty< T >::getter_
protected

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