CoreNEURON
coreneuron::fixed_vector< T > Class Template Reference

Detailed Description

template<typename T>
class coreneuron::fixed_vector< T >

Definition at line 18 of file ivocvect.hpp.

#include <ivocvect.hpp>

Public Member Functions

 fixed_vector ()=default
 
 fixed_vector (size_t n)
 
 fixed_vector (const fixed_vector &vec)=delete
 
fixed_vectoroperator= (const fixed_vector &vec)=delete
 
 fixed_vector (fixed_vector &&vec)
 
fixed_vectoroperator= (fixed_vector &&vec)
 
 ~fixed_vector ()
 
const T & operator[] (int i) const
 
T & operator[] (int i)
 
 nrn_pragma_acc (routine seq) const T *data(void) const
 
 nrn_pragma_acc (routine seq) T *data(void)
 
 nrn_pragma_acc (routine seq) size_t size() const
 

Public Attributes

T * data_
 

Private Attributes

size_t n_
 

Constructor & Destructor Documentation

◆ fixed_vector() [1/4]

template<typename T >
coreneuron::fixed_vector< T >::fixed_vector ( )
default

◆ fixed_vector() [2/4]

template<typename T >
coreneuron::fixed_vector< T >::fixed_vector ( size_t  n)
inline

Definition at line 26 of file ivocvect.hpp.

◆ fixed_vector() [3/4]

template<typename T >
coreneuron::fixed_vector< T >::fixed_vector ( const fixed_vector< T > &  vec)
delete

◆ fixed_vector() [4/4]

template<typename T >
coreneuron::fixed_vector< T >::fixed_vector ( fixed_vector< T > &&  vec)
inline

Definition at line 33 of file ivocvect.hpp.

◆ ~fixed_vector()

template<typename T >
coreneuron::fixed_vector< T >::~fixed_vector ( )
inline

Definition at line 45 of file ivocvect.hpp.

Member Function Documentation

◆ nrn_pragma_acc() [1/3]

template<typename T >
coreneuron::fixed_vector< T >::nrn_pragma_acc ( routine  seq) const
inline

Definition at line 56 of file ivocvect.hpp.

◆ nrn_pragma_acc() [2/3]

template<typename T >
coreneuron::fixed_vector< T >::nrn_pragma_acc ( routine  seq) const
inline

Definition at line 66 of file ivocvect.hpp.

◆ nrn_pragma_acc() [3/3]

template<typename T >
coreneuron::fixed_vector< T >::nrn_pragma_acc ( routine  seq)
inline

Definition at line 61 of file ivocvect.hpp.

◆ operator=() [1/2]

template<typename T >
fixed_vector& coreneuron::fixed_vector< T >::operator= ( const fixed_vector< T > &  vec)
delete

◆ operator=() [2/2]

template<typename T >
fixed_vector& coreneuron::fixed_vector< T >::operator= ( fixed_vector< T > &&  vec)
inline

Definition at line 38 of file ivocvect.hpp.

◆ operator[]() [1/2]

template<typename T >
T& coreneuron::fixed_vector< T >::operator[] ( int  i)
inline

Definition at line 52 of file ivocvect.hpp.

◆ operator[]() [2/2]

template<typename T >
const T& coreneuron::fixed_vector< T >::operator[] ( int  i) const
inline

Definition at line 49 of file ivocvect.hpp.

Member Data Documentation

◆ data_

template<typename T >
T* coreneuron::fixed_vector< T >::data_

Definition at line 22 of file ivocvect.hpp.

◆ n_

template<typename T >
size_t coreneuron::fixed_vector< T >::n_
private

Definition at line 19 of file ivocvect.hpp.


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