OOFILE | Downloads | Purchasing | Press | Services | Company Information | Soapbox | References | F.A.Q. | HOME |
Input and output in OOFILE is generally done through the standard cout procedures of C++.
For output, the operator<< has been overloaded for use
with OOFILE tables, field types and databases. These can simply be passed to
cout in the same manner as any other variable.
For example:
cout << "This is the patients database:\n" << dbPatients;
cout iterates through the table or database, listing each record with all its fields attached. This can become very large so OOFILE has provided a way of looking at only a few of the fields called a dbView. This is discussed at length in dbViews.
For input, the operator>> has been overloaded. This is used to import records from a data stream eg in ooftst10.
(c) Copyright A.D. Software 1994-2000 (All Rights Reserved).
Last Updated: 9th September 2001