tcl.pkg.fleet
Class ArgOptions

java.lang.Object
  extended by tcl.pkg.fleet.ArgOptions

public class ArgOptions
extends Object

Author:
brucejohnson

Constructor Summary
ArgOptions(Interp interp, TclObject[] argv, int start)
           
 
Method Summary
 boolean get(String optName)
           
 double get(String optName, double defValue)
           
 double[] get(String optName, double[] defValue)
           
 int get(String optName, int defValue)
           
 String get(String optName, String defValue)
           
 boolean getOptDoubleList(String optName, ArrayList<Double> defValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgOptions

public ArgOptions(Interp interp,
                  TclObject[] argv,
                  int start)
Method Detail

get

public String get(String optName,
                  String defValue)
           throws TclException
Throws:
TclException

get

public double get(String optName,
                  double defValue)
           throws TclException
Throws:
TclException

get

public int get(String optName,
               int defValue)
        throws TclException
Throws:
TclException

get

public boolean get(String optName)
            throws TclException
Throws:
TclException

getOptDoubleList

public boolean getOptDoubleList(String optName,
                                ArrayList<Double> defValue)
                         throws TclException
Throws:
TclException

get

public double[] get(String optName,
                    double[] defValue)
             throws TclException
Throws:
TclException


Copyright © 2015. All rights reserved.