ROSE 0.11.145.192
Public Member Functions | Public Attributes | List of all members
Rose::FailedAssertion Struct Reference

Description

Exception that can be thrown for a failed assertion.

The std::runtime_error::what string will be the expr if non-null, otherwise the mesg.

Definition at line 54 of file processSupport.h.

#include <util/processSupport.h>

Inheritance diagram for Rose::FailedAssertion:
Inheritance graph
[legend]
Collaboration diagram for Rose::FailedAssertion:
Collaboration graph
[legend]

Public Member Functions

 FailedAssertion (const char *mesg, const char *expr, const std::string &note, const char *fileName, unsigned lineNumber, const char *functionName)
 

Public Attributes

const char * mesg
 
const char * expr
 
std::string note
 
const char * fileName
 
unsigned lineNumber
 
const char * functionName
 

Constructor & Destructor Documentation

◆ FailedAssertion()

Rose::FailedAssertion::FailedAssertion ( const char *  mesg,
const char *  expr,
const std::string &  note,
const char *  fileName,
unsigned  lineNumber,
const char *  functionName 
)
inline

Definition at line 61 of file processSupport.h.

◆ ~FailedAssertion()

Rose::FailedAssertion::~FailedAssertion ( )
throw (
)
inline

Definition at line 65 of file processSupport.h.

Member Data Documentation

◆ mesg

const char* Rose::FailedAssertion::mesg

Definition at line 55 of file processSupport.h.

◆ expr

const char* Rose::FailedAssertion::expr

Definition at line 56 of file processSupport.h.

◆ note

std::string Rose::FailedAssertion::note

Definition at line 57 of file processSupport.h.

◆ fileName

const char* Rose::FailedAssertion::fileName

Definition at line 58 of file processSupport.h.

◆ lineNumber

unsigned Rose::FailedAssertion::lineNumber

Definition at line 59 of file processSupport.h.

◆ functionName

const char* Rose::FailedAssertion::functionName

Definition at line 60 of file processSupport.h.


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