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

GxClassBase用連結リストクラス More...

#include <GxListClassBase.h>

Inheritance diagram for GxListClassBase:
Collaboration diagram for GxListClassBase:

Classes

class  GxIterator
 イテレータ More...
 
class  GxNodeClassBase
 GxClassBase用連結リストノードクラス More...
 

Public Types

定義
enum class  SORT { UP , DOWN }
 ソート方法 More...
 

Public Member Functions

アクセサ
GX_FORCE_INLINE GxIterator< GxClassBaseRoot * > begin (void)
 先頭を取得
 
GX_FORCE_INLINE GxIterator< GxClassBaseRoot * > end (void)
 終端を取得
 
constexpr GxNodeClassBasegetTop (void) const
 先頭を取得
 
constexpr GxNodeClassBasegetBottom (void) const
 終端を取得
 
GxNodeClassBasegetNode (u32 index) const
 指定インデックスのノードを取得
 
constexpr u32 getCount (void) const
 要素数を取得
 
constexpr void setAllocatorType (GxAllocatorList::ALLOCATOR_TYPE allocatorType)
 アロケータタイプを指定
 
- 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)
 デフォルトオブジェクト判定
 

Protected Attributes

メンバ変数
GxListClassBase::GxNodeClassBase_pTop
 先頭ノード
 
GxListClassBase::GxNodeClassBase_pBottom
 終端ノード
 
u32 _count
 ノード数
 
GxAllocatorList::ALLOCATOR_TYPE _allocatorType
 アロケータ種別
 

初期化

 GxListClassBase (void)
 デフォルトコンストラクタ
 
 GxListClassBase (GxAllocatorList::ALLOCATOR_TYPE allocatorType)
 コンストラクタ
 
 ~GxListClassBase (void) override
 デストラクタ
 
virtual GxNodeClassBaseallocNode (void)
 Nodeのメモリ確保
 

操作

GxNodeClassBaseaddTop (GxClassBaseRoot *pObject)
 先頭に追加
 
GxNodeClassBaseaddBottom (GxClassBaseRoot *pObject)
 終端に追加
 
void insert (GxNodeClassBase *pNodeClassBase, GxClassBaseRoot *pObject)
 指定ノードの後に挿入
 
void erase (GxNodeClassBase *pNodeClassBase)
 対象ノードを削除
 
void eraseAll (void)
 全ノードを削除
 
void sortQuick (GxProperty *pProperty, const SORT sort)
 クイックソート関数
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 

Detailed Description

GxClassBase用連結リストクラス

Member Enumeration Documentation

◆ SORT

enum class GxListClassBase::SORT
strong

ソート方法

Enumerator
UP 

昇順

DOWN 

降順

Constructor & Destructor Documentation

◆ GxListClassBase()

GxListClassBase::GxListClassBase ( GxAllocatorList::ALLOCATOR_TYPE allocateType)

コンストラクタ

Parameters
allocateType[in] 使用アロケータ

Member Function Documentation

◆ addBottom()

GxListClassBase::GxNodeClassBase * GxListClassBase::addBottom ( GxClassBaseRoot * pObject)

終端に追加

Parameters
pObject[in] 追加オブジェクト
Returns
追加ノード
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addTop()

GxListClassBase::GxNodeClassBase * GxListClassBase::addTop ( GxClassBaseRoot * pObject)

先頭に追加

Parameters
pObject[in] 追加オブジェクト
Returns
追加ノード
Here is the call graph for this function:
Here is the caller graph for this function:

◆ allocNode()

GxListClassBase::GxNodeClassBase * GxListClassBase::allocNode ( void )
protectedvirtual

Nodeのメモリ確保

Returns
確保ノード

Reimplemented in GxListClassBaseReference, and GxSysUnit::GxAddList.

Here is the caller graph for this function:

◆ begin()

GX_FORCE_INLINE GxListClassBase::GxIterator< GxClassBaseRoot * > GxListClassBase::begin ( void )

先頭を取得

先頭を取得

Returns
イテレータ

◆ end()

GX_FORCE_INLINE GxListClassBase::GxIterator< GxClassBaseRoot * > GxListClassBase::end ( void )

終端を取得

終端を取得

Returns
イテレータ
Here is the call graph for this function:

◆ erase()

void GxListClassBase::erase ( GxNodeClassBase * pNode)

対象ノードを削除

Parameters
pNode[in] 削除ノード
Here is the caller graph for this function:

◆ getNode()

GxListClassBase::GxNodeClassBase * GxListClassBase::getNode ( u32 index) const

指定インデックスのノードを取得

Parameters
index[in] インデックス
Returns
取得ノード

◆ insert()

void GxListClassBase::insert ( GxNodeClassBase * pNode,
GxClassBaseRoot * pObject )

指定ノードの後に挿入

Parameters
pNode[in] ノード
pObject[in] 追加オブジェクト
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sortQuick()

void GxListClassBase::sortQuick ( GxProperty * pProperty,
const SORT sort )

クイックソート関数

Parameters
pProperty[in] キープロパティ
sort[in] ソート方法
Here is the call graph for this function:

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