Public Member Functions | Public Attributes | List of all members
vil_exception_out_of_bounds Class Reference

Indicates that some reference was made to pixels beyond the bounds of an image. More...

#include <vil_exception.h>

Inheritance diagram for vil_exception_out_of_bounds:
Inheritance graph
[legend]

Public Member Functions

 vil_exception_out_of_bounds (const std::string &operation)
 
 ~vil_exception_out_of_bounds () override=default throw ()
 

Public Attributes

std::string operation_name
 

Detailed Description

Indicates that some reference was made to pixels beyond the bounds of an image.

In most cases of out-of-bounds access, you will not get this exception. For efficiency reasons, vil may not test for this problem, or may if you are lucky trip an assert. This function is only used in cases where easy of use, and risk of mistakes are high, and inefficiency is very low.

Definition at line 81 of file vil_exception.h.

Constructor & Destructor Documentation

◆ vil_exception_out_of_bounds()

vil_exception_out_of_bounds::vil_exception_out_of_bounds ( const std::string &  operation)
inline

Definition at line 86 of file vil_exception.h.

◆ ~vil_exception_out_of_bounds()

vil_exception_out_of_bounds::~vil_exception_out_of_bounds ( )
throw (
)
overridedefault

Member Data Documentation

◆ operation_name

std::string vil_exception_out_of_bounds::operation_name

Definition at line 85 of file vil_exception.h.


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