CrossFramework Library
|
#include <XBase/AutoSPPtr.hpp>
AutoPtrのAllocator指定版。
コンストラクタとデストラクタ | |
AutoSPPtr () | |
デフォルトで作成。 | |
AutoSPPtr (::XBase::IAllocator &aAllocator) | |
0引数 init() で作成。 | |
template<typename A0 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0) | |
1引数 init() で作成。 | |
template<typename A0 , typename A1 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0, A1 a1) | |
2引数 init() で作成。 | |
template<typename A0 , typename A1 , typename A2 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2) | |
3引数 init() で作成。 | |
template<typename A0 , typename A1 , typename A2 , typename A3 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3) | |
4引数 init() で作成。 | |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4) | |
5引数 init() で作成。 | |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) | |
6引数 init() で作成。 | |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) | |
7引数 init() で作成。 | |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) | |
8引数 init() で作成。 | |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) | |
9引数 init() で作成。 | |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 > | |
AutoSPPtr (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9) | |
10引数 init() で作成。 | |
AutoSPPtr (const AutoSPPtr< T > &aPtr) | |
破棄責任を委譲して作成。 | |
template<typename OtherType > | |
AutoSPPtr (const AutoSPPtr< OtherType > &aPtr) | |
破棄責任を委譲して作成。 | |
~AutoSPPtr () | |
デストラクタ | |
取得 | |
bool | isNull () const |
ポインタが設定されていなければtrueを返す。 | |
bool | isValid () const |
ポインタが設定されていればtrueを返す。 | |
T & | ref () const |
ポインタの参照を取得する。 | |
T * | get () const |
ポインタの値をそのまま取得する。 | |
破棄 | |
void | reset () |
ポインタを設定していない状態にする。 | |
生成 | |
void | init (::XBase::IAllocator &aAllocator) |
template<typename A0 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0) |
template<typename A0 , typename A1 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0, A1 a1) |
template<typename A0 , typename A1 , typename A2 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2) |
template<typename A0 , typename A1 , typename A2 , typename A3 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3) |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4) |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) |
template<typename A0 , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 > | |
void | init (::XBase::IAllocator &aAllocator, A0 a0, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9) |
演算子オーバーロード | |
AutoSPPtr< T > & | operator= (const AutoSPPtr< T > &aRHS) |
特別な代入演算子。 | |
template<typename OtherType > | |
AutoSPPtr< T > & | operator= (const AutoSPPtr< OtherType > &aRHS) |
特別な代入演算子。 | |
T & | operator* () const |
参照演算子。 | |
T * | operator-> () const |
参照演算子 |