Package hec.hecmath.computation
Class VariableSet
java.lang.Object
hec.hecmath.computation.VariableSet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addVariable
(Variable var) void
addVariable
(Variable var, boolean requiresTsc) void
addVariable
(Variable var, TimeSeriesContainer tsc, boolean requiresTsc) addVariable
(String name) addVariable
(String name, boolean requiresTsc) addVariable
(String name, TimeSeriesContainer tsc, boolean requiresTsc) int
getQuality
(String name) double
getVariable
(String name) getVariable
(String name, boolean createIfNecessary) int
boolean
requiresTsc
(String name) void
reset()
void
setData
(TimeSeriesContainerAligner tsca, int index) void
setData
(TimeSeriesContainer tsc, int index) void
setRequiresTsc
(String name) void
setTimeSeriesContainer
(String name, TimeSeriesContainer tsc) void
void
void
-
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
-