![]() |
User Guide
|
Helper to represent information about index/int variables. More...
Helper to represent information about index/int variables.
Definition at line 127 of file codegen_cpp_visitor.hpp.
#include <codegen_cpp_visitor.hpp>
Public Member Functions | |
IndexVariableInfo (std::shared_ptr< symtab::Symbol > symbol, bool is_vdata=false, bool is_index=false, bool is_integer=false) | |
Public Attributes | |
const std::shared_ptr< symtab::Symbol > | symbol |
symbol for the variable More... | |
bool | is_vdata = false |
if variable resides in vdata field of NrnThread typically true for bbcore pointer More... | |
bool | is_index = false |
if this is pure index (e.g. More... | |
bool | is_integer = false |
if this is an integer (e.g. More... | |
bool | is_constant = false |
if the variable is qualified as constant (this is property of IndexVariable) More... | |
|
inlineexplicit |
Definition at line 146 of file codegen_cpp_visitor.hpp.
bool nmodl::codegen::IndexVariableInfo::is_constant = false |
if the variable is qualified as constant (this is property of IndexVariable)
Definition at line 144 of file codegen_cpp_visitor.hpp.
bool nmodl::codegen::IndexVariableInfo::is_index = false |
if this is pure index (e.g.
style_ion) variables is directly index and shouldn't be printed with data/vdata
Definition at line 137 of file codegen_cpp_visitor.hpp.
bool nmodl::codegen::IndexVariableInfo::is_integer = false |
if this is an integer (e.g.
tqitem, point_process) variable which is printed as array accesses
Definition at line 141 of file codegen_cpp_visitor.hpp.
bool nmodl::codegen::IndexVariableInfo::is_vdata = false |
if variable resides in vdata field of NrnThread typically true for bbcore pointer
Definition at line 133 of file codegen_cpp_visitor.hpp.
const std::shared_ptr<symtab::Symbol> nmodl::codegen::IndexVariableInfo::symbol |
symbol for the variable
Definition at line 129 of file codegen_cpp_visitor.hpp.