public class LocalVariable extends Variable
name, struct, type, valueblock, rootSTRUCT_ARRAY, STRUCT_SCALAR, STRUCT_STRUCTURE, TYPE_BOOL, TYPE_DYNAMIC, TYPE_FLOAT, TYPE_INTEGER, TYPE_NUMERIC, TYPE_STRING, TYPE_UNDEF| Constructor and Description | 
|---|
LocalVariable(java.lang.String name)
Constructor. 
 | 
LocalVariable(java.lang.String name,
             java.lang.Object value)
Constructor. 
 | 
LocalVariable(java.lang.String name,
             short type)
Constructor. 
 | 
LocalVariable(java.lang.String name,
             short type,
             java.lang.Object value)
Constructor. 
 | 
LocalVariable(java.lang.String name,
             short type,
             java.lang.Object value,
             short struct)
Constructor. 
 | 
LocalVariable(java.lang.String name,
             short type,
             short struct)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
clone()  | 
boolean | 
equals(java.lang.Object o)  | 
int | 
hashCode()  | 
boolean | 
isLocal()
Return true. 
 | 
getExpressionName, getResultStructure, getResultType, getVariable, getVariables, setValuecheckType, eval, evalAsBoolean, evalAsFloat, evalAsInt, getExpression, getName, getStructure, getType, getValue, getValueAsBoolean, getValueAsFloat, getValueAsInt, initType, setDefaultValue, setName, setStructure, setType, setType, setValue, setValueAsBoolean, setValueAsFloat, setValueAsIntgetParentBlock, getRoot, setParentBlock, setRootfinalize, getClass, notify, notifyAll, toString, wait, wait, waitgetLocalVariable, getLocalVariables, getParentBlock, getRoot, getVariable, getVariables, hasVariable, hasVariable, removeVariable, setParentBlockpublic LocalVariable(java.lang.String name)
name - the variable namepublic LocalVariable(java.lang.String name,
                     short type)
name - the variable nametype - the variable typepublic LocalVariable(java.lang.String name,
                     short type,
                     short struct)
name - the variable nametype - the variable typestruct - the variable structurepublic LocalVariable(java.lang.String name,
                     short type,
                     java.lang.Object value)
name - the variable nametype - the variable typevalue - the variable valuepublic LocalVariable(java.lang.String name,
                     short type,
                     java.lang.Object value,
                     short struct)
name - the variable nametype - the variable typestruct - the variable structurevalue - the variable valuepublic LocalVariable(java.lang.String name,
                     java.lang.Object value)
name - the variable namevalue - the variable valuepublic java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
clone in interface Expressionclone in class Variablejava.lang.CloneNotSupportedExceptionCopyright © 2018 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence