OrgC++ includes a library of organizations. The library is open: you can add new organizations and functions.
The library has two parts:
Note that each file in the macro directory contains both complete documentation (including an example) and the executable code. The file macro/zzmaster contains the master table for the whole library. It contains the following sections:
For more details about this file, see Chap.16.
Even the hyper-object definitions (ZZ_HYPER_.. calls) must be registered in the file zzmaster. The class generator needs this information on the internal setup of each hyper-object.
When you link a program written with OrgC++, you have to link it to the appropriate library:
orgC/lib/zzclib.a
orgC\lib\cmlib.lib for the medium memory model
orgC\lib\cllib.lib for the large memory model
orgC\lib\zmlib.lib for the medium memory model
orgC\lib\zllib.lib for the large memory model
For information on how to recompile the library see Chap.2 (Installation).
If you have been using OrgC with regular C, and you are now transferring to OrgC++, look at Appendix A. It contains a table of all functions and their uses in C and C++.
See Chap.12 (on-line help) on how to query the library documentation.
When calling the class generator you may, for the third parameter, specify the master file you want to use:
orgCpath/zzprep source.c ZZinclude.h zzmaster ZZfunc.c
This permits you:
For more details on how to select/merge libraries, see Chap.17.
| Chapter 11: Available Organizations |