SimGrid  3.18
Versatile Simulation of Distributed Systems
simgrid::xbt::WithContext< E > Class Template Reference

Detailed Description

template<class E>
class simgrid::xbt::WithContext< E >

Internal class used to mixin an exception E with WithContextException.

#include <exception.hpp>

Inheritance diagram for simgrid::xbt::WithContext< E >:
simgrid::xbt::WithContextException

Public Member Functions

 WithContext (E exception)
 
 WithContext (E exception, ThrowPoint throwpoint, Backtrace backtrace)
 
 WithContext (E exception, Backtrace backtrace)
 
 WithContext (E exception, WithContextException context)
 
 ~WithContext () override=default
 
- Public Member Functions inherited from simgrid::xbt::WithContextException
 WithContextException ()
 
 WithContextException (Backtrace bt)
 
 WithContextException (ThrowPoint throwpoint, Backtrace bt)
 
virtual ~WithContextException ()
 
Backtrace const & backtrace () const
 
int pid () const
 
std::string const & processName () const
 
ThrowPointthrowPoint ()
 

Constructor & Destructor Documentation

◆ WithContext() [1/4]

template<class E >
simgrid::xbt::WithContext< E >::WithContext ( exception)
inlineexplicit

◆ WithContext() [2/4]

template<class E >
simgrid::xbt::WithContext< E >::WithContext ( exception,
ThrowPoint  throwpoint,
Backtrace  backtrace 
)
inline

◆ WithContext() [3/4]

template<class E >
simgrid::xbt::WithContext< E >::WithContext ( exception,
Backtrace  backtrace 
)
inline

◆ WithContext() [4/4]

template<class E >
simgrid::xbt::WithContext< E >::WithContext ( exception,
WithContextException  context 
)
inline

◆ ~WithContext()

template<class E >
simgrid::xbt::WithContext< E >::~WithContext ( )
overridedefault

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