home *** CD-ROM | disk | FTP | other *** search
- # 10H9767, 10H9769 (C) COPYRIGHT International Business Machines Corp. 1992,1994,1996
- # All Rights Reserved
- # Licensed Materials - Property of IBM
- # US Government Users Restricted Rights - Use, duplication or
- # disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
-
- **********************************************************************
- * DISCLAIMER OF WARRANTIES.
- * The following [enclosed] code is sample code created by IBM
- * Corporation. This sample code is not part of any standard or IBM
- * product and is provided to you solely for the purpose of assisting
- * you in the development of your applications. The code is provided
- * "AS IS". IBM MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
- * NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE, REGARDING THE FUNCTION OR PERFORMANCE OF
- * THIS CODE. IBM shall not be liable for any damages arising out of
- * your use of the sample code, even if they have been advised of the
- * possibility of such damages.
- *
- * DISTRIBUTION.
- * This sample code can be freely distributed, copied, altered, and
- * incorporated into other software, provided that it bears the above
- * Copyright notice and DISCLAIMER intact.
- **********************************************************************
-
- ANIMALS
-
- DESCRIPTION:
- This sample prints the attributes of different animals, such as
- their names, breed, color, and the sounds they make.
-
-
- CONCEPT/FEATURE:
- This sample demonstrates SOM non-CORBA C bindings, the use subclasses,
- method override, and metaclasses through the creation of an animal
- class hierarchy.
-
-
- HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
- To make the sample:
- nmake -f vac.mak all
- animals
-
-
- To cleanup:
- nmake -f vac.mak clean
-
- Metaclass methods are not in the release order for animals.idl,
- so warnings may be printed. This is just a reminder that
- SOM is keeping track of the release order for you.
-
- HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
- -Open the project "animals.iwp" in this sample directory.
- -To make the project:
- from the "Project" menu, select "Make",
- or from the pop-up menu for the icon "vac.mak", select "Make"
- -Click the "Run" icon from workframe, or from the Project Monitor window,
- type "animals" to execute.
- -From the command line, "nmake -f vac.mak clean" to clean up.
-
-
- VisualAge for C++ SAMPLES INFORMATION:
- A complete listing of samples shipped with the VisualAge for C++
- product can be found in the online GUIDE TO SAMPLES. To access
- this notebook, simply:
-
- - Open the VisualAge for C++ program group in the Program
- Manager window, then
- - Open the GUIDE TO SAMPLES notebook in the program group.
-
-