Class Head

Description

Head class

Located in /Head.php (line 15)


	
			
Method Summary
Head __construct ()
int read ()
void setTape (Tape $tape)
void shiftLeft ()
void shiftRight ()
void write (int $value)
Methods
Constructor __construct (line 32)
  • access: public
Head __construct ()
read (line 78)

Returns the current symbol

  • access: public
int read ()
setTape (line 44)

Tells the Head which Tape to use

  • access: public
void setTape (Tape $tape)
shiftLeft (line 55)

Shifts the head one cell left

  • access: public
void shiftLeft ()
shiftRight (line 66)

Shifts the head one cell right

  • access: public
void shiftRight ()
write (line 90)

Writes a new value to the current

  • access: public
void write (int $value)
  • int $value

Documentation generated on Tue, 15 Nov 2005 10:37:47 +0000 by phpDocumentor 1.3.0RC3