GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
idx_vector::idx_colon_rep Class Reference
Inheritance diagram for idx_vector::idx_colon_rep:
Collaboration diagram for idx_vector::idx_colon_rep:

Public Member Functions

 idx_colon_rep (char c)
 
 idx_colon_rep (const idx_colon_rep &idx)=delete
 
 idx_colon_rep (void)=default
 
virtual Array< octave_idx_typeas_array (void)
 
octave_idx_type checkelem (octave_idx_type i) const
 
octave_idx_type extent (octave_idx_type n) const
 
idx_class_type idx_class (void) const
 
bool is_colon_equiv (octave_idx_type) const
 
octave_idx_type length (octave_idx_type n) const
 
idx_colon_repoperator= (const idx_colon_rep &idx)=delete
 
virtual dim_vector orig_dimensions (void) const
 
std::ostream & print (std::ostream &os) const
 
OCTAVE_NORETURN idx_base_repsort_idx (Array< octave_idx_type > &)
 
idx_base_repsort_uniq_clone (bool=false)
 
octave_idx_type xelem (octave_idx_type i) const
 

Public Attributes

octave::refcount< octave_idx_typecount
 
bool err
 

Detailed Description

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

Constructor & Destructor Documentation

◆ idx_colon_rep() [1/3]

idx_vector::idx_colon_rep::idx_colon_rep ( void  )
default

◆ idx_colon_rep() [2/3]

idx_vector::idx_colon_rep::idx_colon_rep ( char  c)

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

References idx_vector::idx_base_rep::err.

◆ idx_colon_rep() [3/3]

idx_vector::idx_colon_rep::idx_colon_rep ( const idx_colon_rep idx)
delete

Member Function Documentation

◆ as_array()

Array< octave_idx_type > idx_vector::idx_base_rep::as_array ( void  )
virtualinherited

◆ checkelem()

octave_idx_type idx_vector::idx_colon_rep::checkelem ( octave_idx_type  i) const
virtual

Implements idx_vector::idx_base_rep.

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

References err_index_out_of_range().

◆ extent()

octave_idx_type idx_vector::idx_colon_rep::extent ( octave_idx_type  n) const
inlinevirtual

Implements idx_vector::idx_base_rep.

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

References n.

◆ idx_class()

idx_class_type idx_vector::idx_colon_rep::idx_class ( void  ) const
inlinevirtual

Reimplemented from idx_vector::idx_base_rep.

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

◆ is_colon_equiv()

bool idx_vector::idx_colon_rep::is_colon_equiv ( octave_idx_type  ) const
inlinevirtual

Reimplemented from idx_vector::idx_base_rep.

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

◆ length()

octave_idx_type idx_vector::idx_colon_rep::length ( octave_idx_type  n) const
inlinevirtual

Implements idx_vector::idx_base_rep.

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

References n.

◆ operator=()

idx_colon_rep& idx_vector::idx_colon_rep::operator= ( const idx_colon_rep idx)
delete

◆ orig_dimensions()

virtual dim_vector idx_vector::idx_base_rep::orig_dimensions ( void  ) const
inlinevirtualinherited

◆ print()

std::ostream & idx_vector::idx_colon_rep::print ( std::ostream &  os) const
virtual

Implements idx_vector::idx_base_rep.

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

◆ sort_idx()

idx_vector::idx_base_rep * idx_vector::idx_colon_rep::sort_idx ( Array< octave_idx_type > &  )
virtual

Implements idx_vector::idx_base_rep.

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

◆ sort_uniq_clone()

idx_base_rep* idx_vector::idx_colon_rep::sort_uniq_clone ( bool  = false)
inlinevirtual

Implements idx_vector::idx_base_rep.

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

◆ xelem()

octave_idx_type idx_vector::idx_colon_rep::xelem ( octave_idx_type  i) const
inlinevirtual

Implements idx_vector::idx_base_rep.

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

Member Data Documentation

◆ count

octave::refcount<octave_idx_type> idx_vector::idx_base_rep::count
inherited

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

Referenced by idx_vector::operator=().

◆ err


The documentation for this class was generated from the following files: