SimGrid  3.14.159
Versatile Simulation of Distributed Systems
simgrid::xbt::ThrowPoint Class Reference

Detailed Description

The location of where an exception has been throwed.

This is a tuple (FILE, LINE, func) and can be created with XBT_THROW_POINT.

#include <exception.hpp>

Public Member Functions

 ThrowPoint ()=default
 
 ThrowPoint (const char *file, int line, const char *function)
 

Public Attributes

const char * file = nullptr
 
int line = 0
 
const char * function = nullptr
 

Constructor & Destructor Documentation

§ ThrowPoint() [1/2]

simgrid::xbt::ThrowPoint::ThrowPoint ( )
default

§ ThrowPoint() [2/2]

simgrid::xbt::ThrowPoint::ThrowPoint ( const char *  file,
int  line,
const char *  function 
)
inline

Member Data Documentation

§ file

const char* simgrid::xbt::ThrowPoint::file = nullptr

§ line

int simgrid::xbt::ThrowPoint::line = 0

§ function

const char* simgrid::xbt::ThrowPoint::function = nullptr

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