Developer documentation
Version 3.0.3-105-gd3941f44
MR::Exception Class Reference

#include "exception.h"

Inheritance diagram for MR::Exception:
MR::CancelException MR::InvalidFixelDirectoryException MR::InvalidImageException

Public Member Functions

 Exception ()
 
 Exception (const std::string &msg)
 
 Exception (const Exception &previous_exception, const std::string &msg)
 
void display (int log_level=0) const
 
size_t num () const
 
const std::string & operator[] (size_t n) const
 
void push_back (const std::string &s)
 
void push_back (const Exception &e)
 

Public Attributes

vector< std::string > description
 

Static Public Attributes

static void(* display_func )(const Exception &E, int log_level)
 

Detailed Description

Definition at line 80 of file exception.h.

Constructor & Destructor Documentation

◆ Exception() [1/3]

MR::Exception::Exception ( )
inline

Definition at line 82 of file exception.h.

◆ Exception() [2/3]

MR::Exception::Exception ( const std::string &  msg)
inline

Definition at line 84 of file exception.h.

◆ Exception() [3/3]

MR::Exception::Exception ( const Exception previous_exception,
const std::string &  msg 
)
inline

Definition at line 87 of file exception.h.

Member Function Documentation

◆ display()

void MR::Exception::display ( int  log_level = 0) const
inline

Definition at line 92 of file exception.h.

◆ num()

size_t MR::Exception::num ( ) const
inline

Definition at line 96 of file exception.h.

◆ operator[]()

const std::string & MR::Exception::operator[] ( size_t  n) const
inline

Definition at line 99 of file exception.h.

◆ push_back() [1/2]

void MR::Exception::push_back ( const Exception e)
inline

Definition at line 105 of file exception.h.

◆ push_back() [2/2]

void MR::Exception::push_back ( const std::string &  s)
inline

Definition at line 102 of file exception.h.

Member Data Documentation

◆ description

vector<std::string> MR::Exception::description

Definition at line 112 of file exception.h.

◆ display_func

void(* MR::Exception::display_func) (const Exception &E, int log_level)
static

Definition at line 110 of file exception.h.


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