Public Member Functions | |
rec_index_helper (const dim_vector &dv, const Array< idx_vector > &ia) | |
~rec_index_helper (void) | |
template<class T > | |
void | assign (const T *src, T *dest) const |
template<class T > | |
void | fill (const T &val, T *dest) const |
template<class T > | |
void | index (const T *src, T *dest) const |
bool | is_cont_range (octave_idx_type &l, octave_idx_type &u) const |
Private Member Functions | |
rec_index_helper (const rec_index_helper &) | |
template<class T > | |
const T * | do_assign (const T *src, T *dest, int lev) const |
template<class T > | |
void | do_fill (const T &val, T *dest, int lev) const |
template<class T > | |
T * | do_index (const T *src, T *dest, int lev) const |
rec_index_helper & | operator= (const rec_index_helper &) |
Private Attributes | |
octave_idx_type * | cdim |
octave_idx_type * | dim |
idx_vector * | idx |
int | n |
int | top |
Definition at line 517 of file Array.cc.
rec_index_helper::rec_index_helper | ( | const dim_vector & | dv, | |
const Array< idx_vector > & | ia | |||
) | [inline] |
rec_index_helper::~rec_index_helper | ( | void | ) | [inline] |
rec_index_helper::rec_index_helper | ( | const rec_index_helper & | ) | [private] |
void rec_index_helper::assign | ( | const T * | src, | |
T * | dest | |||
) | const [inline] |
Definition at line 620 of file Array.cc.
References do_assign(), and top.
Referenced by Array< T >::assign().
const T* rec_index_helper::do_assign | ( | const T * | src, | |
T * | dest, | |||
int | lev | |||
) | const [inline, private] |
Definition at line 580 of file Array.cc.
References idx_vector::assign(), cdim, d, dim, idx, idx_vector::length(), and nn.
Referenced by assign().
void rec_index_helper::do_fill | ( | const T & | val, | |
T * | dest, | |||
int | lev | |||
) | const [inline, private] |
Definition at line 596 of file Array.cc.
References cdim, d, dim, idx_vector::fill(), idx, idx_vector::length(), and nn.
Referenced by fill().
T* rec_index_helper::do_index | ( | const T * | src, | |
T * | dest, | |||
int | lev | |||
) | const [inline, private] |
Definition at line 564 of file Array.cc.
References cdim, d, dim, idx, idx_vector::index(), idx_vector::length(), and nn.
Referenced by index().
void rec_index_helper::fill | ( | const T & | val, | |
T * | dest | |||
) | const [inline] |
Definition at line 623 of file Array.cc.
References do_fill(), and top.
Referenced by Array< T >::assign().
void rec_index_helper::index | ( | const T * | src, | |
T * | dest | |||
) | const [inline] |
Definition at line 617 of file Array.cc.
References do_index(), and top.
Referenced by Array< T >::index().
bool rec_index_helper::is_cont_range | ( | octave_idx_type & | l, | |
octave_idx_type & | u | |||
) | const [inline] |
Definition at line 625 of file Array.cc.
References dim, idx, idx_vector::is_cont_range(), and top.
Referenced by Array< T >::index().
rec_index_helper& rec_index_helper::operator= | ( | const rec_index_helper & | ) | [private] |
octave_idx_type* rec_index_helper::cdim [private] |
Definition at line 525 of file Array.cc.
Referenced by do_assign(), do_fill(), do_index(), and rec_index_helper().
octave_idx_type* rec_index_helper::dim [private] |
Definition at line 524 of file Array.cc.
Referenced by do_assign(), do_fill(), do_index(), is_cont_range(), rec_index_helper(), and ~rec_index_helper().
idx_vector* rec_index_helper::idx [private] |
Definition at line 526 of file Array.cc.
Referenced by do_assign(), do_fill(), do_index(), is_cont_range(), rec_index_helper(), and ~rec_index_helper().
int rec_index_helper::n [private] |
Definition at line 522 of file Array.cc.
Referenced by rec_index_helper().
int rec_index_helper::top [private] |
Definition at line 523 of file Array.cc.
Referenced by assign(), fill(), index(), is_cont_range(), and rec_index_helper().