ツリーノードクラス (任意オブジェクト用) More...
#include <GxTree.h>


Public Member Functions | |
コンストラクタ | |
| GxNodeBase (void) | |
| ディフォルトコンストラクタ (使用禁止) | |
| GxNodeBase (GxTreeBase *pTree) | |
| ~GxNodeBase (void) | |
| デストラクタ | |
アクセサ | |
| virtual GX_FORCE_INLINE void | setObject (void *pObject) |
| 登録オブジェクト設定 | |
| constexpr void * | getObject (void) const |
| 登録オブジェクト取得 | |
| GX_FORCE_INLINE GxTreeBase::GxNodeBase * | getParent (void) |
| 親ノード取得 | |
| constexpr GxTreeBase::GxNodeBase * | getChild (void) const |
| 子ノード取得 | |
| constexpr GxTreeBase::GxNodeBase * | getPrevious (void) const |
| 同一階層前ノード取得 | |
| constexpr GxTreeBase::GxNodeBase * | getNext (void) const |
| 同一階層次ノード取得 | |
| GxTreeBase::GxNodeBase * | getPreviousTop (void) |
| 同一階層先頭(長兄)ノード取得 | |
| GxTreeBase::GxNodeBase * | getNextEnd (void) |
| 同一階層終端(末弟)ノード取得 | |
| b32 | isRoot (void) const |
| ルートノード判定 | |
| b32 | isChild (const GxTreeBase::GxNodeBase *pNode) const |
| 子ノード判定 | |
| b32 | isBrother (const GxTreeBase::GxNodeBase *pNode) const |
| 同一階層ノード判定 | |
操作 | |
| virtual void | erase (void) |
| ノード削除 | |
| GxTreeBase::GxNodeBase * | find (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 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 | |
メンバ変数 | |
| GxTreeBase * | _pTree |
| 所属ツリー | |
| void * | _pObject |
| 登録オブジェクト | |
| GxTreeBase::GxNodeBase * | _pParent |
| 親ノード | |
| GxTreeBase::GxNodeBase * | _pChild |
| 子ノード | |
| GxTreeBase::GxNodeBase * | _pPrevious |
| 同一階層前ノード | |
| GxTreeBase::GxNodeBase * | _pNext |
| 同一階層次ノード | |
Additional Inherited Members | |
Static Public Member Functions inherited from GxClassBaseRoot | |
| static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
| Rttiの取得 | |
ツリーノードクラス (任意オブジェクト用)
|
inline |
コンストラクタ
| pTree | [in] 所属ツリーポインタ |
| void GxTreeBase::GxNodeBase::attachChild | ( | GxTreeBase::GxNodeBase * | pNode | ) |
指定ノードのChildに接続
| pNode | [in] 接続先ノード |
| void GxTreeBase::GxNodeBase::attachNext | ( | GxTreeBase::GxNodeBase * | pNode | ) |
指定ノードのNextに接続
| pNode | [in] 接続先ノード |
| void GxTreeBase::GxNodeBase::attachNextEnd | ( | GxTreeBase::GxNodeBase * | pNode | ) |
指定ノードの末弟に接続
| pNode | [in] 指定ノード |

| void GxTreeBase::GxNodeBase::detach | ( | void | ) |
ノードの接続分離
|
virtual |
| GxTreeBase::GxNodeBase * GxTreeBase::GxNodeBase::find | ( | const void * | pObject | ) |
ノードの探索
| pObject | [in] 探索するオブジェクト |


| GxTreeBase::GxNodeBase * GxTreeBase::GxNodeBase::getNextEnd | ( | void | ) |
同一階層終端(末弟)ノード取得

| GxTreeBase::GxNodeBase * GxTreeBase::GxNodeBase::getPreviousTop | ( | void | ) |
同一階層先頭(長兄)ノード取得

| b32 GxTreeBase::GxNodeBase::isBrother | ( | const GxTreeBase::GxNodeBase * | pNode | ) | const |
同一階層ノード判定
| pNode | [in] 判定対象ノード |
| b32 GxTreeBase::GxNodeBase::isChild | ( | const GxTreeBase::GxNodeBase * | pNode | ) | const |
子ノード判定
| pNode | [in] 判定対象ノード |
| b32 GxTreeBase::GxNodeBase::isRoot | ( | void | ) | const |
ルートノード判定
|
inlinevirtual |
登録オブジェクト設定
Reimplemented in GxTree::GxNode.