Public Member Functions | Public Attributes | Private Member Functions | Private Attributes

idx_vector::idx_vector_rep Class Reference

Inheritance diagram for idx_vector::idx_vector_rep:
Inheritance graph
Collaboration diagram for idx_vector::idx_vector_rep:
Collaboration graph

List of all members.

Public Member Functions

 idx_vector_rep (octave_idx_type *_data, octave_idx_type _len, octave_idx_type _ext, const dim_vector &od, direct)
 idx_vector_rep (void)
 idx_vector_rep (const Array< octave_idx_type > &inda, octave_idx_type _ext, direct)
 idx_vector_rep (const Sparse< bool > &)
template<class T >
 idx_vector_rep (const Array< T > &)
 idx_vector_rep (const Array< octave_idx_type > &inda)
 idx_vector_rep (bool)
 idx_vector_rep (const Array< bool > &, octave_idx_type=-1)
 ~idx_vector_rep (void)
Array< octave_idx_typeas_array (void)
octave_idx_type checkelem (octave_idx_type i) const
octave_idx_type extent (octave_idx_type n) const
const octave_idx_typeget_data (void) const
idx_class_type idx_class (void) const
virtual bool is_colon_equiv (octave_idx_type) const
octave_idx_type length (octave_idx_type) const
dim_vector orig_dimensions (void) const
std::ostream & print (std::ostream &os) const
idx_base_repsort_idx (Array< octave_idx_type > &)
idx_base_repsort_uniq_clone (bool uniq=false)
Array< doubleunconvert (void) const
octave_idx_type xelem (octave_idx_type i) const

Public Attributes

octave_refcount< intcount
bool err

Private Member Functions

DECLARE_OCTAVE_ALLOCATOR idx_vector_rep (const idx_vector_rep &idx)
idx_vector_repoperator= (const idx_vector_rep &idx)

Private Attributes

Array< octave_idx_type > * aowner
const octave_idx_typedata
octave_idx_type ext
octave_idx_type len
dim_vector orig_dims

Detailed Description

Definition at line 278 of file idx-vector.h.

Constructor & Destructor Documentation

idx_vector::idx_vector_rep::idx_vector_rep ( octave_idx_type _data,
octave_idx_type  _len,
octave_idx_type  _ext,
const dim_vector od,
) [inline]

Definition at line 282 of file idx-vector.h.

idx_vector::idx_vector_rep::idx_vector_rep ( void   )  [inline]

Definition at line 286 of file idx-vector.h.

idx_vector::idx_vector_rep::idx_vector_rep ( const Array< octave_idx_type > &  inda  ) 
idx_vector::idx_vector_rep::idx_vector_rep ( const Array< octave_idx_type > &  inda,
octave_idx_type  _ext,

Definition at line 366 of file

References data, ext, len, and idx_vector::max().

template<class T >
idx_vector::idx_vector_rep::idx_vector_rep ( const Array< T > &  nda  ) 
idx_vector::idx_vector_rep::idx_vector_rep ( bool  b  ) 

Definition at line 383 of file

References d, data, ext, and len.

idx_vector::idx_vector_rep::idx_vector_rep ( const Array< bool > &  bnda,
octave_idx_type  nnz = -1 
idx_vector::idx_vector_rep::idx_vector_rep ( const Sparse< bool > &  bnda  ) 
idx_vector::idx_vector_rep::~idx_vector_rep ( void   ) 

Definition at line 456 of file

References aowner, and data.

DECLARE_OCTAVE_ALLOCATOR idx_vector::idx_vector_rep::idx_vector_rep ( const idx_vector_rep idx  )  [private]

Member Function Documentation

Array< octave_idx_type > idx_vector::idx_vector_rep::as_array ( void   )  [virtual]

Reimplemented from idx_vector::idx_base_rep.

Definition at line 633 of file

References aowner, data, Array< T >::fortran_vec(), len, and orig_dims.

octave_idx_type idx_vector::idx_vector_rep::checkelem ( octave_idx_type  i  )  const [virtual]

Implements idx_vector::idx_base_rep.

Definition at line 465 of file

References gripe_invalid_index(), len, and xelem().

octave_idx_type idx_vector::idx_vector_rep::extent ( octave_idx_type  n  )  const [inline, virtual]

Implements idx_vector::idx_base_rep.

Definition at line 313 of file idx-vector.h.

References max().

Referenced by idx_vector::inverse_permutation().

const octave_idx_type* idx_vector::idx_vector_rep::get_data ( void   )  const [inline]
idx_class_type idx_vector::idx_vector_rep::idx_class ( void   )  const [inline, virtual]

Reimplemented from idx_vector::idx_base_rep.

Definition at line 316 of file idx-vector.h.

virtual bool idx_vector::idx_base_rep::is_colon_equiv ( octave_idx_type   )  const [inline, virtual, inherited]
octave_idx_type idx_vector::idx_vector_rep::length ( octave_idx_type   )  const [inline, virtual]

Implements idx_vector::idx_base_rep.

Definition at line 311 of file idx-vector.h.

idx_vector_rep& idx_vector::idx_vector_rep::operator= ( const idx_vector_rep idx  )  [private]
dim_vector idx_vector::idx_vector_rep::orig_dimensions ( void   )  const [inline, virtual]

Reimplemented from idx_vector::idx_base_rep.

Definition at line 322 of file idx-vector.h.

std::ostream & idx_vector::idx_vector_rep::print ( std::ostream &  os  )  const [virtual]

Implements idx_vector::idx_base_rep.

Definition at line 610 of file

References data, and len.

idx_vector::idx_base_rep * idx_vector::idx_vector_rep::sort_idx ( Array< octave_idx_type > &  idx  )  [virtual]
idx_vector::idx_base_rep * idx_vector::idx_vector_rep::sort_uniq_clone ( bool  uniq = false  )  [virtual]
Array< double > idx_vector::idx_vector_rep::unconvert ( void   )  const

Definition at line 624 of file

References data, len, orig_dims, and Array< T >::xelem().

Referenced by idx_vector::unconvert().

octave_idx_type idx_vector::idx_vector_rep::xelem ( octave_idx_type  i  )  const [inline, virtual]

Implements idx_vector::idx_base_rep.

Definition at line 307 of file idx-vector.h.

Referenced by checkelem().

Member Data Documentation

Definition at line 351 of file idx-vector.h.

Referenced by as_array(), and ~idx_vector_rep().

Definition at line 342 of file idx-vector.h.

Referenced by idx_vector_rep(), sort_idx(), and sort_uniq_clone().

Definition at line 353 of file idx-vector.h.

Referenced by as_array(), idx_vector_rep(), sort_idx(), sort_uniq_clone(), and unconvert().

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines