Elements 6.3.1
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Exception.h File Reference

defines the base Elements exception class More...

#include <exception>
#include <string>
#include <type_traits>
#include <utility>
#include "ElementsKernel/Exit.h"
#include "ElementsKernel/Export.h"
#include "ElementsKernel/_impl/Exception.tpp"
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

namespace  Elements
 

Macros

#define ELEMENTSKERNEL_ELEMENTSKERNEL_EXCEPTION_IMPL_
 

Functions

template<typename Ex , typename T , typename = typename std::enable_if< std::is_base_of<Exception, typename std::remove_reference<Ex>::type>::value>::type>
ELEMENTS_API 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.