Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.pqt.autorib.instr
Class InstrForRequest  view InstrForRequest download InstrForRequest.java

java.lang.Object
  extended byorg.pqt.autorib.instr.InstrRequest
      extended byorg.pqt.autorib.instr.InstrBlockRequest
          extended byorg.pqt.autorib.instr.InstrForRequest
Direct Known Subclasses:
InstrForColors, InstrForHandles, InstrForNames, InstrForShaders

public abstract class InstrForRequest
extends InstrBlockRequest

an abstract class from which all For.. classes derive - subclasses should overide not read, but readParams, as well as overriding the filter methods defined in InstrBlockRequest


Field Summary
(package private)  java.util.Vector handles
           
 
Fields inherited from class org.pqt.autorib.instr.InstrBlockRequest
content
 
Fields inherited from class org.pqt.autorib.instr.InstrRequest
requestID, requestName
 
Constructor Summary
InstrForRequest()
           
 
Method Summary
 void read(InstrWReader in)
          read the instruction call and store it
protected abstract  void readParams(InstrWReader in)
          read in any parameters specific to this for call ie.
 void write(java.io.Writer out)
          write out this instruction and its parameters - used for debugging only
protected abstract  void writeParams(java.io.Writer out)
           
 
Methods inherited from class org.pqt.autorib.instr.InstrBlockRequest
filter, filter, process, process
 
Methods inherited from class org.pqt.autorib.instr.InstrRequest
checkShaderType, readRequestName, writeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handles

java.util.Vector handles
Constructor Detail

InstrForRequest

public InstrForRequest()
Method Detail

read

public final void read(InstrWReader in)
                throws java.io.IOException,
                       org.pqt.autorib.tokenizer.FormatException
Description copied from class: InstrRequest
read the instruction call and store it

Specified by:
read in class InstrRequest

write

public void write(java.io.Writer out)
           throws java.io.IOException
Description copied from class: InstrRequest
write out this instruction and its parameters - used for debugging only

Specified by:
write in class InstrRequest

readParams

protected abstract void readParams(InstrWReader in)
                            throws org.pqt.autorib.tokenizer.FormatException,
                                   java.io.IOException
read in any parameters specific to this for call ie. those between the instruction and the open brace


writeParams

protected abstract void writeParams(java.io.Writer out)
                             throws java.io.IOException