nodeListing derived from ygNode Example Source Header

Description: generates events describing node names

notes:
Category: System
Author: Alex Hill
Revision: 09/15/05 Alex Hill

    Messages
node class find node names below the given node
class class, [integer] generate events with node names from the given class and index
index integer generate events with class names using the given index
maximum [integer] set the total number of classes to report
users [bool] set flag to include ygUser nodes in the list
    Events
changed total
class name, number
    Comments

constructor nodeListing

method reset

1 clear the node name
2 clear the class name
3 set the maximum printout to 100
4 set the index to 0
5 set the users flag to true

method message

1 find node names below the given node
2 generate events with node names from the given class and index
3 generate events with class names using the given index
4 set the total number of classes to report
5 set flag to include ygUser nodes in the list

method findNodes

0.1 order currClasses in alphabetical order
0.2 insert the new directory into the list
1 call findClass recursively on all children

method findUsers

1 for each user in the world
1.1 order currClasses in alphabetical order
1.2 insert the new directory into the list

method app

0.1 populate current node list

method checkClass