Elements  6.2
A C++ base framework for the Euclid Software.
Classes | Namespaces | Functions
Exception.h File Reference

defines the base Elements exception class More...

#include <cstddef>
#include <cstdio>
#include <exception>
#include <sstream>
#include <string>
#include <type_traits>
#include <utility>
#include "ElementsKernel/Exit.h"
#include "ElementsKernel/Export.h"
Include dependency graph for Exception.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Elements::Exception
 Elements base exception class. More...
 
struct  Elements::Exception::ExitCodeHelper< Args >
 
struct  Elements::Exception::ExitCodeHelper< Last >
 
struct  Elements::Exception::ExitCodeHelper< First, Rest... >
 

Namespaces

 Elements
 

Functions

template<typename Ex , typename T , typename = typename std::enable_if< std::is_base_of<Exception, typename std::remove_reference<Ex>::type>::value>::type>
auto Elements::operator<< (Ex &&ex, const T &message) -> decltype(std::forward< Ex >(ex))
 

Detailed Description

defines the base Elements exception class

Date
Feb 20, 2013
Author
Pavel Binko

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file Exception.h.