Naming Files

All files provided by the Open Class Library begin with the letter "i", for IBM, and use lowercase letters.

The following table lists the file names, file extensions, and a brief description.

File Name and Extension Description
ixxxxxxx.cpp Source code
ixxxxxxx.hpp Class interface file
ixxxxxxx.h Constant definitions file
ixxxxxxx.inl Inline functions

The Open Class Library product files for this release begin with the letters "cpp." The following table lists some file names, files extensions, and a brief description.

File Name and Extension Description
cpp*i40.lib Generic import library files for each DLL.
cpp*i40.dll Generic multithreaded dynamic-link library files containing the Open Class Library classes.
cpp*S40.lib Generic static object library.
cpporr40.dll Contains the resources used with tool bars and other Open Class Library classes.
cppoai40.msg Exception messages for the User Interface Classes.
cppobi40.dll Multithreaded dynamic link library file containing the base library classes (Collection, Data Types, and Exceptions)
cppodi40.dll Multithreaded dynamic link library file containing the Dynamic Data Exchange classes.
cppogi40.dll Graphics
cppomi40.dll Multithreaded dynamic link library file containing the Multimedia classes
cppoti40.dll Multithreaded dynamic link library file containing the CUA '91 controls
cppoui40.dll Multithreaded dynamic link library file containing the User Interface Base Library classes.

Note: The first four letters of the CCL controls library (CPPOQI40.DLL) should be the same as the first four letters of the UI classes library (CPPOUI40.DLL) in dynamically linked applications. If your application statically links with the CCL controls library, you may also use the first four letters of your executables instead of those of the UI classes library.

The following table lists some other file names used by the Open Class Library for AIX, their extensions, and a brief description.

File Name and Extension Description Installed Location
libvacui.a Shared library for Open Class Library /usr/vacpp/lib
libvacuins.a Static object library for Open Class Library /usr/vacpp/lib
libvacgraphd.a Static graphics /usr/vacpp/lib
libvacgraphds.a Shared graphics /usr/vacpp/lib
libvacbase.a Static base classes /usr/vacpp/lib
libvacbases.a Shared base classes /usr/vacpp/lib

 

Note: $LANG represents language; for example, if the language is US
English, substitute En_US for $LANG.

Naming Classes and Members

The following rules were used for naming the Open Class Library classes and members:

Returning Values and Passing Function Arguments

To follow the Open Class Library conventions, pass objects by reference preferable as const references and return objects by value rather than by reference. Pass objects by pointer rather than by reference when you want a parameter to use its default.

Function return types for the various functions are as follows:

Function arguments are passed in the following ways: