#include <falconobject.h>

Public Member Functions | |
| virtual CoreObject * | clone () const |
| Creates a shallow copy of this item. | |
| FalconObject (const FalconObject &other) | |
| FalconObject (const CoreClass *generator, bool bSeralizing=false) | |
| virtual | ~FalconObject () |
| Falcon::FalconObject::FalconObject | ( | const CoreClass * | generator, | |
| bool | bSeralizing = false | |||
| ) |
| Falcon::FalconObject::FalconObject | ( | const FalconObject & | other | ) |
| virtual Falcon::FalconObject::~FalconObject | ( | ) | [virtual] |
| virtual CoreObject* Falcon::FalconObject::clone | ( | ) | const [virtual] |
Creates a shallow copy of this item.
Will return zero if this item has a non-cloneable user-defined data, that is, it's not fully manageable by the language.
Clone operation requests the class ObjectManager to clone the user_data stored in this object, if any. In turn, the ObjectManager may ask the user_data, properly cast, to clone itself. If one of this operation fails or is not possible, then the method returns 0. The VM will eventually raise a CloneError to signal that the operation tried to clone a non manageable user-data object.
If this object has not a user_data, then the cloneing will automatically succeed.
Implements Falcon::CoreObject.
Reimplemented in Falcon::CoreSlotCarrier.
1.5.8