ezEngine Release 26.9
Loading...
Searching...
No Matches
ezReflectedPropertyDescriptor Struct Reference

Stores the description of a reflected property in a serializable form, used by ezReflectedTypeDescriptor. More...

#include <ReflectedType.h>

Inheritance diagram for ezReflectedPropertyDescriptor:

Public Member Functions

 ezReflectedPropertyDescriptor (ezPropertyCategory::Enum category, ezStringView sName, ezStringView sType, ezBitflags< ezPropertyFlags > flags)
 
 ezReflectedPropertyDescriptor (ezPropertyCategory::Enum category, ezStringView sName, ezStringView sType, ezBitflags< ezPropertyFlags > flags, ezArrayPtr< const ezPropertyAttribute *const > attributes)
 
 ezReflectedPropertyDescriptor (ezStringView sName, const ezVariant &constantValue, ezArrayPtr< const ezPropertyAttribute *const > attributes)
 Initialize to a constant.
 
 ezReflectedPropertyDescriptor (const ezReflectedPropertyDescriptor &rhs)
 
void operator= (const ezReflectedPropertyDescriptor &rhs)
 
- Public Member Functions inherited from ezAttributeHolder
 ezAttributeHolder (const ezAttributeHolder &rhs)
 
ezUInt32 GetCount () const
 
const ezPropertyAttributeGetValue (ezUInt32 uiIndex) const
 
void SetValue (ezUInt32 uiIndex, const ezPropertyAttribute *value)
 
void Insert (ezUInt32 uiIndex, const ezPropertyAttribute *value)
 
void Remove (ezUInt32 uiIndex)
 
void operator= (const ezAttributeHolder &rhs)
 

Public Attributes

ezEnum< ezPropertyCategorym_Category
 
ezString m_sName
 The name of this property. E.g. what ezAbstractProperty::GetPropertyName() returns.
 
ezString m_sType
 The name of the type of the property. E.g. ezAbstractProperty::GetSpecificType().GetTypeName()
 
ezBitflags< ezPropertyFlagsm_Flags
 
ezVariant m_ConstantValue
 
- Public Attributes inherited from ezAttributeHolder
ezHybridArray< const ezPropertyAttribute *, 2 > m_Attributes
 
ezArrayPtr< const ezPropertyAttribute *const > m_ReferenceAttributes
 

Detailed Description

Stores the description of a reflected property in a serializable form, used by ezReflectedTypeDescriptor.

Member Data Documentation

◆ m_Flags

ezBitflags<ezPropertyFlags> ezReflectedPropertyDescriptor::m_Flags

ezPropertyFlags::Phantom is not part of a descriptor: it is added by the ezPhantom*Property classes when the descriptor is registered, so setting it here has no effect other than writing it into serialized documents.


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