OROCHI
 
Loading...
Searching...
No Matches
GxGuiFormProperty.h
Go to the documentation of this file.
1//===========================================================================
10//===========================================================================
11#pragma once
12
13#if GX_DEVELOP
14
15GX_CORE_NAMESPACE_BEGIN()
16
17//===========================================================================
19// 登録されたプロパティのGuiを作成する
20//===========================================================================
21class GxGuiFormProperty : public GxGuiFormExpand
22{
23 //-----------------------------------------------------------
25 //-----------------------------------------------------------
27public:
28 GX_RTTI_CLASS(GxGuiFormProperty, GxGuiFormExpand)
29 // 基底継承クラス用禁止宣言
30 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxGuiFormProperty)
31
32
33 //-----------------------------------------------------------
35 //-----------------------------------------------------------
37public:
39 GxGuiFormProperty(void);
40
42 b32 initialize( void ) override;
43
45 //-----------------------------------------------------------
47 //-----------------------------------------------------------
49protected:
51 void onExpand( b32 on ) override;
52
53public:
55 GX_FORCE_INLINE GxTypedObject* getOwner( void ){ return _pOwner; }
57 constexpr GxTypedObject* getOwner( void ) const { return _pOwner; }
58
60 void setPropertyTable( GxPropertyTable&list,GxTypedObject* pOwner, const GxRtti& rtti );
61
63 void clearPropertyTable( void );
64
66 void expandPropertyFromName( GX_CSTR name, b32 expand );
68 GX_FORCE_INLINE const GxPropertyTable& getPropertyTable(void) const { return _propertyTable; }
69
71 GX_FORCE_INLINE void updateGuiList( const GxString& /*searchString*/ ) {}
72protected:
74 void createGuiList( void );
75
77 //-----------------------------------------------------------
79 //-----------------------------------------------------------
81private:
82 GxPropertyTable _propertyTable;
83 GxTypedObject* _pOwner;
84 const GxRtti* _pRtti;
85
87};
88GX_CORE_NAMESPACE_END()
89
90#endif // GX_DEVELOP
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
void GxTypedObject
その他
Definition GxDefine.h:213
プロパティテーブルクラス
Definition GxProperty.h:1641
実行時型情報クラス
Definition GxRtti.h:154
文字列型クラス
Definition GxString.h:18
32bitブーリアン
Definition GxDefine.h:173