1.2.1
CCC
 
CovFactory Class Reference

#include <CovFactory.hpp>

Static Public Member Functions

static ACovFunccreateCovFunc (const ECov &type, const CovContext &ctxt)
 
static ACovFuncduplicateCovFunc (const ACovFunc &cov)
 
static void displayCovList (const CovContext &ctxt)
 
static VectorString getCovList (const CovContext &ctxt, int order=3)
 
static ECov identifyCovariance (const String &cov_name, const CovContext &ctxt)
 
static double getScaleFactor (const ECov &type, double param)
 

Member Function Documentation

ACovFunc * CovFactory::createCovFunc ( const ECov &  type,
const CovContext ctxt 
)
static
void CovFactory::displayCovList ( const CovContext ctxt)
static

Prints the list of covariances available for a given context

Parameters
ctxtContext from which we want authorized covariances
ACovFunc * CovFactory::duplicateCovFunc ( const ACovFunc cov)
static
VectorString CovFactory::getCovList ( const CovContext ctxt,
int  order = 3 
)
static

Return the list of covariances names available for a given context

Parameters
ctxtContext from which we want authorized covariances
orderMaximum order for the IRF
double CovFactory::getScaleFactor ( const ECov &  type,
double  param 
)
static
ECov CovFactory::identifyCovariance ( const String cov_name,
const CovContext ctxt 
)
static

Return the ECov object from the given covariance name. The name must correspond to one of the getCovName(). If the name doesn't exists, this method returns ECov::UNKNOWN and display available covariances for the given context.

Parameters
cov_nameName of the required covariance
ctxtContext from which we want authorized covariances

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