Public Member Functions
ErrorRange Class Reference

Error class for index range checking errors. More...

#include <error.hpp>

Inheritance diagram for ErrorRange:
Error ExceptionTracer

List of all members.

Public Member Functions

 ErrorRange (const ErrorLocation &loc, uint32_t i, uint32_t n, uint32_t j, uint32_t m)
 Constructor for error message for two dimensional indexing error.
 ErrorRange (const ErrorLocation &loc, uint32_t i, uint32_t n)
 Constructor for error message for one dimensional indexing error.

Detailed Description

Error class for index range checking errors.


Constructor & Destructor Documentation

ErrorRange::ErrorRange ( const ErrorLocation loc,
uint32_t  i,
uint32_t  n,
uint32_t  j,
uint32_t  m 
)

Constructor for error message for two dimensional indexing error.

The index i is supposed to be smaller than n and j smaller than m.

ErrorRange::ErrorRange ( const ErrorLocation loc,
uint32_t  i,
uint32_t  n 
)

Constructor for error message for one dimensional indexing error.

The index i is supposed to be smaller than n.


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