Squeak Class Documentation category index | class index  
 
VRMLStream
  category: Balloon3D-VRML Definition
  superclass: Object
  subclasses:

A VRMLStream supports reading/writing of UTF8 characters and the basic VRML types such as Int32, Float, Bool, and String.

instance methods
  accessing
  name
next
nextByte
nextPut:
nextPutAll:
peekFor:
position
position:
size
skip:
skipLine
skipSeparators

  backup-restore
  backup
discard
discardTo:
restore
restoreIf:

  character reading
  firstChar
nextChar
peekChar
restChar
utf8Char

  character writing
  cr
crtab
crtab:
nextPutChar:
space

  converting
  asVRMLStream

  initialize
  on:
reset
resetAndCheckVersion

  private-reading
  digitValueOf:
readInt32From:
readInteger:
readInteger:from:

  reading data
  next:
readBool
readColor
readDouble
readFloat
readFloatVector:do:
readImage
readInt32
readName
readRotation
readString
readTime
readVec2f
readVec3f

  testing
  atEnd

  writing data
  writeBool:
writeDouble:
writeFloat:
writeFloatVector:
writeImage:
writeInt32:
writeRotation:
writeString:
writeTime:
writeVec2f:
writeVec3f:

  writing fields
  writeColor:

class methods
  class initialization
  initialize

  instance creation
  on:

instance methods
  accessing top  
 

name

Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..


 

next


 

nextByte


 

nextPut:


 

nextPutAll:


 

peekFor:


 

position


 

position:


 

size

Primitive. Answer the number of indexable variables in the receiver.
This value is the same as the largest legal subscript. Essential. See Object
documentation whatIsAPrimitive.


 

skip:


 

skipLine


 

skipSeparators


  backup-restore top  
 

backup


 

discard


 

discardTo:


 

restore


 

restoreIf:


  character reading top  
 

firstChar


 

nextChar


 

peekChar


 

restChar


 

utf8Char

Note: we silently clamp every char to US ASCII range


  character writing top  
 

cr


 

crtab


 

crtab:


 

nextPutChar:


 

space


  converting top  
 

asVRMLStream


  initialize top  
 

on:


 

reset


 

resetAndCheckVersion

Check for #VRML V2.0 utf8


  private-reading top  
 

digitValueOf:


 

readInt32From:


 

readInteger:

Heavily optimized version of Integer>>readFrom:base: for the VRML stream


 

readInteger:from:

Heavily optimized version of Integer>>readFrom:base: for the VRML stream


  reading data top  
 

next:


 

readBool


 

readColor


 

readDouble


 

readFloat


 

readFloatVector:do:


 

readImage


 

readInt32


 

readName


 

readRotation


 

readString


 

readTime


 

readVec2f


 

readVec3f


  testing top  
 

atEnd


  writing data top  
 

writeBool:


 

writeDouble:


 

writeFloat:


 

writeFloatVector:


 

writeImage:


 

writeInt32:


 

writeRotation:


 

writeString:


 

writeTime:


 

writeVec2f:


 

writeVec3f:


  writing fields top  
 

writeColor:


class methods
  class initialization top  
 

initialize

VRMLStream initialize


  instance creation top  
 

on: