treecalc.comp
Class GenInput

java.lang.Object
  extended by treecalc.comp.GenInput

public class GenInput
extends java.lang.Object

Class that is filled up and prepared before generating code

Author:
Stefan

Nested Class Summary
static class GenInput.GenInputCalc
           
 
Constructor Summary
GenInput(java.lang.String name, int index, TcAst ast)
           
 
Method Summary
 void addAutocounter(java.lang.String counter)
           
 void addCalc(java.lang.String calcname, TcAst calcast)
           
 TcAst getAst()
           
 java.util.ArrayList<java.lang.String> getAutocounters()
           
 GenInput.GenInputCalc getCalc(int index)
           
 GenInput.GenInputCalc getCalc(java.lang.String calcname)
           
 java.util.ArrayList<GenInput.GenInputCalc> getCalcs()
           
 int getCalcsSize()
           
 int getIndex()
           
 java.lang.String getName()
           
 boolean hasAutocounter()
           
 boolean hasCheck()
           
 boolean hasDefault()
           
 boolean hasDisplay()
           
 boolean hasDisplaytext()
           
 boolean hasFilter()
           
 boolean hasReference()
           
 boolean hasTable()
           
 boolean hasVector()
           
 boolean isChoiceable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenInput

public GenInput(java.lang.String name,
                int index,
                TcAst ast)
Method Detail

getIndex

public int getIndex()

getName

public java.lang.String getName()

getAst

public TcAst getAst()

addCalc

public void addCalc(java.lang.String calcname,
                    TcAst calcast)

getCalcs

public java.util.ArrayList<GenInput.GenInputCalc> getCalcs()

getCalcsSize

public int getCalcsSize()

getCalc

public GenInput.GenInputCalc getCalc(int index)

getCalc

public GenInput.GenInputCalc getCalc(java.lang.String calcname)

hasCheck

public boolean hasCheck()

hasDefault

public boolean hasDefault()

hasVector

public boolean hasVector()

hasTable

public boolean hasTable()

hasReference

public boolean hasReference()

hasFilter

public boolean hasFilter()

hasDisplay

public boolean hasDisplay()

hasDisplaytext

public boolean hasDisplaytext()

hasAutocounter

public boolean hasAutocounter()

isChoiceable

public boolean isChoiceable()

addAutocounter

public void addAutocounter(java.lang.String counter)

getAutocounters

public java.util.ArrayList<java.lang.String> getAutocounters()


Copyright © 2013. All Rights Reserved.