BubbleProfiler  0.3.0
by Peter Athron, Csaba Balazs, Michael Bardsley, Andrew Fowlie, Dylan Harries & Graham White
Public Member Functions | Private Attributes | List of all members
BubbleProfiler::Out_of_bounds_error Class Reference

Exception indicating out of bounds access error. More...

#include <error.hpp>

Inheritance diagram for BubbleProfiler::Out_of_bounds_error:
Inheritance graph
[legend]
Collaboration diagram for BubbleProfiler::Out_of_bounds_error:
Collaboration graph
[legend]

Public Member Functions

 Out_of_bounds_error (int idx_)
 
 Out_of_bounds_error (int idx_, const std::string &what_)
 
 Out_of_bounds_error (int idx_, const char *what_)
 
int get_index_value () const
 

Private Attributes

int index {0}
 

Detailed Description

Exception indicating out of bounds access error.

Definition at line 75 of file error.hpp.

Constructor & Destructor Documentation

BubbleProfiler::Out_of_bounds_error::Out_of_bounds_error ( int  idx_)
inlineexplicit

Definition at line 77 of file error.hpp.

BubbleProfiler::Out_of_bounds_error::Out_of_bounds_error ( int  idx_,
const std::string &  what_ 
)
inline

Definition at line 82 of file error.hpp.

BubbleProfiler::Out_of_bounds_error::Out_of_bounds_error ( int  idx_,
const char *  what_ 
)
inline

Definition at line 86 of file error.hpp.

Member Function Documentation

int BubbleProfiler::Out_of_bounds_error::get_index_value ( ) const
inline

Definition at line 91 of file error.hpp.

Member Data Documentation

int BubbleProfiler::Out_of_bounds_error::index {0}
private

Definition at line 94 of file error.hpp.


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