Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Deprecated/RefList/LPRINT.C

Go to the documentation of this file.
00001 // Print out the elements of list "in"
00002 void print(List& in) {
00003   if (in.isEmpty()) cout << "()\n";
00004   else {
00005     in.setFirst();
00006     cout << "( " << in.currValue();
00007     in.next();
00008     while (in.isInList()) {
00009       cout << ", " << in.currValue();
00010       in.next();
00011     }
00012     cout << " )\n";
00013   }
00014 }

Generated on Sun Oct 14 18:46:30 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001