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.
public static const define int ACTION
Flag to indicate property versus action
public static const define int AS_STR
Flag to indicate if a Buf should be treated as a Str
public static const define int CONFIG
Flag to indicate configuration property versus runtime property
public static const define int OPERATOR
Flag to indicate if slot is operator level - if not operator then a slot is consider admin level.
public const byte flags
Bitmask for flags
public const byte id
Index of this slot in its type slot list
public const Str name
Unique name of this slot in its 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.
public bool isAction()
Is this an action slot.
public bool isAsStr()
Is this a Buf property which should be treated as a Str.
public bool isConfig()
Is this a config property.
public bool isOperator()
Is true if an operator level slot, or false if admin level.
public bool isProp()
Is this a property slot.
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