Next: , Previous: , Up: Class   [Index]


1.31.2 Class: accessing instances and variables

addClassVarName: aString

Add a class variable with the given name to the class pool dictionary.

addClassVarName: aString value: valueBlock

Add a class variable with the given name to the class pool dictionary, and evaluate valueBlock as its initializer.

addSharedPool: aDictionary

Add the given shared pool to the list of the class’ pool dictionaries

allClassVarNames

Answer the names of the variables in the receiver’s class pool dictionary and in each of the superclasses’ class pool dictionaries

bindingFor: aString

Answer the variable binding for the class variable with the given name

category

Answer the class category

category: aString

Change the class category to aString

classPool

Answer the class pool dictionary

classPragmas

Return the pragmas that are written in the file-out of this class.

classVarNames

Answer the names of the variables in the class pool dictionary

comment

Answer the class comment

comment: aString

Change the class name

environment

Answer ‘environment’.

environment: aNamespace

Set the receiver’s environment to aNamespace and recompile everything

initialize

redefined in children (?)

initializeAsRootClass

Perform special initialization reserved to root classes.

name

Answer the class name

removeClassVarName: aString

Removes the class variable from the class, error if not present, or still in use.

removeSharedPool: aDictionary

Remove the given dictionary to the list of the class’ pool dictionaries

sharedPools

Return the names of the shared pools defined by the class

superclass: aClass

Set the receiver’s superclass.


Next: , Previous: , Up: Class   [Index]