System::setter_post_increment_wrap メソッド

System::setter_post_increment_wrap(Host const, T(HostConstGet::)() const, void(HostSet::*)(T)) method

Translator は、setter と getter が定義されたインスタンスのプロパティを対象とする C# のポストインクリメント式を、const getter 用のオーバーロードであるこの関数の呼び出しに変換します。

template<typename T,typename Host,typename HostConstGet,typename HostSet> std::enable_if<std::is_base_of<HostConstGet, Host>::value &&std::is_base_of<HostSet, Host>::value, T>::type System::setter_post_increment_wrap(Host *const host, T(HostConstGet::*pGetter)() const, void(HostSet::*pSetter)(T))
パラメーター説明
Tプロパティの型です。
Host- 修正対象インスタンスのクラス
HostConstGet- プロパティの getter が定義されている Host 自体、またはその基底型
HostSet- プロパティの setter が定義されている Host 自体、またはその基底型
パラメーター説明
hostHost *constgetter と setter を呼び出すインスタンスです。
pGetterT(HostConstGet::*)() constプロパティの getter 関数を指す関数ポインタ
pSettervoid(HostSet::*)(T)プロパティのセッター関数を指す関数ポインタ

ReturnValue

インクリメント前のプロパティの値

参照

System::setter_post_increment_wrap(Host const, T(HostGet::)(), void(HostSet::*)(T)) method

翻訳ツールは、セッターとゲッターが定義されたインスタンスのプロパティを対象とした C# の後置インクリメント式を、この関数の呼び出し(非 const ゲッターのオーバーロード)に変換します。

template<typename T,typename Host,typename HostGet,typename HostSet> std::enable_if<std::is_base_of<HostGet, Host>::value &&std::is_base_of<HostSet, Host>::value, T>::type System::setter_post_increment_wrap(Host *const host, T(HostGet::*pGetter)(), void(HostSet::*pSetter)(T))
パラメーター説明
Tプロパティの型です。
Host- 修正対象インスタンスのクラス
HostGet- プロパティの getter が定義されている Host 自体、またはその基底型
HostSet- プロパティの setter が定義されている Host 自体、またはその基底型
パラメーター説明
hostHost *constgetter と setter を呼び出すインスタンスです。
pGetterT(HostGet::*)()プロパティの getter 関数を指す関数ポインタ
pSettervoid(HostSet::*)(T)プロパティのセッター関数を指す関数ポインタ

ReturnValue

インクリメント前のプロパティの値

参照

System::setter_post_increment_wrap(T()(), void()(T)) method

翻訳ツールは、セッターとゲッターが定義されたクラスのプロパティを対象とした C# の後置インクリメント式を、この関数の呼び出しに変換します。

template<typename T> T System::setter_post_increment_wrap(T(*pGetter)(), void(*pSetter)(T))
パラメーター説明
Tプロパティの型
パラメーター説明
pGetterT(*)()プロパティのゲッターフリー関数を指す関数ポインタ
pSettervoid(*)(T)プロパティのセッターフリー関数を指す関数ポインタ

ReturnValue

インクリメント前のプロパティの値

参照