Package hec.hecmath.computation
Class VariableSet
java.lang.Object
hec.hecmath.computation.VariableSet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVariable(Variable var) voidaddVariable(Variable var, boolean requiresTsc) voidaddVariable(Variable var, TimeSeriesContainer tsc, boolean requiresTsc) addVariable(String name) addVariable(String name, boolean requiresTsc) addVariable(String name, TimeSeriesContainer tsc, boolean requiresTsc) intgetQuality(String name) doublegetVariable(String name) getVariable(String name, boolean createIfNecessary) intbooleanrequiresTsc(String name) voidreset()voidsetData(TimeSeriesContainerAligner tsca, int index) voidsetData(TimeSeriesContainer tsc, int index) voidsetRequiresTsc(String name) voidsetTimeSeriesContainer(String name, TimeSeriesContainer tsc) voidvoidvoid
-
Field Details
-
variables
-
varByName
-
varByTsc
-
tscByName
-
requiresTscByName
-
-
Constructor Details
-
VariableSet
public VariableSet()
-
-
Method Details
-
addVariable
-
addVariable
- Throws:
ComputationException
-
addVariable
public void addVariable(Variable var, TimeSeriesContainer tsc, boolean requiresTsc) throws ComputationException - Throws:
ComputationException
-
addVariable
- Throws:
ComputationException
-
addVariable
- Throws:
ComputationException
-
addVariable
public Variable addVariable(String name, TimeSeriesContainer tsc, boolean requiresTsc) throws ComputationException - Throws:
ComputationException
-
getVariableCount
public int getVariableCount() -
getVariableNames
-
getVariable
- Throws:
ComputationException
-
getVariable
- Throws:
ComputationException
-
reset
- Throws:
ComputationException
-
setRequiresTsc
- Throws:
ComputationException
-
requiresTsc
- Throws:
ComputationException
-
setTimeSeriesContainer
public void setTimeSeriesContainer(String name, TimeSeriesContainer tsc) throws ComputationException - Throws:
ComputationException
-
setValue
- Throws:
ComputationException
-
setValue
- Throws:
ComputationException
-
setValue
- Throws:
ComputationException
-
getValue
- Throws:
ComputationException
-
setData
- Throws:
ComputationException
-
setData
- Throws:
ComputationException
-
getQuality
- Throws:
ComputationException
-