OROCHI
 
Loading...
Searching...
No Matches
GxArrayClassBaseReference Class Reference

参照カウンタ用配列クラス More...

#include <GxArrayClassBase.h>

Inheritance diagram for GxArrayClassBaseReference:
Collaboration diagram for GxArrayClassBaseReference:

Public Member Functions

初期化
 GxArrayClassBaseReference (void)
 デフォルトコンストラクタ
 
 GxArrayClassBaseReference (GxAllocatorList::ALLOCATOR_TYPE allocatorType)
 コンストラクタ
 
 ~GxArrayClassBaseReference (void) override
 デストラクタ
 
操作
void erase (u32 index) override
 解放(nullptrにするだけ)
 
アクセサ
void setObject (u32 index, GxClassBaseRoot *pObject) override
 オブジェクトの設定
 
- Public Member Functions inherited from GxArrayClassBase
 GxArrayClassBase (void)
 デフォルトコンストラクタ
 
 GxArrayClassBase (GxAllocatorList::ALLOCATOR_TYPE allocatorType)
 コンストラクタ
 
 ~GxArrayClassBase (void) override
 デストラクタ
 
GX_FORCE_INLINE void addTop (GxClassBaseRoot *pObject)
 先頭に追加
 
void addBottom (GxClassBaseRoot *pObject)
 末尾に追加
 
void insert (u32 index, GxClassBaseRoot *pObject)
 挿入
 
void erase (GxClassBaseRoot *pObject)
 解放(nullptrにするだけ)
 
void eraseAll (void)
 全削除
 
void eraseAllFast (void)
 全削除(要素をクリアしない高速版)
 
void remove (GxClassBaseRoot *pObject)
 削除(領域を詰める)
 
void removeFirst (GxClassBaseRoot *pObject)
 削除(領域を詰める、見つかったら終了)
 
void remove (u32 index)
 削除(領域を詰める)
 
void removeNullObject (void)
 Objectがnullptrの領域を削除して詰める)
 
GX_FORCE_INLINE void removeAll (void)
 全削除
 
GxClassBaseRootpop (void)
 末尾から取り出し
 
s32 findIndex (GxClassBaseRoot *pObject, u32 startIndex=0) const
 オブジェクトのインデックスを返す
 
constexpr __typeoperator[] (u32 i) const
 const配列
 
constexpr __typeoperator[] (u32 i)
 配列
 
constexpr GxArray::Iterator< __typebegin (void) const
 先頭を取得
 
constexpr GxArray::Iterator< __typeend (void) const
 終端を取得
 
constexpr GxClassBaseRootgetObject (u32 index) const
 オブジェクトの取得
 
constexpr u32 getCount (void) const
 配列数を取得
 
void setCount (u32 count)
 配列数を設定
 
constexpr u32 getAllocCount (void) const
 メモリ確保数を取得
 
void setAllocCount (u32 count)
 
s32 indexOf (GxClassBaseRoot *pObject) const
 インデックスを取得
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

Additional Inherited Members

- Public Types inherited from GxArrayClassBase
using __type = GxClassBaseRoot*
 
- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Static Public Attributes inherited from GxArrayClassBase
static constexpr u32 ALLOC_COUNT_FIRST = 8
 初期の確保領域
 
- Protected Member Functions inherited from GxArrayClassBase
virtual GxClassBaseRoot ** allocateMemory (u32 size)
 メモリ確保関数
 
virtual u32 expandAllocCount (void)
 
- Protected Attributes inherited from GxArrayClassBase
GxClassBaseRoot ** _ppObject
 配列データ
 
u32 _allocCount
 確保した配列数
 
u32 _count
 配列数
 
GxAllocatorList::ALLOCATOR_TYPE _allocatorType
 アロケータ種別
 

Detailed Description

参照カウンタ用配列クラス

Member Function Documentation

◆ erase()

void GxArrayClassBaseReference::erase ( u32 index)
overridevirtual

解放(nullptrにするだけ)

Parameters
index[in] 削除位置

Reimplemented from GxArrayClassBase.

Here is the caller graph for this function:

◆ setObject()

void GxArrayClassBaseReference::setObject ( u32 index,
GxClassBaseRoot * pObject )
overridevirtual

オブジェクトの設定

Parameters
index[in] 設定位置
pObject[in] 設定オブジェクト

Reimplemented from GxArrayClassBase.

Here is the call graph for this function:

The documentation for this class was generated from the following files: