Sedona

sys::Slot


sys::Obj
  sys::Slot

public const class Slot

Slot models a property or action slot which is available to the runtime via the reflection APIs.


ACTION

public static const define int ACTION

Flag to indicate property versus action

AS_STR

public static const define int AS_STR

Flag to indicate if a Buf should be treated as a Str

CONFIG

public static const define int CONFIG

Flag to indicate configuration property versus runtime property

OPERATOR

public static const define int OPERATOR

Flag to indicate if slot is operator level - if not operator then a slot is consider admin level.

flags

public const byte flags

Bitmask for flags

id

public const byte id

Index of this slot in its type slot list

name

public const Str name

Unique name of this slot in its type

type

public const Type type

Type of the slot. If the slot is a property this is the type the property stores. If the slot is an action this is the argument type.

isAction

public bool isAction()

Is this an action slot.

isAsStr

public bool isAsStr()

Is this a Buf property which should be treated as a Str.

isConfig

public bool isConfig()

Is this a config property.

isOperator

public bool isOperator()

Is true if an operator level slot, or false if admin level.

isProp

public bool isProp()

Is this a property slot.

matchProp

public bool matchProp(int filter)

Return if this slot is a property against the specified filter:

   '*' = any property
   'c' = only config properties
   'r' = only runtime properties
   'C' = only operator level config properties
   'R' = only operator level runtime properties