Squeak Class Documentation category index | class index  
 
ThreeDSChunkDescription
  category: Balloon3D-Import
  superclass: Object
  subclasses:

This is a Class supporting debugging the ThreeDSParser. It's not needed for the actual parsing process. Instances are automatically created from the chunk documentation for each chunk (see ThreeDSParser class 'utilities' protocol) and stored in the Dictionary ChunkDescriptions. They act as Associations by itself.

Instance Variables:
id <Integer> the chunk id
name <String> an identifier
comment <String> a comment, if available

The printOn: method is sensitive to the Shift key -- only if pressed, the comment is shown.

instance methods
  accessing
  comment
id
name

  association
  key
value

  comparing
  =
hash
species

  printing
  printOn:

  private
  removeSeparators:
setId:name:comment:

class methods
  instance creation
  id:name:comment:

instance methods
  accessing top  
 

comment


 

id


 

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..


  association top  
 

key


 

value


  comparing top  
 

=

Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.


 

hash

Answer a SmallInteger whose value is related to the receiver's identity.
May be overridden, and should be overridden in any classes that define =


 

species

Answer the preferred class for reconstructing the receiver. For example,
collections create new collections whenever enumeration messages such as
collect: or select: are invoked. The new kind of collection is determined by
the species of the original collection. Species and class are not always the
same. For example, the species of Interval is Array.


  printing top  
 

printOn:

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


  private top  
 

removeSeparators:

Remove leading and trailing separators


 

setId:name:comment:

Initialize receiver


class methods
  instance creation top  
 

id:name:comment: