XII Release 0.1.0
Loading...
Searching...
No Matches
xiiPropertyFlags Struct Reference

Flags used to describe a property and its type. More...

#include <AbstractProperty.h>

Classes

struct  Bits
 

Public Types

enum  Enum : StorageType {
  StandardType = XII_BIT(0) , IsEnum = XII_BIT(1) , Bitflags = XII_BIT(2) , Class = XII_BIT(3) ,
  Const = XII_BIT(4) , Reference = XII_BIT(5) , Pointer = XII_BIT(6) , PointerOwner = XII_BIT(7) ,
  ReadOnly = XII_BIT(8) , Hidden = XII_BIT(9) , Phantom = XII_BIT(10) , VarOut = XII_BIT(11) ,
  VarInOut = XII_BIT(12) , PureFunction = Const , Default = 0 , Void = 0
}
 
using StorageType = xiiUInt16
 

Static Public Member Functions

template<class Type>
static xiiBitflags< xiiPropertyFlagsGetParameterFlags ()
 
template<>
xiiBitflags< xiiPropertyFlagsGetParameterFlags ()
 

Detailed Description

Flags used to describe a property and its type.

Member Enumeration Documentation

◆ Enum

enum xiiPropertyFlags::Enum : StorageType
Enumerator
StandardType 

Anything that can be stored inside a xiiVariant except for pointers and containers.

IsEnum 

enum property, cast to xiiAbstractEnumerationProperty.

Bitflags 

Bitflags property, cast to xiiAbstractEnumerationProperty.

Class 

A struct or class. All of the above are mutually exclusive.

Const 

Property value is const.

Reference 

Property value is a reference.

Pointer 

Property value is a pointer.

PointerOwner 

This pointer property takes ownership of the passed pointer.

ReadOnly 

Can only be read but not modified.

Hidden 

This property should not appear in the UI.

Phantom 

Phantom types are mirrored types on the editor side. Ie. they do not exist as actual classes in the process. Also used for data driven types, e.g. by the Visual Shader asset.

VarOut 

Tag for non-const-ref function parameters to indicate usage 'out'.

VarInOut 

Tag for non-const-ref function parameters to indicate usage 'inout'.

PureFunction 

The visual script function doesn't need an execution pin.


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