Go to the source code of this file.
|
int | readAggregation (CommentStream &infile, IntMatrix &agg, CharPtrVector &aggindex) |
| This is the function that will read aggregation data from a file into a matrix. More...
|
|
int | readAggregation (CommentStream &infile, IntVector &agg, CharPtrVector &aggindex) |
| This is the function that will read aggregation data from a file into a vector. More...
|
|
int | readLengthAggregation (CommentStream &infile, DoubleVector &lengths, CharPtrVector &lenindex) |
| This is the function that will read length aggregation data from a file. More...
|
|
int | readPreyAggregation (CommentStream &infile, CharPtrMatrix &preynames, DoubleMatrix &preylengths, FormulaMatrix &digestioncoeff, CharPtrVector &preyindex, Keeper *const keeper) |
| This is the function that will read prey aggregation data from a file. More...
|
|
◆ readAggregation() [1/2]
This is the function that will read aggregation data from a file into a matrix.
- Parameters
-
infile | is the CommentStream to read the aggregation data from |
agg | is the IntMatrix that the aggregated data will be stored in |
aggindex | is the CharPtrVector that the aggregated data labels will be stored in |
- Returns
- number of aggregation entries read
◆ readAggregation() [2/2]
This is the function that will read aggregation data from a file into a vector.
- Parameters
-
infile | is the CommentStream to read the aggregation data from |
agg | is the IntVector that the aggregated data will be stored in |
aggindex | is the CharPtrVector that the aggregated data labels will be stored in |
- Returns
- number of aggregation entries read
◆ readLengthAggregation()
This is the function that will read length aggregation data from a file.
- Parameters
-
infile | is the CommentStream to read the aggregation data from |
lengths | is the DoubleVector that the aggregated length data will be stored in |
lenindex | is the CharPtrVector that the aggregated length labels will be stored in |
- Returns
- number of length aggregation entries read
◆ readPreyAggregation()
This is the function that will read prey aggregation data from a file.
- Parameters
-
infile | is the CommentStream to read the aggregation data from |
preynames | is the CharPtrVector that the prey names will be stored in |
preylengths | is the DoubleMatrix that the aggregated prey length data will be stored in |
digestioncoeff | is the FormulaMatrix that the prey digestion data will be stored in |
preyindex | is the CharPtrVector that the aggregated prey labels will be stored in |
keeper | is the Keeper for the current model |
- Returns
- number of prey aggregation entries read