org.nlogo.command
Class DoubleReporter

java.lang.Object
  extended by org.nlogo.command.Instruction
      extended by org.nlogo.command.Reporter
          extended by org.nlogo.command.DoubleReporter
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
GeneratedDoubleReporter

public abstract class DoubleReporter
extends Reporter


Field Summary
 
Fields inherited from class org.nlogo.command.Instruction
agentBits, args, blockAgentClassString, chosenEvalMethod, chosenEvalMethodMatchCost, disassembly, userSource, world
 
Constructor Summary
DoubleReporter(String agentClassString)
           
DoubleReporter(String agentClassString, String blockAgentClassString)
           
 
Method Summary
 Object report(Context context)
           
 Double reportDouble(Context context)
           
 double reportDoubleValue(Context context)
           
 int reportIntValue(Context context)
           
 
Methods inherited from class org.nlogo.command.Reporter
isPureConstant
 
Methods inherited from class org.nlogo.command.Instruction
addProcedureToInliningRecords, agentClassCanPerform, agentClassString, agentClassString, argEvalAgent, argEvalAgentSet, argEvalAgentSet, argEvalBoolean, argEvalBooleanValue, argEvalDouble, argEvalDoubleValue, argEvalIntValue, argEvalLink, argEvalList, argEvalLong, argEvalLongValue, argEvalPatch, argEvalString, argEvalTurtle, assemble, checkAgentClass, checkAgentSetClass, clone, copyFieldsFrom, displayName, dump, dump, getInlinedDepth, getInliningRecords, getPositionAndLength, getSourceEndPosition, getSourceSnippet, getSourceStartPosition, getSyntax, init, newValidDouble, newValidDouble, optimize0, optimize1, optimize2, setSourceSnippet, throwAgentClassException, token, token, tokenLimitingType, tokenLimitingType, toString, validDouble, wasInlined, workspace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleReporter

public DoubleReporter(String agentClassString)

DoubleReporter

public DoubleReporter(String agentClassString,
                      String blockAgentClassString)
Method Detail

report

public Object report(Context context)
              throws LogoException
Specified by:
report in class Reporter
Throws:
LogoException

reportDouble

public Double reportDouble(Context context)
                    throws LogoException
Throws:
LogoException

reportDoubleValue

public double reportDoubleValue(Context context)
                         throws LogoException
Throws:
LogoException

reportIntValue

public int reportIntValue(Context context)
                   throws LogoException
Throws:
LogoException