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

プロパティテーブルクラス More...

#include <GxProperty.h>

Inheritance diagram for GxPropertyTable:
Collaboration diagram for GxPropertyTable:

Classes

class  GxNode
 登録ノードクラス More...
 

Public Member Functions

初期化
 GxPropertyTable (void)
 デフォルトコンストラクタ
 
 GxPropertyTable (const GxRtti &rtti, b32 withParentFlag=true)
 コンストラクタ
 
 GxPropertyTable (const GxPropertyTable &propertyTable)
 コピーコンストラクタ
 
 ~GxPropertyTable (void) override
 デストラクタ
 
virtual void operator= (const GxPropertyTable &propertyTable)
 代入
 
- 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

メンバ変数
u32 _count
 配列数
 
u32 _allocCount
 配列メモリの確保数
 
GxNode_pNode
 ノード
 

アクセサ

virtual GxPropertyoperator[] (u32 i) const
 const配列アクセス
 
virtual GxPropertyoperator[] (u32 i)
 配列アクセス
 
virtual GxClassBaseRootgetObject (u32 i) const
 オブジェクトを取得
 
virtual GxNodegetNode (u32 i) const
 ノードを取得
 
virtual u32 getCount (void) const
 プロパティ数を取得
 

操作

virtual void operator<< (const GxProperty &property)
 プロパティを追加
 
virtual void add (const GxProperty &property, GxClassBaseRoot *pObject=nullptr)
 プロパティを追加
 
virtual void add (GxProperty *pProperty, GxClassBaseRoot *pObject=nullptr)
 プロパティを追加
 
u32 add (const GxRtti &rtti, b32 withParentFlag=true)
 RTTIからプロパティを追加
 
void remove (GxProperty *pProperty)
 プロパティを削除
 
GX_FORCE_INLINE void clear (void)
 クリア
 
GX_FORCE_INLINE void allocForward (u32 count)
 リストのバッファを予め確保(リストが伸長する場合のみ)
 
constexpr void reset (void)
 リストのバッファを残しつつカウントを0にセットする
 

Additional Inherited Members

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

Detailed Description

プロパティテーブルクラス

Constructor & Destructor Documentation

◆ GxPropertyTable() [1/2]

GxPropertyTable::GxPropertyTable ( const GxRtti & rtti,
b32 withParentFlag = true )

コンストラクタ

Parameters
rtti[in] RTTI
withParentFlag[in] 親を含めるか
Here is the call graph for this function:

◆ GxPropertyTable() [2/2]

GxPropertyTable::GxPropertyTable ( const GxPropertyTable & propertyTable)

コピーコンストラクタ

Parameters
propertyTable[in] プロパティテーブル
Here is the call graph for this function:

Member Function Documentation

◆ add() [1/3]

void GxPropertyTable::add ( const GxProperty & property,
GxClassBaseRoot * pObject = nullptr )
virtual

プロパティを追加

Parameters
property[in] 追加プロパティ
pObject[in] オブジェクト
Here is the caller graph for this function:

◆ add() [2/3]

u32 GxPropertyTable::add ( const GxRtti & rtti,
b32 withParentFlag = true )

RTTIからプロパティを追加

Parameters
rtti[in] RTTI
withParentFlag[in] 親を含めるか
Returns
登録プロパティ数
Here is the call graph for this function:

◆ add() [3/3]

void GxPropertyTable::add ( GxProperty * pProperty,
GxClassBaseRoot * pObject = nullptr )
virtual

プロパティを追加

Parameters
pProperty[in] 追加プロパティ
pObject[in] オブジェクト

◆ operator<<()

void GxPropertyTable::operator<< ( const GxProperty & property)
virtual

プロパティを追加

Parameters
property[in] プロパティ
Here is the call graph for this function:

◆ operator=()

void GxPropertyTable::operator= ( const GxPropertyTable & propertyTable)
virtual

代入

Parameters
propertyTable[in] プロパティテーブル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator[]() [1/2]

GxProperty & GxPropertyTable::operator[] ( u32 index)
virtual

配列アクセス

Parameters
index[in] インデックス
Returns
プロパティ
Here is the call graph for this function:

◆ operator[]() [2/2]

GxProperty & GxPropertyTable::operator[] ( u32 index) const
virtual

const配列アクセス

Parameters
index[in] インデックス
Returns
プロパティ
Here is the call graph for this function:

◆ remove()

void GxPropertyTable::remove ( GxProperty * pProperty)

プロパティを削除

Parameters
pProperty[in] 削除するプロパティ

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