Public Member Functions | |
idx_scalar_rep (const idx_scalar_rep &idx)=delete | |
OCTAVE_API | idx_scalar_rep (octave_idx_type i) |
idx_scalar_rep (octave_idx_type i, direct) | |
template<typename T > | |
idx_scalar_rep (T x) | |
idx_scalar_rep (void)=delete | |
OCTAVE_API Array< octave_idx_type > | as_array (void) |
OCTAVE_API octave_idx_type | checkelem (octave_idx_type i) const |
octave_idx_type | extent (octave_idx_type n) const |
octave_idx_type | get_data (void) const |
idx_class_type | idx_class (void) const |
bool | is_colon_equiv (octave_idx_type n) const |
octave_idx_type | length (octave_idx_type) const |
idx_scalar_rep & | operator= (const idx_scalar_rep &idx)=delete |
dim_vector | orig_dimensions (void) const |
OCTAVE_API std::ostream & | print (std::ostream &os) const |
OCTAVE_API idx_base_rep * | sort_idx (Array< octave_idx_type > &) |
idx_base_rep * | sort_uniq_clone (bool=false) |
OCTAVE_API double | unconvert (void) const |
octave_idx_type | xelem (octave_idx_type) const |
Public Attributes | |
refcount< octave_idx_type > | m_count |
Private Attributes | |
octave_idx_type | m_data |
Definition at line 227 of file idx-vector.h.
|
delete |
|
inline |
Definition at line 233 of file idx-vector.h.
|
delete |
idx_vector::idx_scalar_rep::idx_scalar_rep | ( | octave_idx_type | i | ) |
Definition at line 252 of file idx-vector.cc.
References err_invalid_index(), and m_data.
idx_vector::idx_scalar_rep::idx_scalar_rep | ( | T | x | ) |
Definition at line 244 of file idx-vector.cc.
References convert_index(), m_data, and x.
|
virtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 287 of file idx-vector.cc.
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 260 of file idx-vector.cc.
References err_index_out_of_range().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 253 of file idx-vector.h.
|
inline |
Definition at line 268 of file idx-vector.h.
Referenced by idx_vector::maybe_reduce().
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 256 of file idx-vector.h.
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 263 of file idx-vector.h.
References n.
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 251 of file idx-vector.h.
|
delete |
|
inlinevirtual |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 266 of file idx-vector.h.
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 277 of file idx-vector.cc.
|
virtual |
Implements idx_vector::idx_base_rep.
Definition at line 269 of file idx-vector.cc.
References Array< T, Alloc >::clear(), and Array< T, Alloc >::fill().
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 258 of file idx-vector.h.
double idx_vector::idx_scalar_rep::unconvert | ( | void | ) | const |
Definition at line 282 of file idx-vector.cc.
|
inlinevirtual |
Implements idx_vector::idx_base_rep.
Definition at line 247 of file idx-vector.h.
|
inherited |
Definition at line 122 of file idx-vector.h.
Referenced by idx_vector::operator=().
|
private |
Definition at line 278 of file idx-vector.h.
Referenced by idx_scalar_rep().