class Snippet::Base

Overview

Base class for all code snippets. More…

#include <snippet.h>

class Base
{
public:
    // typedefs

    typedef std::vector<std::string> StringVec;
    typedef std::vector<EGP> EGPVec;
    typedef std::vector<ParamVal> ParamValVec;
    typedef std::vector<DerivedParam> DerivedParamVec;

    // structs

    struct DerivedParam;
    struct EGP;
    struct ParamVal;

    // methods

    virtual ~Base();
    virtual StringVec getParamNames() const;
    virtual DerivedParamVec getDerivedParams() const;
};

// direct descendants

class Base;
class Base;
class Base;

Detailed Documentation

Base class for all code snippets.

Methods

virtual StringVec getParamNames() const

Gets names of of (independent) model parameters.

virtual DerivedParamVec getDerivedParams() const

Gets names of derived model parameters and the function objects to call to Calculate their value from a vector of model parameter values