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

idx_vector::idx_mask_rep Class Reference

Inheritance diagram for idx_vector::idx_mask_rep:
Inheritance graph
[legend]
Collaboration diagram for idx_vector::idx_mask_rep:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 idx_mask_rep (bool *_data, octave_idx_type _len, octave_idx_type _ext, const dim_vector &od, direct)
 idx_mask_rep (void)
 idx_mask_rep (const Array< bool > &, octave_idx_type=-1)
 idx_mask_rep (bool)
 ~idx_mask_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 boolget_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_repsort_idx (Array< octave_idx_type > &)
idx_base_repsort_uniq_clone (bool=false)
Array< boolunconvert (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_mask_rep (const idx_mask_rep &idx)
idx_mask_repoperator= (const idx_mask_rep &idx)

Private Attributes

Array< bool > * aowner
const booldata
octave_idx_type ext
octave_idx_type len
octave_idx_type lste
octave_idx_type lsti
dim_vector orig_dims

Detailed Description

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


Constructor & Destructor Documentation

idx_vector::idx_mask_rep::idx_mask_rep ( bool _data,
octave_idx_type  _len,
octave_idx_type  _ext,
const dim_vector od,
direct   
) [inline]

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

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

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

idx_vector::idx_mask_rep::idx_mask_rep ( bool  b  ) 

Definition at line 651 of file idx-vector.cc.

References d, data, ext, and len.

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

Definition at line 687 of file idx-vector.cc.

References aowner, and data.

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

Member Function Documentation

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

Reimplemented from idx_vector::idx_base_rep.

Definition at line 754 of file idx-vector.cc.

References aowner, data, ext, Array< T >::find(), orig_dims, Array< T >::reshape(), and Array< T >::xelem().

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

Implements idx_vector::idx_base_rep.

Definition at line 714 of file idx-vector.cc.

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

octave_idx_type idx_vector::idx_mask_rep::extent ( octave_idx_type  n  )  const [inline, virtual]
const bool* idx_vector::idx_mask_rep::get_data ( void   )  const [inline]
idx_class_type idx_vector::idx_mask_rep::idx_class ( void   )  const [inline, virtual]

Reimplemented from idx_vector::idx_base_rep.

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

bool idx_vector::idx_mask_rep::is_colon_equiv ( octave_idx_type  n  )  const [inline, virtual]

Reimplemented from idx_vector::idx_base_rep.

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

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

Reimplemented from idx_vector::idx_base_rep.

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

Referenced by idx_vector::unmask().

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

Implements idx_vector::idx_base_rep.

Definition at line 726 of file idx-vector.cc.

References data, and ext.

idx_vector::idx_base_rep * idx_vector::idx_mask_rep::sort_idx ( Array< octave_idx_type > &  idx  )  [virtual]
idx_base_rep* idx_vector::idx_mask_rep::sort_uniq_clone ( bool  = false  )  [inline, virtual]

Implements idx_vector::idx_base_rep.

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

Array< bool > idx_vector::idx_mask_rep::unconvert ( void   )  const

Definition at line 740 of file idx-vector.cc.

References aowner, data, ext, and Array< T >::xelem().

Referenced by idx_vector::unconvert().

octave_idx_type idx_vector::idx_mask_rep::xelem ( octave_idx_type  i  )  const [virtual]

Implements idx_vector::idx_base_rep.

Definition at line 696 of file idx-vector.cc.

References data, lste, and lsti.

Referenced by checkelem().


Member Data Documentation

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

Referenced by as_array(), idx_mask_rep(), unconvert(), and ~idx_mask_rep().

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

Referenced by as_array(), idx_mask_rep(), print(), unconvert(), xelem(), and ~idx_mask_rep().

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

Referenced by as_array(), idx_mask_rep(), print(), and unconvert().

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

Referenced by checkelem(), idx_mask_rep(), and sort_idx().

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

Referenced by xelem().

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

Referenced by xelem().

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

Referenced by as_array(), and idx_mask_rep().


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