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 File Reference

Go to the source code of this file.

Functions

void print (List &in)


Function Documentation

void print List   in
 

Definition at line 2 of file LPRINT.C.

Referenced by main(), HourlyWorker::printName(), CommissionWorker::printName(), and read_freqs().

00002                      {
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:47:28 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001