NodeMaster is a generic class
to easily handle and create lists of whatever you want. Its generic structure
is ideal for polymorphism and inheritance in other objects. This object
just take care of creating Exec Lists and
Nodes of something you pass to it (we will
call it "object") and then it has great power in Lists
manipulation. You can easily add/del nodes from the list, go to
a specific item by its ordinal number and so on...
I have worked out this module structuring it on Amiga
Exec's Nodes. This means that everything you will add/remove
to a NodeMaster will be done on a System List Node.
This code is very Exec List-based, so you can do whatever you want.
|