![]() |
Skylicht Engine
|
Public Member Functions | |
| CValuePropertyTemplate (CObjectSerializable *owner, EPropertyDataType dataType, const char *name) | |
| void | set (const T &v) |
| const T & | get () const |
| T & | operator* () |
| Public Member Functions inherited from Skylicht::CValueProperty | |
| CValueProperty (CObjectSerializable *owner, EPropertyDataType dataType, const char *name) | |
| void | setOwner (CObjectSerializable *owner) |
| EPropertyDataType | getType () |
| EPropertyObjectType | getObjectType () |
| virtual void | serialize (io::IAttributes *io)=0 |
| virtual void | deserialize (io::IAttributes *io)=0 |
| virtual CValueProperty * | clone ()=0 |
| void | setUIHeader (const char *header) |
| const std::string & | getUIHeader () |
| void | setUISpace (float space) |
| float | getUISpace () |
| void | setHidden (bool b) |
| bool | isHidden () |
Protected Attributes | |
| T | m_value |
| Protected Attributes inherited from Skylicht::CValueProperty | |
| EPropertyDataType | m_dataType |
| EPropertyObjectType | m_objectType |
| CObjectSerializable * | m_owner |
| std::string | m_uiHeader |
| float | m_uiSpace |
| bool | m_hidden |
Additional Inherited Members | |
| Public Attributes inherited from Skylicht::CValueProperty | |
| std::function< void(bool)> | OnSetHidden |
| std::function< void()> | OnChanged |
| std::string | Name |
| std::vector< std::string > | OtherName |