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

37 lines
938 B
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$
//
//*******************************************************************
// defdict.cls: #define sz˘t r oszt ly.
// 1999, Csisz r Levente
class DEFDICT OBJECT
attrib dict // Egyenl“re egy EDEFDICT-ekb“l  ll˘ t”mb.
nmethod add(edefdict)
// Felvesz egy edefdict objektumot a sz˘t rba.
// Ha m r van ilyen, akkor azt adja, ha nincs, akkor nil-t.
nmethod atIdx(name)
// A name kulcsŁ elem indext adja a dict-ben.
// Ha nincs, akkor 0-t ad.
// Bels“ mvelet.
nmethod atKey(name)
// A name kulcsŁ elemet (egy EDEFDICT objektumot) ad.
// Ha nincs, akkor nil-t ad.
nmethod delKey(name)
// Kit”rli a name kucslŁ elemet a dict-b“l.
// Ha nincs, akkor nem csin l semmit.
nmethod printStr(printBlock)
// A sz˘t r elemeket string-knt kiˇrhat˘ form ban  tadja a
// printBlock-nak.
// Ha a printBlock nincs megadva, akkor string-knt visszaadja.
rmethod oinit()