ツリーノードクラス More...
#include <GxTree.h>


Public Member Functions | |
アクセサ | |
| void | setObject (void *pObject) override |
| 登録オブジェクト設定 | |
| constexpr GxClassBaseReference * | getObject (void) const |
| 登録オブジェクト取得 | |
| GX_FORCE_INLINE GxTree::GxNode * | getParent (void) |
| 親ノード取得 | |
| constexpr GxTree::GxNode * | getChild (void) const |
| 子ノード取得 | |
| constexpr GxTree::GxNode * | getPrevious (void) const |
| 同一階層前ノード取得 | |
| constexpr GxTree::GxNode * | getNext (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::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 |
| 同一階層ノード判定 | |
| 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) |
| デフォルトオブジェクト判定 | |
コンストラクタ | |
| 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 |
| 同一階層次ノード | |
ツリーノードクラス
|
inline |
コンストラクタ
| pTree | [in] 所属ツリーポインタ |
|
overridevirtual |
ノード削除
Reimplemented from GxTreeBase::GxNodeBase.
|
overridevirtual |