GeNN
4.9.0
GPU enhanced Neuronal Networks (GeNN)
|
A variable has a name, a type and an access type. More...
#include <models.h>
Public Member Functions | |
Var (const std::string &n, const std::string &t, VarAccess a) | |
Var (const std::string &n, const std::string &t) | |
Var () | |
bool | operator== (const Var &other) const |
Public Attributes | |
std::string | name |
std::string | type |
VarAccess | access |
A variable has a name, a type and an access type.
Explicit constructors required as although, through the wonders of C++ aggregate initialization, access would default to VarAccess::READ_WRITE if not specified, this results in a -Wmissing-field-initializers warning on GCC and Clang
|
inline |
|
inline |
|
inline |
|
inline |
VarAccess Models::Base::Var::access |
std::string Models::Base::Var::name |
std::string Models::Base::Var::type |