Main Page | Modules | Alphabetical List | Class List | File List | Class Members | File Members

Assertions


Functions

void planck_assert (bool testval, const std::string &msg)
void planck_assert (bool testval, const char *msg)
void assert_present (const std::string &filename)
void assert_not_present (const std::string &filename)

Function Documentation

void planck_assert bool  testval,
const std::string &  msg
[inline]
 

Throws a Message_error containing msg if testval is false.

Definition at line 177 of file cxxutils.h.

void planck_assert bool  testval,
const char *  msg
[inline]
 

Throws a Message_error containing msg if testval is false.

Definition at line 183 of file cxxutils.h.

void assert_present const std::string &  filename  ) 
 

Checks the presence of the file filename.

If the file is not present, a Message_error is thrown.

void assert_not_present const std::string &  filename  ) 
 

Checks the absence of the file filename.

If the file is present, a Message_error is thrown.


Generated on Fri Jul 8 09:37:14 2005 for LevelS C++ support library