GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
octave::out_of_range Class Reference
Inheritance diagram for octave::out_of_range:
Inheritance graph
[legend]
Collaboration diagram for octave::out_of_range:
Collaboration graph
[legend]

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

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.

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 194 of file lo-array-gripes.cc.

Member Function Documentation

std::string octave::out_of_range::details ( void  ) const
inlinevirtual
std::string octave::out_of_range::details ( void  ) const
inlinevirtual
const char* octave::out_of_range::err_id ( void  ) const
inlinevirtual

Implements octave::index_exception.

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

References error_id_index_out_of_bounds.

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.

std::string octave::index_exception::expression ( void  ) const
protectedinherited
std::string octave::index_exception::idx ( void  ) const
inlineinherited
std::string octave::index_exception::message ( void  ) const
virtualinherited
void octave::out_of_range::set_extent ( octave_idx_type  ext)
inline

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

References extent.

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

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

References extent.

void octave::index_exception::set_pos ( octave_idx_type  nd_arg,
octave_idx_type  dim_arg 
)
inlineinherited
void octave::index_exception::set_pos_if_unset ( octave_idx_type  nd_arg,
octave_idx_type  dim_arg 
)
inlineinherited
void octave::out_of_range::set_size ( const dim_vector size_in)
inline

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

References size.

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.

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

Member Data Documentation

octave_idx_type octave::index_exception::dim
protectedinherited
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().

octave_idx_type octave::index_exception::nd
protectedinherited
dim_vector octave::out_of_range::size
private

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

Referenced by details(), and set_size().

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

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