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

Public Member Functions

 invalid_index (const std::string &value, octave_idx_type ndim, octave_idx_type dimen)
 
 invalid_index (const std::string &value, octave_idx_type ndim, octave_idx_type dimen)
 
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_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_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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ invalid_index() [1/2]

octave::invalid_index::invalid_index ( const std::string value,
octave_idx_type  ndim,
octave_idx_type  dimen 
)
inline

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

◆ invalid_index() [2/2]

octave::invalid_index::invalid_index ( const std::string value,
octave_idx_type  ndim,
octave_idx_type  dimen 
)
inline

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

Member Function Documentation

◆ details() [1/2]

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

Implements octave::index_exception.

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

◆ details() [2/2]

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

Implements octave::index_exception.

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

◆ err_id() [1/2]

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

Implements octave::index_exception.

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

References error_id_invalid_index.

◆ err_id() [2/2]

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

Implements octave::index_exception.

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

References error_id_invalid_index.

◆ 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_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_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

◆ nd

◆ var

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

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