Package gen :: Package lib :: Module refbase :: Class RefBase
[frames] | no frames]

Class RefBase

source code


Base reference class to manage references to other objects.

Any *Ref class should derive from this class.

Instance Methods
 
__init__(self, source=None) source code
 
serialize(self)
Convert the object to a serialized tuple of data.
source code
 
unserialize(self, data)
Convert a serialized tuple of data to an object.
source code
list
get_referenced_handles(self)
Returns the list of (classname, handle) tuples for all directly referenced primary objects.
source code
 
set_reference_handle(self, val) source code
 
get_reference_handle(self) source code
Method Details

get_referenced_handles(self)

source code 

Returns the list of (classname, handle) tuples for all directly referenced primary objects.

Returns: list
Returns the list of (classname, handle) tuples for referenced objects.