cloudy trunk
Loading...
Searching...
No Matches
bad_assert Class Reference

#include <cddefines.h>

Collaboration diagram for bad_assert:

Public Member Functions

 bad_assert (const char *file, long line, const char *comment)
void print (void) const
virtual ~bad_assert () throw ()
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

Detailed Description

Definition at line 537 of file cddefines.h.

Constructor & Destructor Documentation

◆ bad_assert()

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

Definition at line 17 of file cddefines.cpp.

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

Here is the call graph for this function:

◆ ~bad_assert()

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

Definition at line 549 of file cddefines.h.

References p_file.

Member Function Documentation

◆ comment()

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

Definition at line 561 of file cddefines.h.

References p_comment.

Referenced by bad_assert().

◆ file()

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

Definition at line 553 of file cddefines.h.

References p_file.

Referenced by bad_assert().

◆ line()

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

Definition at line 557 of file cddefines.h.

References p_line.

Referenced by bad_assert().

◆ print()

void bad_assert::print ( void ) const
inline

Definition at line 544 of file cddefines.h.

References ioQQQ, p_comment, p_file, and p_line.

Field Documentation

◆ p_comment

const char* bad_assert::p_comment
private

Definition at line 541 of file cddefines.h.

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

◆ p_file

const char* bad_assert::p_file
private

Definition at line 539 of file cddefines.h.

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

◆ p_line

long bad_assert::p_line
private

Definition at line 540 of file cddefines.h.

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


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