GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
Snippet::ValueBase< NumVars > Class Template Reference

#include <snippet.h>

Public Member Functions

template<typename... T>
 ValueBase (T &&... vals)
 
const std::vector< double > & getValues () const
 Gets values as a vector of doubles. More...
 
double operator[] (size_t pos) const
 

Constructor & Destructor Documentation

◆ ValueBase()

template<size_t NumVars>
template<typename... T>
Snippet::ValueBase< NumVars >::ValueBase ( T &&...  vals)
inline

Member Function Documentation

◆ getValues()

template<size_t NumVars>
const std::vector<double>& Snippet::ValueBase< NumVars >::getValues ( ) const
inline

Gets values as a vector of doubles.

◆ operator[]()

template<size_t NumVars>
double Snippet::ValueBase< NumVars >::operator[] ( size_t  pos) const
inline

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