OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Public Member Functions | Private Attributes | List of all members
assertion Class Reference

#include <PAssert.h>

Inherits std::runtime_error.

Public Member Functions

 assertion (const char *cond, const char *file, int line)
 
 assertion (const char *m)
 
 assertion (const assertion &a)
 
 ~assertion () throw ()
 
assertionoperator= (const assertion &a)
 
virtual const char * what ()
 

Private Attributes

char * msg
 

Detailed Description

Definition at line 48 of file PAssert.h.

Constructor & Destructor Documentation

◆ assertion() [1/3]

assertion::assertion ( const char *  cond,
const char *  file,
int  line 
)

Definition at line 45 of file PAssert.cpp.

References msg.

◆ assertion() [2/3]

assertion::assertion ( const char *  m)

Definition at line 53 of file PAssert.cpp.

References msg.

◆ assertion() [3/3]

assertion::assertion ( const assertion a)

Definition at line 60 of file PAssert.cpp.

References a, and msg.

◆ ~assertion()

assertion::~assertion ( )
throw (
)
inline

Definition at line 55 of file PAssert.h.

References msg.

Member Function Documentation

◆ operator=()

assertion & assertion::operator= ( const assertion a)

Definition at line 67 of file PAssert.cpp.

References a, and msg.

◆ what()

virtual const char * assertion::what ( )
inlinevirtual

Definition at line 59 of file PAssert.h.

References msg.

Member Data Documentation

◆ msg

char* assertion::msg
private

Definition at line 50 of file PAssert.h.

Referenced by assertion(), operator=(), what(), and ~assertion().


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