Release 1.0  · Copyright 1992, 1993 by Max Tardiveau.

InformerCell

INHERITS FROM	NXBrowserCell:Cell : Object

DECLARED IN	InformerCell.h

CLASS DESCRIPTION

InformerCell is used in Informer to keep the information the cell represents.

See also : InformerInspector

INSTANCE VARIABLES

Inherited from Object	Class	isa;

Inherited from Cell	char	*contents; 
id	support;
struct _cFlags1	cFlags1; 
struct _cFlags2	cFlags2;

Defined in InformerCell	char 	MyDir[];
	id	updater;
	id	MasterInstance;
int	isList;
void	*freePointer;
void	*secondaryPointer;
char	freeString[];

MyDir	The full pathname of the directory in which the files of the class are stored.

updater	The InformerInspector to call on, if any.

MasterInstance	For branch cells, the InformerInspector to call on to fill the sublist.

isList	True if the cell is a .list branch item.

freePointer	Can be set to anything by the InformerInspector.

secondaryPointer	Can be set to anything by the InformerInspector.

freeString	Can be set to anything by the InformerInspector.

METHOD TYPES

Initialization	± init
± free

General housekeeping	- setDir:
- getDir
- setUpdater:
± updater
± setMasterInstance:
± getMasterInstance
- setIsList:
± isList

Private information	± setFreePointer:
± freePointer
± setSecondaryPointer:
± secondaryPointer
± setFreeString:
± freeString

INSTANCE METHODS

free
- free

Frees as much as possible, but not enough yet, hence wasting memory big time. I hope to fix that some day.

freePointer
- (void *)freePointer

Returns freePointer.

See also: ± setFreePointer:

freeString
- (char *)freeString

Returns freeString.

See also: ± setFreeString:

getMasterInstance
- getMasterInstance

Returns MasterInstance.

See also: ± setMasterInstance:

getDir
- (char *)getDir

Returns MyDir.

See also: ± setDir:

init
- init

Initializes the cell, and some instance variables.

isList
- (int)isList

Returns isList.

See also: ± setIsList:

secondaryPointer
- (void *)secondaryPointer

Returns secondaryPointer.

See also: ± setSecondaryPointer:

setDir:
- setDir:(char *)string

Copies string into MyDir. Returns self.

See also: ± getDir

setFreePointer:
- setFreePointer:(void *)pointer

Sets freePointer to pointer. Returns self.

See also: ± freePointer

setFreeString:
- setFreeString:(char *)string

Copies string into freeString. Returns self.

See also: ± freeString

setIsList:
- setIsList:(int)value

Sets isList to value. Returns self.

See also: ± isList

setSecondaryPointer:
- setSecondaryPointer:(void *)pointer

Sets secondaryPointer to pointer. Returns self.

See also: ± secondaryPointer

setUpdater:
- setUpdater:updater

Sets updater to updater. Returns self.

See also: ± updater

updater
- updater

Returns updater.

See also: ± setUpdater: