Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

pretty_print_tree.C

Go to the documentation of this file.
00001 
00005 
00006 //   version 1:  Dec 1994   Piet Hut
00007 
00008 #include "node.h"
00009 
00010 /*===========================================================================*/
00011 
00012 #ifdef TOOLBOX
00013 
00014 /*-----------------------------------------------------------------------------
00015  *  main  --  driver to directly print out a tree structure
00016  *-----------------------------------------------------------------------------
00017  */
00018 main(int argc, char ** argv)
00019     {
00020     node * root;    /* root node */
00021 
00022     check_help();
00023 
00024     while (root = get_node(cin))
00025         {
00026         root->pretty_print_tree(cerr);
00027         rmtree(root);
00028         }
00029     }
00030 
00031 #endif
00032 
00033 /*===========================================================================*/
00034 
00035 /* endof: pretty_print_tree.C */
00036 

Generated at Sun Feb 24 09:57:11 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001