home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
WPSDEM.ZIP
/
CMBSTDNT
/
UNDRGRAD.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-21
|
3KB
|
102 lines
/*
* This file was generated by the SOM Compiler.
* FileName: .\UNDRGRAD.h.
* Generated using:
* SOM Precompiler spc: 1.22
* SOM Emitter emith: 1.11
*/
#ifndef UNDRGRAD_h
#define UNDRGRAD_h
#include <som.h>
/*
* Define the class name as an object type
*/
#ifndef UnderGraduateStudent
#define UnderGraduateStudent SOMAny
#endif
#include <STUDENT.h>
#define UnderGraduateStudent_MajorVersion 1
#define UnderGraduateStudent_MinorVersion 1
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define UnderGraduateStudentNewClass c
#pragma linkage(c, system)
#define UnderGraduateStudentClassData d
#define UnderGraduateStudentCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define UnderGraduateStudent_classObj UnderGraduateStudentClassData.classObject
#define _UnderGraduateStudent UnderGraduateStudent_classObj
/*
* New and Renew macros for UnderGraduateStudent
*/
#define _UnderGraduateStudentNew() (_somNew(UnderGraduateStudentClassData.classObject))
#define UnderGraduateStudentNew() \
( UnderGraduateStudentClassData.classObject \
? _UnderGraduateStudentNew() \
: ( UnderGraduateStudentNewClass(UnderGraduateStudent_MajorVersion, UnderGraduateStudent_MinorVersion), _UnderGraduateStudentNew() ) )
#define UnderGraduateStudentRenew(buf) \
( _somRenew(UnderGraduateStudentClassData.classObject, buf) )
/*
* Override method: printStudentInfo
*/
#define UnderGraduateStudent_printStudentInfo(somSelf) \
Student_printStudentInfo(somSelf)
/*
* Override method: getStudentType
*/
#define UnderGraduateStudent_getStudentType(somSelf) \
Student_getStudentType(somSelf)
/*
* New Method: setUpUnderGraduateStudent
*/
typedef void SOMLINK somTP_UnderGraduateStudent_setUpUnderGraduateStudent(UnderGraduateStudent *somSelf,
char *id,
char *name,
char *date);
#pragma linkage(somTP_UnderGraduateStudent_setUpUnderGraduateStudent, system)
typedef somTP_UnderGraduateStudent_setUpUnderGraduateStudent *somTD_UnderGraduateStudent_setUpUnderGraduateStudent;
#define somMD_UnderGraduateStudent_setUpUnderGraduateStudent "----"
#define UnderGraduateStudent_setUpUnderGraduateStudent(somSelf,id,name,date) \
(SOM_Resolve(somSelf, UnderGraduateStudent, setUpUnderGraduateStudent) \
(somSelf,id,name,date))
#define _setUpUnderGraduateStudent UnderGraduateStudent_setUpUnderGraduateStudent
/*
* Declare the class creation procedure
*/
SOMEXTERN SOMAny * SOMLINK UnderGraduateStudentNewClass(integer4 scemajorVersion,
integer4 sceminorVersion);
#pragma linkage(UnderGraduateStudentNewClass, system)
/*
* Declare the class data structure
*/
SOMEXTERN struct UnderGraduateStudentClassDataStructure {
SOMAny *classObject;
somMToken setUpUnderGraduateStudent;
} UnderGraduateStudentClassData;
/*
* Declare the C specific class data structure
*/
SOMEXTERN struct UnderGraduateStudentCClassDataStructure {
somMethodTab *parentMtab;
somDToken instanceDataToken;
} UnderGraduateStudentCClassData;
#endif /* UNDRGRAD_h */