![]() |
Skylicht Engine
|
Public Member Functions | |
| CEnumProperty (CObjectSerializable *owner, const char *name, T value) | |
| void | addEnumString (const char *name, T value) |
| virtual void | setIntValue (int value) |
| virtual int | getIntValue () |
| virtual void | serialize (io::IAttributes *io) |
| virtual void | deserialize (io::IAttributes *io) |
| virtual CValueProperty * | clone () |
| Public Member Functions inherited from Skylicht::CValuePropertyTemplate< T > | |
| 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 () |
| void | setUIHeader (const char *header) |
| const std::string & | getUIHeader () |
| void | setUISpace (float space) |
| float | getUISpace () |
| void | setHidden (bool b) |
| bool | isHidden () |
| Public Member Functions inherited from Skylicht::CEnumPropertyData | |
| void | addEnumStringInt (const char *name, int value) |
| int | getEnumCount () |
| const SEnumString & | getEnum (int i) |
| SEnumString * | getEnumByValue (int value) |
| const std::vector< SEnumString > & | getEnum () |
| void | setEnums (const std::vector< SEnumString > &e) |
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 |
| Protected Attributes inherited from Skylicht::CValuePropertyTemplate< T > | |
| 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 |
| Protected Attributes inherited from Skylicht::CEnumPropertyData | |
| std::vector< SEnumString > | m_enums |
|
inlinevirtual |
Implements Skylicht::CValueProperty.
|
inlinevirtual |
Implements Skylicht::CValueProperty.
|
inlinevirtual |
Implements Skylicht::CEnumPropertyData.
|
inlinevirtual |
Implements Skylicht::CValueProperty.
|
inlinevirtual |
Implements Skylicht::CEnumPropertyData.