OROCHI
 
Loading...
Searching...
No Matches
GxTree::GxNode Class Reference

ツリーノードクラス More...

#include <GxTree.h>

Inheritance diagram for GxTree::GxNode:
Collaboration diagram for GxTree::GxNode:

Public Member Functions

アクセサ
void setObject (void *pObject) override
 登録オブジェクト設定
 
constexpr GxClassBaseReferencegetObject (void) const
 登録オブジェクト取得
 
GX_FORCE_INLINE GxTree::GxNodegetParent (void)
 親ノード取得
 
constexpr GxTree::GxNodegetChild (void) const
 子ノード取得
 
constexpr GxTree::GxNodegetPrevious (void) const
 同一階層前ノード取得
 
constexpr GxTree::GxNodegetNext (void) const
 同一階層次ノード取得
 
操作
void erase (void) override
 ノード削除
 
- Public Member Functions inherited from GxTreeBase::GxNodeBase
 GxNodeBase (void)
 ディフォルトコンストラクタ (使用禁止)
 
 GxNodeBase (GxTreeBase *pTree)
 
 ~GxNodeBase (void)
 デストラクタ
 
constexpr void * getObject (void) const
 登録オブジェクト取得
 
GX_FORCE_INLINE GxTreeBase::GxNodeBasegetParent (void)
 親ノード取得
 
constexpr GxTreeBase::GxNodeBasegetChild (void) const
 子ノード取得
 
constexpr GxTreeBase::GxNodeBasegetPrevious (void) const
 同一階層前ノード取得
 
constexpr GxTreeBase::GxNodeBasegetNext (void) const
 同一階層次ノード取得
 
GxTreeBase::GxNodeBasegetPreviousTop (void)
 同一階層先頭(長兄)ノード取得
 
GxTreeBase::GxNodeBasegetNextEnd (void)
 同一階層終端(末弟)ノード取得
 
b32 isRoot (void) const
 ルートノード判定
 
b32 isChild (const GxTreeBase::GxNodeBase *pNode) const
 子ノード判定
 
b32 isBrother (const GxTreeBase::GxNodeBase *pNode) const
 同一階層ノード判定
 
GxTreeBase::GxNodeBasefind (const void *pObject)
 ノードの探索
 
void attachChild (GxTreeBase::GxNodeBase *pNode)
 指定ノードのChildに接続
 
void attachNext (GxTreeBase::GxNodeBase *pNode)
 指定ノードのNextに接続
 
void attachNextEnd (GxTreeBase::GxNodeBase *pNode)
 指定ノードの末弟に接続
 
void detach (void)
 ノードの接続分離
 
void detachParentPrevious (void)
 親、兄のノードの接続分離
 
void detachExceptChild (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 GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

コンストラクタ

 GxNode (void)
 ディフォルトコンストラクタ (使用禁止)
 
 GxNode (GxTree *pTree)
 
 ~GxNode (void)
 デストラクタ
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Protected Attributes inherited from GxTreeBase::GxNodeBase
GxTreeBase_pTree
 所属ツリー
 
void * _pObject
 登録オブジェクト
 
GxTreeBase::GxNodeBase_pParent
 親ノード
 
GxTreeBase::GxNodeBase_pChild
 子ノード
 
GxTreeBase::GxNodeBase_pPrevious
 同一階層前ノード
 
GxTreeBase::GxNodeBase_pNext
 同一階層次ノード
 

Detailed Description

ツリーノードクラス

Constructor & Destructor Documentation

◆ GxNode()

GxTree::GxNode::GxNode ( GxTree * pTree)
inline

コンストラクタ

Parameters
pTree[in] 所属ツリーポインタ

Member Function Documentation

◆ erase()

void GxTree::GxNode::erase ( void )
overridevirtual

ノード削除

Reimplemented from GxTreeBase::GxNodeBase.

◆ setObject()

void GxTree::GxNode::setObject ( void * pObject)
overridevirtual

登録オブジェクト設定

Parameters
pObject[in] 登録オブジェクトポインタ

Reimplemented from GxTreeBase::GxNodeBase.


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