連結リストクラス More...
#include <GxList.h>


Classes | |
| class | GxIterator |
| イテレータ More... | |
| class | GxNode |
| 連結リストノードクラス More... | |
Public Member Functions | |
アクセサ | |
| GX_FORCE_INLINE GxIterator< void * > | begin (void) |
| 先頭を取得 | |
| GX_FORCE_INLINE GxIterator< void * > | end (void) |
| 終端を取得 | |
| constexpr GxNode * | getTop (void) const |
| 先頭を取得 | |
| constexpr GxNode * | getBottom (void) const |
| 終端を取得 | |
| GxNode * | getNode (u32 index) const |
| 指定インデックスのノードを取得 | |
| constexpr u32 | getCount (void) const |
| 要素数を取得 | |
| constexpr void | setAllocatorType (GxAllocatorList::ALLOCATOR_TYPE allocatorType) |
| アロケータタイプを指定 | |
操作 | |
| GxNode * | addTop (void *pObject) |
| 先頭に追加 | |
| GxNode * | addBottom (void *pObject) |
| 終端に追加 | |
| void | insert (GxNode *pNode, void *pObject) |
| 指定ノードの後に挿入 | |
| virtual void | erase (GxNode *pNode) |
| 対象ノードを削除 | |
| virtual void | eraseAll (void) |
| 全ノードを削除 | |
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 GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
| 代入演算子 | |
| virtual GxRtti & | getRtti (void) const =0 |
| Rttiの取得 | |
| virtual GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) |
| デフォルトオブジェクトを取得 | |
| GX_FORCE_INLINE b32 | isDefaultObject (void) |
| デフォルトオブジェクト判定 | |
Protected Attributes | |
メンバ変数 | |
| GxList::GxNode * | _pTop |
| 先頭ノード | |
| GxList::GxNode * | _pBottom |
| 終端ノード | |
| u32 | _count |
| ノード数 | |
| GxAllocatorList::ALLOCATOR_TYPE | _allocatorType |
| アロケータ種別 | |
初期化 | |
| GxList (void) | |
| デフォルトコンストラクタ | |
| GxList (GxAllocatorList::ALLOCATOR_TYPE allocatorType) | |
| コンストラクタ | |
| ~GxList (void) override | |
| デストラクタ | |
| virtual GxNode * | allocGxNode (void) |
| GxNodeのメモリ確保 | |
Additional Inherited Members | |
Static Public Member Functions inherited from GxClassBaseRoot | |
| static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
| Rttiの取得 | |
連結リストクラス
| GxList::GxList | ( | GxAllocatorList::ALLOCATOR_TYPE | allocatorType | ) |
コンストラクタ
| allocatorType | [in] 使用アロケータ |
| GxList::GxNode * GxList::addBottom | ( | void * | pObject | ) |
終端に追加
| pObject | [in] 追加オブジェクト |


| GxList::GxNode * GxList::addTop | ( | void * | pObject | ) |
先頭に追加
| pObject | [in] 追加オブジェクト |

|
protectedvirtual |
GxNodeのメモリ確保

| GX_FORCE_INLINE GxList::GxIterator< void * > GxList::begin | ( | void | ) |
先頭を取得
先頭を取得
| GX_FORCE_INLINE GxList::GxIterator< void * > GxList::end | ( | void | ) |
終端を取得
終端を取得

|
virtual |
対象ノードを削除
| pNode | [in] 削除ノード |
| GxList::GxNode * GxList::getNode | ( | u32 | index | ) | const |
指定インデックスのノードを取得
| index | [in] インデックス |
| void GxList::insert | ( | GxNode * | pNode, |
| void * | pObject ) |
指定ノードの後に挿入
| pNode | [in] ノード |
| pObject | [in] 追加オブジェクト |
