Squeak Class Documentation category index | class index  
 
CObjectAccessor
  category: VMConstruction-Plugins
  superclass: Object
  subclasses: CArrayAccessor

I am used to simulate the indexed access to any object during plugin simulation.

instance methods
  accessing
  at:
at:put:
object
offset

  converting
  asOop:
asPluggableAccessor:

  pointer arithmetic
  +
+=
-
-=

  printing
  printOn:
printOnStream:

  private
  getObject
setObject:

class methods
  instance creation
  on:

instance methods
  accessing top  
 

at:

Primitive. Assumes receiver is indexable. Answer the value of an
indexable element in the receiver. Fail if the argument index is not an
Integer or is out of bounds. Essential. See Object documentation
whatIsAPrimitive.


 

at:put:

Primitive. Assumes receiver is indexable. Store the argument value in
the indexable element of the receiver indicated by index. Fail if the
index is not an Integer or is out of bounds. Or fail if the value is not of
the right type for this kind of collection. Answer the value that was
stored. Essential. See Object documentation whatIsAPrimitive.


 

object


 

offset


  converting top  
 

asOop:


 

asPluggableAccessor:


  pointer arithmetic top  
 

+


 

+=


 

-


 

-=


  printing top  
 

printOn:

Append to the argument, aStream, a sequence of characters that
identifies the receiver.


 

printOnStream:


  private top  
 

getObject


 

setObject:


class methods
  instance creation top  
 

on: