Public Member Functions | |
idx_scalar_rep (octave_idx_type i, direct) | |
idx_scalar_rep (void) | |
template<class T > | |
idx_scalar_rep (T x) | |
idx_scalar_rep (octave_idx_type i) | |
Array< octave_idx_type > | as_array (void) |
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 |
dim_vector | orig_dimensions (void) const |
std::ostream & | print (std::ostream &os) const |
idx_base_rep * | sort_idx (Array< octave_idx_type > &) |
idx_base_rep * | sort_uniq_clone (bool=false) |
double | unconvert (void) const |
octave_idx_type | xelem (octave_idx_type) const |
Public Attributes | |
octave_refcount< int > | count |
bool | err |
Private Member Functions | |
DECLARE_OCTAVE_ALLOCATOR | idx_scalar_rep (const idx_scalar_rep &idx) |
idx_scalar_rep & | operator= (const idx_scalar_rep &idx) |
Private Attributes | |
octave_idx_type | data |
Definition at line 221 of file idx-vector.h.
idx_vector::idx_scalar_rep::idx_scalar_rep | ( | octave_idx_type | i, | |
direct | ||||
) | [inline] |
Definition at line 224 of file idx-vector.h.
idx_vector::idx_scalar_rep::idx_scalar_rep | ( | void | ) | [inline] |
Definition at line 227 of file idx-vector.h.
idx_vector::idx_scalar_rep::idx_scalar_rep | ( | octave_idx_type | i | ) |
Definition at line 275 of file idx-vector.cc.
References data, idx_vector::idx_base_rep::err, and gripe_invalid_index().
idx_vector::idx_scalar_rep::idx_scalar_rep | ( | T | x | ) |
Definition at line 264 of file idx-vector.cc.
References convert_index(), data, idx_vector::idx_base_rep::err, and gripe_invalid_index().
DECLARE_OCTAVE_ALLOCATOR idx_vector::idx_scalar_rep::idx_scalar_rep | ( | const idx_scalar_rep & | idx | ) | [private] |
Array< octave_idx_type > idx_vector::idx_scalar_rep::as_array | ( | void | ) | [virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 315 of file idx-vector.cc.
References data.
octave_idx_type idx_vector::idx_scalar_rep::checkelem | ( | octave_idx_type | i | ) | const [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 286 of file idx-vector.cc.
References data, and gripe_index_out_of_range().
octave_idx_type idx_vector::idx_scalar_rep::extent | ( | octave_idx_type | n | ) | const [inline, virtual] |
octave_idx_type idx_vector::idx_scalar_rep::get_data | ( | void | ) | const [inline] |
Definition at line 257 of file idx-vector.h.
Referenced by idx_vector::assign(), idx_vector::bloop(), idx_vector::copy_data(), idx_vector::fill(), idx_vector::index(), idx_vector::is_cont_range(), idx_vector::loop(), and idx_vector::maybe_reduce().
idx_class_type idx_vector::idx_scalar_rep::idx_class | ( | void | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 245 of file idx-vector.h.
bool idx_vector::idx_scalar_rep::is_colon_equiv | ( | octave_idx_type | n | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 252 of file idx-vector.h.
octave_idx_type idx_vector::idx_scalar_rep::length | ( | octave_idx_type | ) | const [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 240 of file idx-vector.h.
idx_scalar_rep& idx_vector::idx_scalar_rep::operator= | ( | const idx_scalar_rep & | idx | ) | [private] |
dim_vector idx_vector::idx_scalar_rep::orig_dimensions | ( | void | ) | const [inline, virtual] |
Reimplemented from idx_vector::idx_base_rep.
Definition at line 255 of file idx-vector.h.
std::ostream & idx_vector::idx_scalar_rep::print | ( | std::ostream & | os | ) | const [virtual] |
idx_vector::idx_base_rep * idx_vector::idx_scalar_rep::sort_idx | ( | Array< octave_idx_type > & | idx | ) | [virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 295 of file idx-vector.cc.
References Array< T >::clear(), idx_vector::idx_base_rep::count, and Array< T >::fill().
idx_base_rep* idx_vector::idx_scalar_rep::sort_uniq_clone | ( | bool | = false |
) | [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 247 of file idx-vector.h.
double idx_vector::idx_scalar_rep::unconvert | ( | void | ) | const |
Definition at line 309 of file idx-vector.cc.
References data.
Referenced by idx_vector::unconvert().
octave_idx_type idx_vector::idx_scalar_rep::xelem | ( | octave_idx_type | ) | const [inline, virtual] |
Implements idx_vector::idx_base_rep.
Definition at line 236 of file idx-vector.h.
octave_refcount<int> idx_vector::idx_base_rep::count [inherited] |
Definition at line 109 of file idx-vector.h.
Referenced by idx_vector::operator=(), idx_vector::idx_mask_rep::sort_idx(), sort_idx(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_colon_rep::sort_idx(), idx_vector::idx_vector_rep::sort_uniq_clone(), and idx_vector::idx_range_rep::sort_uniq_clone().
Definition at line 273 of file idx-vector.h.
Referenced by as_array(), checkelem(), idx_scalar_rep(), print(), and unconvert().
bool idx_vector::idx_base_rep::err [inherited] |
Definition at line 111 of file idx-vector.h.
Referenced by idx_vector::err_rep(), idx_vector::freeze(), idx_vector::idx_colon_rep::idx_colon_rep(), idx_vector::idx_range_rep::idx_range_rep(), idx_scalar_rep(), and idx_vector::idx_vector_rep::idx_vector_rep().