Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
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() [1/2]

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

References comment(), cpu, file(), line(), NULL, p_comment, p_file, and p_line.

Referenced by bad_assert(), and operator=().

Here is the call graph for this function:

◆ bad_assert() [2/2]

bad_assert::bad_assert ( const bad_assert & )
default

References bad_assert().

Here is the call graph for this function:

◆ ~bad_assert()

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

Member Function Documentation

◆ comment()

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

References p_comment.

Referenced by bad_assert().

◆ file()

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

References p_file.

Referenced by bad_assert().

◆ line()

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

References p_line.

Referenced by bad_assert().

◆ operator=()

bad_assert & bad_assert::operator= ( const bad_assert & )
default

References bad_assert().

Here is the call graph for this function:

◆ print()

void bad_assert::print ( void ) const
inline

References fprintf(), ioQQQ, p_comment, p_file, and p_line.

Here is the call graph for this function:

Member Data Documentation

◆ p_comment

const char* bad_assert::p_comment
private

Referenced by bad_assert(), comment(), and print().

◆ p_file

const char* bad_assert::p_file
private

Referenced by bad_assert(), file(), and print().

◆ p_line

long bad_assert::p_line
private

Referenced by bad_assert(), line(), and print().


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