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

#include <PAssert.h>

Inherits 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)
 
const char * what ()
 

Private Attributes

char * msg
 

Detailed Description

Definition at line 53 of file PAssert.h.

Constructor & Destructor Documentation

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

Definition at line 45 of file PAssert.cpp.

References msg.

assertion::assertion ( const char *  m)

Definition at line 53 of file PAssert.cpp.

References msg.

assertion::assertion ( const assertion a)

Definition at line 60 of file PAssert.cpp.

References msg.

assertion::~assertion ( )
throw (
)
inline

Definition at line 60 of file PAssert.h.

References msg.

Member Function Documentation

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

Definition at line 67 of file PAssert.cpp.

References msg.

const char* assertion::what ( )
inline

Definition at line 66 of file PAssert.h.

References msg.

Referenced by main().

Member Data Documentation

char* assertion::msg
private

Definition at line 55 of file PAssert.h.

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


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