GCBM
Public Member Functions | Private Attributes | List of all members
ComponentBiomassCarbonCurve Class Reference

#include <componentbiomasscarboncurve.h>

Collaboration diagram for ComponentBiomassCarbonCurve:
Collaboration graph

Public Member Functions

 ComponentBiomassCarbonCurve ()
 
virtual ~ComponentBiomassCarbonCurve ()=default
 
 ComponentBiomassCarbonCurve (int maxAge)
 
double getMerchCarbonIncrement (int age) const
 
double getFoliageCarbonIncrement (int age) const
 
double getOtherCarbonIncrement (int age) const
 
double getMerchCarbonAtAge (int age) const
 
double getFoliageCarbonAtAge (int age) const
 
double getOtherCarbonAtAge (int age) const
 
std::vector< double > getAboveGroundCarbonCurve () const
 
const std::vector< double > & getMerchCarbonCurve () const
 
const std::vector< double > & getFoliageCarbonCurve () const
 
const std::vector< double > & getOtherCarbonCurve () const
 
void setMerchCarbonAtAge (int age, double value)
 
void setFoliageCarbonAtAge (int age, double value)
 
void setOtherCarbonAtAge (int age, double value)
 

Private Attributes

int _maxAge = 1
 
std::vector< double > _merchCarbonIncrements
 
std::vector< double > _foliageCarbonIncrements
 
std::vector< double > _otherCarbonIncrements
 

Constructor & Destructor Documentation

◆ ComponentBiomassCarbonCurve() [1/2]

◆ ~ComponentBiomassCarbonCurve()

virtual ~ComponentBiomassCarbonCurve ( )
virtualdefault

◆ ComponentBiomassCarbonCurve() [2/2]

ComponentBiomassCarbonCurve ( int  maxAge)

Member Function Documentation

◆ getAboveGroundCarbonCurve()

std::vector< double > getAboveGroundCarbonCurve ( ) const

◆ getFoliageCarbonAtAge()

double getFoliageCarbonAtAge ( int  age) const

◆ getFoliageCarbonCurve()

const std::vector< double > & getFoliageCarbonCurve ( ) const

◆ getFoliageCarbonIncrement()

double getFoliageCarbonIncrement ( int  age) const

◆ getMerchCarbonAtAge()

double getMerchCarbonAtAge ( int  age) const

◆ getMerchCarbonCurve()

const std::vector< double > & getMerchCarbonCurve ( ) const

◆ getMerchCarbonIncrement()

double getMerchCarbonIncrement ( int  age) const

◆ getOtherCarbonAtAge()

double getOtherCarbonAtAge ( int  age) const

◆ getOtherCarbonCurve()

const std::vector< double > & getOtherCarbonCurve ( ) const

◆ getOtherCarbonIncrement()

double getOtherCarbonIncrement ( int  age) const

◆ setFoliageCarbonAtAge()

void setFoliageCarbonAtAge ( int  age,
double  value 
)

◆ setMerchCarbonAtAge()

void setMerchCarbonAtAge ( int  age,
double  value 
)

◆ setOtherCarbonAtAge()

void setOtherCarbonAtAge ( int  age,
double  value 
)

Member Data Documentation

◆ _foliageCarbonIncrements

std::vector<double> _foliageCarbonIncrements
private

◆ _maxAge

int _maxAge = 1
private

◆ _merchCarbonIncrements

std::vector<double> _merchCarbonIncrements
private

◆ _otherCarbonIncrements

std::vector<double> _otherCarbonIncrements
private

The documentation for this class was generated from the following files: