#include <item.h>
Public Member Functions | |
SafeItem (GarbagePointer *shell) | |
SafeItem (FalconData *ptr) | |
SafeItem (CoreClass *cls) | |
SafeItem (CoreObject *obj, CoreClass *cls) | |
SafeItem (const Item &data, CallPoint *func) | |
SafeItem (String *lbind, GarbageItem *val) | |
SafeItem (CoreFunc *cf) | |
SafeItem (GarbageItem *r) | |
SafeItem (MemBuf *b) | |
SafeItem (CoreDict *dict) | |
SafeItem (CoreObject *obj) | |
SafeItem (CoreArray *array) | |
SafeItem (String *str) | |
SafeItem (CoreRange *r) | |
SafeItem (byte t, Garbageable *dt) | |
SafeItem (numeric val) | |
Creates a numeric SafeItem. | |
SafeItem (uint64 val) | |
Creates an integer SafeItem. | |
SafeItem (int64 val) | |
Creates an integer SafeItem. | |
SafeItem (uint32 val) | |
Creates an integer SafeItem. | |
SafeItem (int32 val) | |
Creates an integer SafeItem. | |
SafeItem (uint16 val) | |
Creates an integer SafeItem. | |
SafeItem (int16 val) | |
Creates an integer SafeItem. | |
SafeItem (const Item &other) | |
SafeItem (const SafeItem &other) | |
void | setArray (CoreArray *array) |
void | setBoolean (bool tof) |
Creates a boolean SafeItem. | |
void | setClass (CoreClass *cls) |
void | setClassMethod (CoreObject *obj, CoreClass *cls) |
void | setDict (CoreDict *dict) |
void | setFunction (CoreFunc *cf) |
Creates a function item. | |
void | setGCPointer (GarbagePointer *shell) |
void | setGCPointer (FalconData *ptr) |
Set this item as a user-defined Garbage pointers. | |
void | setInteger (int64 val) |
void | setLBind (String *lbind, GarbageItem *val) |
Creates a late binding item. | |
void | setMemBuf (MemBuf *b) |
void | setMethod (const Item &data, CallPoint *func) |
Creates a method. | |
void | setNumeric (numeric val) |
void | setObject (CoreObject *obj) |
void | setRange (CoreRange *r) |
void | setReference (GarbageItem *r) |
Creates a reference to another item. | |
void | setString (String *str) |
Falcon::SafeItem::SafeItem | ( | const SafeItem & | other | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | const Item & | other | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | byte | t, | |
Garbageable * | dt | |||
) |
Falcon::SafeItem::SafeItem | ( | CoreRange * | r | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | String * | str | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | CoreArray * | array | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | CoreObject * | obj | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | CoreDict * | dict | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | MemBuf * | b | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | GarbageItem * | r | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | CoreFunc * | cf | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | String * | lbind, | |
GarbageItem * | val | |||
) | [inline] |
Falcon::SafeItem::SafeItem | ( | CoreObject * | obj, | |
CoreClass * | cls | |||
) | [inline] |
Falcon::SafeItem::SafeItem | ( | CoreClass * | cls | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | FalconData * | ptr | ) | [inline] |
Falcon::SafeItem::SafeItem | ( | GarbagePointer * | shell | ) | [inline] |
void Falcon::SafeItem::setArray | ( | CoreArray * | array | ) |
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setBoolean | ( | bool | tof | ) | [inline] |
Creates a boolean SafeItem.
Sets this SafeItem as boolean
Reimplemented from Falcon::Item.
References FLC_ITEM_BOOL.
void Falcon::SafeItem::setClass | ( | CoreClass * | cls | ) |
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setClassMethod | ( | CoreObject * | obj, | |
CoreClass * | cls | |||
) |
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setDict | ( | CoreDict * | dict | ) |
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setFunction | ( | CoreFunc * | cf | ) |
void Falcon::SafeItem::setGCPointer | ( | GarbagePointer * | shell | ) |
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setGCPointer | ( | FalconData * | ptr | ) |
Set this item as a user-defined Garbage pointers.
VM provides GC-control over them.
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setInteger | ( | int64 | val | ) | [inline] |
void Falcon::SafeItem::setLBind | ( | String * | lbind, | |
GarbageItem * | val | |||
) |
Creates a late binding item.
The late binding is just a CoreString in a live module which is resolved into a value by referencing a item in the current context (symbol tables) having the given name at runtime.
Thus, the CoreString representing the late binding symbol name lives in the live module that generated this LBind. If the module is unloaded, the LBind is invalidated.
lbind | The name of the late binding symbol. | |
val | If provided, a future value (future binding). |
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setMemBuf | ( | MemBuf * | b | ) |
Reimplemented from Falcon::Item.
Creates a method.
The method is able to remember if it was called with a Function pointer or using an external function.
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setNumeric | ( | numeric | val | ) | [inline] |
void Falcon::SafeItem::setObject | ( | CoreObject * | obj | ) |
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setRange | ( | CoreRange * | r | ) |
Reimplemented from Falcon::Item.
void Falcon::SafeItem::setReference | ( | GarbageItem * | ref | ) |
void Falcon::SafeItem::setString | ( | String * | str | ) |
Reimplemented from Falcon::Item.