Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bad_assert Class Reference

#include <cddefines.h>

Public Member Functions

 bad_assert (const char *file, long line, const char *comment)
 
 bad_assert (const bad_assert &)=default
 
bad_assertoperator= (const bad_assert &)=default
 
virtual ~bad_assert () throw ()
 
void print (void) const
 
const char * file () const throw ()
 
long line () const throw ()
 
const char * comment () const throw ()
 

Private Attributes

const char * p_file
 
long p_line
 
const char * p_comment
 

Constructor & Destructor Documentation

bad_assert::bad_assert ( const char *  file,
long  line,
const char *  comment 
)

References cpu, t_cpu_i::GenerateBacktrace(), t_cpu::i(), and NULL.

Here is the call graph for this function:

bad_assert::bad_assert ( const bad_assert )
default
virtual bad_assert::~bad_assert ( )
throw (
)
inlinevirtual

Member Function Documentation

const char* bad_assert::comment ( ) const
throw (
)
inline

Referenced by cdMain().

const char* bad_assert::file ( ) const
throw (
)
inline

Referenced by cdMain().

long bad_assert::line ( ) const
throw (
)
inline

Referenced by cdMain().

bad_assert& bad_assert::operator= ( const bad_assert )
default
void bad_assert::print ( void  ) const
inline

References fprintf(), and ioQQQ.

Here is the call graph for this function:

Member Data Documentation

const char* bad_assert::p_comment
private
const char* bad_assert::p_file
private
long bad_assert::p_line
private

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