Elements  6.2
A C++ base framework for the Euclid Software.
Public Member Functions | Public Attributes | Private Member Functions | List of all members
Elements::Exception::ExitCodeHelper< Last > Struct Template Reference

Public Member Functions

 ExitCodeHelper (const Last &last)
 

Public Attributes

ExitCode code
 

Private Member Functions

template<typename T , typename std::enable_if< std::is_same< T, ExitCode >::value >::type * = nullptr>
ExitCode getCode (const T &t)
 
template<typename T , typename std::enable_if< not std::is_same< T, ExitCode >::value >::type * = nullptr>
ExitCode getCode (const T &)
 

Detailed Description

template<typename Last>
struct Elements::Exception::ExitCodeHelper< Last >

Definition at line 139 of file Exception.h.

Constructor & Destructor Documentation

◆ ExitCodeHelper()

template<typename Last >
Elements::Exception::ExitCodeHelper< Last >::ExitCodeHelper ( const Last &  last)
inlineexplicit

Definition at line 140 of file Exception.h.

Member Function Documentation

◆ getCode() [1/2]

template<typename Last >
template<typename T , typename std::enable_if< not std::is_same< T, ExitCode >::value >::type * = nullptr>
ExitCode Elements::Exception::ExitCodeHelper< Last >::getCode ( const T &  )
inlineprivate

Definition at line 151 of file Exception.h.

References Elements::NOT_OK.

◆ getCode() [2/2]

template<typename Last >
template<typename T , typename std::enable_if< std::is_same< T, ExitCode >::value >::type * = nullptr>
ExitCode Elements::Exception::ExitCodeHelper< Last >::getCode ( const T &  t)
inlineprivate

Definition at line 146 of file Exception.h.

Member Data Documentation

◆ code

template<typename Last >
ExitCode Elements::Exception::ExitCodeHelper< Last >::code

Definition at line 141 of file Exception.h.


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