nobject is the superclass of all higher level Nebula classes and defines this basic behavior and properties for all nobject derived classes:
- runtime type information
- object persistency
- language independent scripting interface
- Command Input:
s (Name)
- Command Output:
b (Success)
- Command Description:
- Save the object under a given name into a file.
- Command Input:
s (CloneName)
- Command Output:
o (CloneHandle)
- Command Description:
- Creates a clone of this object.
- If the object's class hierarchy doesn't contain nroot then 'CloneName' is ignored. Otherwise 'CloneName' is the name given to the new cloned object.
- If the original object has child objects, they will be cloned as well.
- Command Input:
v
- Command Output:
i (Refcount)
- Command Description:
- Return current ref count of object.
- Command Input:
v
- Command Output:
s (Classname)
- Command Description:
- Return name of class which the object is an instance of.
- Command Input:
v
- Command Output:
l (ClassnameList)
- Command Description:
- Return the list of classes which the object is an instance of.
- Command Input:
s (Classname)
- Command Output:
b (Success)
- Command Description:
- Check whether the object is instantiated or derived from the class given by 'Classname'.
- Command Input:
s (Classname)
- Command Output:
b (Success)
- Command Description:
- Check whether the object is an instance of the class given by 'Classname'.
- Command Input:
v
- Command Output:
l (Commands)
- Command Description:
- Return a list of all script command prototypes the object accepts.
- Command Input:
v
- Command Output:
i (InstanceSize)
- Command Description:
- Get byte size of this object. This may or may not accurate, depending on whether the object uses external allocated memory, and if the object's class takes this into account.