class CurrentSourceInternal

#include <currentSourceInternal.h>

class CurrentSourceInternal: public CurrentSource
{
public:
    // methods

    CurrentSourceInternal(
        const std::string& name,
        const CurrentSourceModels::Base* currentSourceModel,
        const std::vector<double>& params,
        const std::vector<Models::VarInit>& varInitialisers,
        VarLocation defaultVarLocation,
        VarLocation defaultExtraGlobalParamLocation
        );
};

Inherited Members

public:
    // methods

    CurrentSource(const CurrentSource&);
    CurrentSource();
    void setVarLocation(const std::string& varName, VarLocation loc);
    void setExtraGlobalParamLocation(const std::string& paramName, VarLocation loc);
    const std::string& getName() const;
    const CurrentSourceModels::Base* getCurrentSourceModel() const;
    const std::vector<double>& getParams() const;
    const std::vector<Models::VarInit>& getVarInitialisers() const;
    VarLocation getVarLocation(const std::string& varName) const;
    VarLocation getVarLocation(size_t index) const;
    VarLocation getExtraGlobalParamLocation(const std::string& paramName) const;
    VarLocation getExtraGlobalParamLocation(size_t index) const;