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

Public Member Functions

 out_of_range (const std::string &value, octave_idx_type nd_in, octave_idx_type dim_in)
 
 out_of_range (const std::string &value, octave_idx_type nd_in, octave_idx_type dim_in)
 
std::string details (void) const
 
std::string details (void) const
 
const char * err_id (void) const
 
const char * err_id (void) const
 
std::string idx (void) const
 
virtual std::string message (void) const
 
void set_extent (octave_idx_type ext)
 
void set_extent (octave_idx_type ext)
 
void set_pos (octave_idx_type nd_arg, octave_idx_type dim_arg)
 
void set_pos_if_unset (octave_idx_type nd_arg, octave_idx_type dim_arg)
 
void set_size (const dim_vector &size_in)
 
void set_size (const dim_vector &size_in)
 
void set_var (const std::string &var_arg="")
 

Protected Member Functions

std::string expression (void) const
 

Protected Attributes

octave_idx_type dim
 
octave_idx_type nd
 
std::string var
 

Private Attributes

octave_idx_type extent
 
dim_vector size
 

Detailed Description

Definition at line 223 of file lo-array-errwarn.cc.

Constructor & Destructor Documentation

◆ out_of_range() [1/2]

octave::out_of_range::out_of_range ( const std::string value,
octave_idx_type  nd_in,
octave_idx_type  dim_in 
)
inline

Definition at line 227 of file lo-array-errwarn.cc.

◆ out_of_range() [2/2]

octave::out_of_range::out_of_range ( const std::string value,
octave_idx_type  nd_in,
octave_idx_type  dim_in 
)
inline

Definition at line 195 of file lo-array-gripes.cc.

Member Function Documentation

◆ details() [1/2]

std::string octave::out_of_range::details ( void  ) const
inlinevirtual

◆ details() [2/2]

std::string octave::out_of_range::details ( void  ) const
inlinevirtual

◆ err_id() [1/2]

const char* octave::out_of_range::err_id ( void  ) const
inlinevirtual

Implements octave::index_exception.

Definition at line 224 of file lo-array-gripes.cc.

References error_id_index_out_of_bounds.

◆ err_id() [2/2]

const char* octave::out_of_range::err_id ( void  ) const
inlinevirtual

Implements octave::index_exception.

Definition at line 256 of file lo-array-errwarn.cc.

References error_id_index_out_of_bounds.

◆ expression()

std::string octave::index_exception::expression ( void  ) const
protectedinherited

◆ idx()

std::string octave::index_exception::idx ( void  ) const
inlineinherited

Definition at line 54 of file lo-array-errwarn.h.

References octave::index_exception::index.

Referenced by octave::index_exception::expression().

◆ message()

std::string octave::index_exception::message ( void  ) const
virtualinherited

◆ set_extent() [1/2]

void octave::out_of_range::set_extent ( octave_idx_type  ext)
inline

Definition at line 231 of file lo-array-gripes.cc.

References extent.

◆ set_extent() [2/2]

void octave::out_of_range::set_extent ( octave_idx_type  ext)
inline

Definition at line 263 of file lo-array-errwarn.cc.

References extent.

◆ set_pos()

void octave::index_exception::set_pos ( octave_idx_type  nd_arg,
octave_idx_type  dim_arg 
)
inlineinherited

Definition at line 65 of file lo-array-errwarn.h.

References octave::index_exception::dim, and octave::index_exception::nd.

◆ set_pos_if_unset()

void octave::index_exception::set_pos_if_unset ( octave_idx_type  nd_arg,
octave_idx_type  dim_arg 
)
inlineinherited

Definition at line 71 of file lo-array-errwarn.h.

References octave::index_exception::dim, and octave::index_exception::nd.

◆ set_size() [1/2]

void octave::out_of_range::set_size ( const dim_vector size_in)
inline

Definition at line 229 of file lo-array-gripes.cc.

References size.

◆ set_size() [2/2]

void octave::out_of_range::set_size ( const dim_vector size_in)
inline

Definition at line 261 of file lo-array-errwarn.cc.

References size.

◆ set_var()

void octave::index_exception::set_var ( const std::string var_arg = "")
inlineinherited

Definition at line 81 of file lo-array-errwarn.h.

References octave::index_exception::var.

Member Data Documentation

◆ dim

octave_idx_type octave::index_exception::dim
protectedinherited

◆ extent

octave_idx_type octave::out_of_range::extent
private

Definition at line 271 of file lo-array-errwarn.cc.

Referenced by details(), and set_extent().

◆ nd

◆ size

dim_vector octave::out_of_range::size
private

Definition at line 268 of file lo-array-errwarn.cc.

Referenced by details(), and set_size().

◆ var

std::string octave::index_exception::var
protectedinherited

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