ギャザリングのホルダークラスです [詳解]
#include <RendezVous/Services/MatchMaking/src/Common/GatheringHolder.h>
公開メンバ関数 | |
GatheringHolder () | |
コンストラクタです。 [詳解] | |
GatheringHolder (Gathering *p) | |
コンストラクタです。 [詳解] | |
GatheringHolder (GatheringHolder const &other) | |
コピーコンストラクタです。 [詳解] | |
~GatheringHolder () | |
デストラクタです。 [詳解] | |
Gathering * | Get () const |
保持しているオブジェクトのポインタを返します。 [詳解] | |
Gathering & | operator* () const |
保持しているオブジェクトの参照を返します [詳解] | |
Gathering * | operator-> () const |
保持しているオブジェクトのポインタを返します [詳解] | |
GatheringHolder & | operator= (GatheringHolder const &other) |
代入演算子です。 [詳解] | |
GatheringHolder & | operator= (Gathering *p) |
代入演算子です。 [詳解] | |
Gathering * | Release () |
保持している Gathering クラスオブジェクトの所有権を解放します。 [詳解] | |
ギャザリングのホルダークラスです
Gathering クラス及び Gathering の派生クラス( MatchmakeSession ) をゲームサーバーに送受信するために使用されます。 内部で Gathering クラスオブジェクトのポインタを保持しており、代入やデストラクタ呼び出し時に保持しているオブジェクトのデストラクタも呼び出します。
nn::nex::GatheringHolder::GatheringHolder | ( | ) |
コンストラクタです。
初期値として NULL ポインタがセットされます
|
explicit |
nn::nex::GatheringHolder::~GatheringHolder | ( | ) |
デストラクタです。
保持している Gathering クラスオブジェクトをデストラクトします。 GatheringHolder のデストラクト後も Data クラスオブジェクトを使用する場合は、 Release() を呼び出してオブジェクトの所有権を変更してください。
nn::nex::GatheringHolder::GatheringHolder | ( | GatheringHolder const & | other | ) |
コピーコンストラクタです。
other が保持しているGathering クラスオブジェクトの所有権が this に移ります。
[in] | other | GatheringHolder クラスオブジェクト |
GatheringHolder& nn::nex::GatheringHolder::operator= | ( | GatheringHolder const & | other | ) |
代入演算子です。
other が保持している Gathering クラスオブジェクトの所有権が this に移ります。
this が既に Gathering クラスオブジェクトを保持していた場合は削除されます。
[in] | other | GatheringHolder クラスオブジェクト |
GatheringHolder& nn::nex::GatheringHolder::operator= | ( | Gathering * | p | ) |
Gathering& nn::nex::GatheringHolder::operator* | ( | ) | const |
保持しているオブジェクトの参照を返します
何も保持していない、または所有権を失った GatheringHolder クラスオブジェクトに対して呼ばないでください。
Gathering* nn::nex::GatheringHolder::operator-> | ( | ) | const |
保持しているオブジェクトのポインタを返します
Gathering* nn::nex::GatheringHolder::Get | ( | ) | const |
保持しているオブジェクトのポインタを返します。
保持している Gathering クラスオブジェクトを返します。セットされていない場合 NULL を返します。