11#ifndef POPULATION_DYNAMICS_AGE_TO_LENGTH_CONVERSION_BASE_HPP
12#define POPULATION_DYNAMICS_AGE_TO_LENGTH_CONVERSION_BASE_HPP
25template <
typename Type>
29 AgeToLengthConversionBase() {
30 this->
id = AgeToLengthConversionBase<Type>::id_g++;
33 virtual ~AgeToLengthConversionBase() {}
60template <
typename Type>
61uint32_t AgeToLengthConversionBase<Type>::id_g =
Definition fims_vector.hpp:27
Establishes the FIMS Vector class.
Definition of the FIMSObject structure.
The population dynamics of FIMS.
Definition catch_at_age.hpp:45
FIMSObject struct that defines member types and returns the unique id.
Definition model_object.hpp:55
virtual bool IsActive() const =0
Returns whether this age-to-length conversion is active and valid for use.
virtual bool PrepareForCurrentState()=0
Prepare this age-to-length conversion for the current model state.
virtual bool BuildAgeToLengthConversionRow(size_t year, size_t age, fims::Vector< Type > &out_row) const =0
Builds the age-to-length conversion row for a given year and age.