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

define a list of standard exit codes for executables More...

#include <type_traits>
Include dependency graph for Exit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Elements
 

Typedefs

using Elements::ExitCodeType = std::underlying_type<ExitCode>::type
 Underlying type of the ExitCode class.
 

Enumerations

enum class  Elements::ExitCode : int {
  Elements::ExitCode::OK = 0 , Elements::ExitCode::NOT_OK = 1 , Elements::ExitCode::USAGE = 64 , Elements::ExitCode::DATAERR = 65 ,
  Elements::ExitCode::NOINPUT = 66 , Elements::ExitCode::NOUSER = 67 , Elements::ExitCode::NOHOST = 68 , Elements::ExitCode::UNAVAILABLE = 69 ,
  Elements::ExitCode::SOFTWARE = 70 , Elements::ExitCode::OSERR = 71 , Elements::ExitCode::OSFILE = 72 , Elements::ExitCode::CANTCREAT = 73 ,
  Elements::ExitCode::IOERR = 74 , Elements::ExitCode::TEMPFAIL = 75 , Elements::ExitCode::PROTOCOL = 76 , Elements::ExitCode::NOPERM = 77 ,
  Elements::ExitCode::CONFIG = 78
}
 Strongly typed exit numbers. More...
 

Detailed Description

define a list of standard exit codes for executables

Date
Aug 25, 2014
Author
Hubert Degaudenzi

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 Exit.h.