28#ifndef __SISCONE_ERROR_H__
29#define __SISCONE_ERROR_H__
47 if (m_print_errors) std::cerr <<
"siscone::Csiscone_error: "<<
message_in << std::endl;
51 std::string
message()
const {
return m_message;};
59 std::string m_message;
60 static bool m_print_errors;
class corresponding to errors that will be thrown by siscone
Csiscone_error()
default ctor
Csiscone_error(const std::string &message_in)
ctor with a given error message
std::string message() const
access to the error message
static void setm_print_errors(bool print_errors)
switch on/off the error message printing
a circulator that is foreseen to take as template member either a pointer or an iterator;