XII Release 0.1.0
Loading...
Searching...
No Matches
xiiScriptFunctionProperty Class Reference
Inheritance diagram for xiiScriptFunctionProperty:
[legend]

Public Member Functions

 xiiScriptFunctionProperty (xiiStringView sName)
Public Member Functions inherited from xiiAbstractFunctionProperty
 xiiAbstractFunctionProperty (xiiStringView sPropertyName)
 Passes the property name through to xiiAbstractProperty.
virtual xiiPropertyCategory::Enum GetCategory () const override
 Returns the category of this property. Cast this property to the next higher type for more information.
virtual xiiFunctionType::Enum GetFunctionType () const =0
 Returns the type of function, see xiiFunctionPropertyType::Enum.
virtual const xiiRTTI * GetReturnType () const =0
 Returns the type of the return value.
virtual xiiBitflags< xiiPropertyFlags > GetReturnFlags () const =0
 Returns property flags of the return value.
virtual xiiUInt32 GetArgumentCount () const =0
 Returns the number of arguments.
virtual const xiiRTTI * GetArgumentType (xiiUInt32 uiParamIndex) const =0
 Returns the type of the given argument.
virtual xiiBitflags< xiiPropertyFlags > GetArgumentFlags (xiiUInt32 uiParamIndex) const =0
 Returns the property flags of the given argument.
virtual void Execute (void *pInstance, xiiArrayPtr< xiiVariant > arguments, xiiVariant &out_returnValue) const =0
virtual const xiiRTTI * GetSpecificType () const override
xiiAbstractFunctionProperty * AddFlags (xiiBitflags< xiiPropertyFlags > flags)
 Adds flags to the property. Returns itself to allow to be called during initialization.
xiiAbstractFunctionProperty * AddAttributes (xiiPropertyAttribute *pAttrib1, xiiPropertyAttribute *pAttrib2=nullptr, xiiPropertyAttribute *pAttrib3=nullptr, xiiPropertyAttribute *pAttrib4=nullptr, xiiPropertyAttribute *pAttrib5=nullptr, xiiPropertyAttribute *pAttrib6=nullptr)
Public Member Functions inherited from xiiAbstractProperty
 xiiAbstractProperty (xiiStringView sPropertyName)
 The constructor must get the name of the property. The string must be a compile-time constant.
virtual ~xiiAbstractProperty ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
xiiStringView GetPropertyName () const
 Returns the name of the property.
const xiiBitflags< xiiPropertyFlags > & GetFlags () const
 Returns the flags of the property.
xiiAbstractProperty * AddFlags (xiiBitflags< xiiPropertyFlags > flags)
 Adds flags to the property. Returns itself to allow to be called during initialization.
xiiAbstractProperty * AddAttributes (xiiPropertyAttribute *pAttrib1, xiiPropertyAttribute *pAttrib2=nullptr, xiiPropertyAttribute *pAttrib3=nullptr, xiiPropertyAttribute *pAttrib4=nullptr, xiiPropertyAttribute *pAttrib5=nullptr, xiiPropertyAttribute *pAttrib6=nullptr)
xiiArrayPtr< const xiiPropertyAttribute *const > GetAttributes () const
 Returns the array of property attributes.
template<typename Type>
const Type * GetAttributeByType () const
 Returns the first attribute that derives from the given type, or nullptr if nothing is found.

Additional Inherited Members

Protected Attributes inherited from xiiAbstractProperty
xiiBitflags< xiiPropertyFlags > m_Flags
xiiStringView m_sPropertyName
xiiHybridArray< const xiiPropertyAttribute *, 2U, xiiStaticAllocatorWrapper > m_Attributes

The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Core/Scripting/ScriptRTTI.h
  • /home/runner/work/XII/XII/Source/Engine/Core/Scripting/Implementation/ScriptRTTI.cpp