Hi Doug:

>From dougo@ccs.neu.edu Fri Aug  1 18:00:01 1997
>From: Doug Orleans <dougo@ccs.neu.edu>
>To: Karl Lieberherr <lieber@ccs.neu.edu>
>Cc: dem@ccs.neu.edu
>Subject: Re: sample main program
>
>Karl Lieberherr writes:
> > Hi Geoff and Doug:
> > 
> > please can you generate a default behavior file for class Main:
> > 
> > Main { ... }
>
>[where "Main" is the name of the first class in the class dictionary?]
>
>What exactly is generating this file?  j-gen-make?  demjava -gen?

I think it should be 

demjava -gen

>
> > which contains the equivalent of what the Demeter/C++ generated 
> > main file contains (see below).
> > Call the file generic-visitor-use.beh.sample and put it into the
> > generated directory.
>
>Why not just program.beh.sample?

Yes, I like your name better.

>
> >   iWorkFlowManagement -> g_draw();
> >   nWorkFlowManagement -> g_displayAsTree();
>
>What is the difference between these too?  Do we need a DrawVisitor?

I think we should only have g_displayAsTree which, I think, Geoff
has implemented. g_draw prints less information.

g_draw is an artifact from Demeter/C++ where there was enough information
in the generated code to write g_draw in about a page in class Universal.
g_displayAsTree required access to the cd for cds to get all the
type information.
>
>--Doug
>
Thank you for putting this in. It will give very good sample code
for users to learn from.

-- Karl

