IBM Open Class
Encyclopedia
IBM Open Class is an IBM
C++
product originally developed by Kevin Leong and originally known under several names in the C++ industry, including ICL (IBM Class Library), UICL (User Interface Class Library), and OCL (Open Class Library).
IOC was an extensive set of C++ classes used to build CLI and GUI
applications which could then be easily cross-compiled to OS/2
, Microsoft Windows
, and AIX
. IOC also formed the basis for IBM's VisualAge for C++
graphical application builder.
:
#include <iframe.hpp>
int main
{
IFrameWindow frame ("Hello, World!");
frame.showModally;
}
Other examples of commonly-used IOC classes and methods include:
#include <istring.hpp>
IString someText ("hello world");
#include <icmdhdr.hpp>
virtual Boolean MyHandler::command (ICommandEvent &event);
IBM
International Business Machines Corporation or IBM is an American multinational technology and consulting corporation headquartered in Armonk, New York, United States. IBM manufactures and sells computer hardware and software, and it offers infrastructure, hosting and consulting services in areas...
C++
C++
C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an intermediate-level language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell...
product originally developed by Kevin Leong and originally known under several names in the C++ industry, including ICL (IBM Class Library), UICL (User Interface Class Library), and OCL (Open Class Library).
IOC was an extensive set of C++ classes used to build CLI and GUI
Gui
Gui or guee is a generic term to refer to grilled dishes in Korean cuisine. These most commonly have meat or fish as their primary ingredient, but may in some cases also comprise grilled vegetables or other vegetarian ingredients. The term derives from the verb, "gupda" in Korean, which literally...
applications which could then be easily cross-compiled to OS/2
OS/2
OS/2 is a computer operating system, initially created by Microsoft and IBM, then later developed by IBM exclusively. The name stands for "Operating System/2," because it was introduced as part of the same generation change release as IBM's "Personal System/2 " line of second-generation personal...
, Microsoft Windows
Microsoft Windows
Microsoft Windows is a series of operating systems produced by Microsoft.Microsoft introduced an operating environment named Windows on November 20, 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces . Microsoft Windows came to dominate the world's personal...
, and AIX
AIX operating system
AIX AIX AIX (Advanced Interactive eXecutive, pronounced "a i ex" is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms...
. IOC also formed the basis for IBM's VisualAge for C++
VisualAge
VisualAge was the name of a family of computer integrated development environments from IBM, which included support for multiple programming languages. VisualAge was first released in the 1980s and is still available in 2011...
graphical application builder.
History of IOC
The IOC was included as part of IBM's C++ compiler environment. Applications developed with IOC could be distributed with a royalty-free runtime, or could be statically linked against the IOC libraries. Initially only available for OS/2, the IOC was eventually made available for both Windows and AIX. Support for the OS/2 and Windows VisualAge for C++ compiler—as well as the accompanying IOC—was officially withdrawn by IBM on April 27, 2001.- C/Set++ v2.01 for OS/2 (1993)
- VisualAge C++ for OS/2, version 3.0
- VisualAge for C++ for Windows, version 3.5
- C and C++ Compilers for OS/2, AIX, and for Windows NT, version 3.6
- C and C++ Compilers for OS/2 and Windows, version 3.65 (1998?)
- VisualAge C++ Professional for OS/2 and Windows NT, version 4.0 (1998)
Examples
The most widely recognized example of a simple application that uses the IOC is hello worldHello world program
A "Hello world" program is a computer program that outputs "Hello world" on a display device. Because it is typically one of the simplest programs possible in most programming languages, it is by tradition often used to illustrate to beginners the most basic syntax of a programming language, or to...
:
#include <iframe.hpp>
int main
{
IFrameWindow frame ("Hello, World!");
frame.showModally;
}
Other examples of commonly-used IOC classes and methods include:
#include <istring.hpp>
IString someText ("hello world");
#include <icmdhdr.hpp>
virtual Boolean MyHandler::command (ICommandEvent &event);
External links
- news://ibm.software.vacpp.openclass
- ISBN 0-442-01795-2 (C++ Class Library: Power GUI Programming with CSet++)
- ISBN 0-471-16482-8 (Power GUI Programming with VisualAge for C++)