Files
harbour-core/harbour/samples/cccppc/package.cls
1999-11-09 01:37:27 +00:00

59 lines
1.5 KiB
OpenEdge ABL
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// $Id$
//
class PACKAGE OBJECT
attrib parentPkg
// A csomag sz<73>l“je. Ha nincs, akkor nil.
attrib name
// A csomag neve.
attrib nAttribs
// H ny attributum van.
attrib attribs
// Egy t”mb az attribŁtumok sorsz m val,nevvel,tˇpus val
attrib methods
// Egy t”mb a mveletek sorsz m val, nevvel,
// paramtereivel, implSpec-vel.
attrib pkgId
// A csomag azonosˇt˘ja, minden csomagnak van.
// Ha egy csomagnak van “se, akkor ez megegyezik az “snek
// az id-jvel. Ha nincs “se, akkor pedig k<>l”nb”zik b rmelyik
// olyan csomag pkgId-jt“l, aminek szintn nincs “se.
attrib amBlock
// Egy blokk, aminek a vgrehajt sa beˇrja
// egy t”mbbe a csomag  ltal defini lt
// attribŁtumokat s egy m sik t”mbbe pedig
// a csomag  ltal defini lt mveleteket.
attrib methodsBlock
// Egy blokk, aminek a vgrehajt sa
// beˇrja egy t”mbbe a csomag  ltal defini lt
// mveletek blokkjait.
// (Ezt a t”mb”t adja a pkgMethodsImplement.)
attrib pkgMethodsImplement
// Egy blokkot tartalmaz, amit kirtkelve
// megkapjuk azt a t”mb”t, aminek az els“
// eleme a csomag, a tov bbi elemei pedig
// a csomagban haszn lhat˘ mveletek
// blokkjai, s m s implement ci˘s elemek.
rmethod oinit(parent,name,nAttribs,nMethods,amBlock,methodsBlock,pkgId)
nmethod connectTo(obj)
metaclass
attrib numId
rmethod onew(parent,name,nAttribs,nMethods,amBlock,methodsBlock,pkgId)
nmethod nextId()