NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links

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)

Detailed Description


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 178 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 184 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 Jun 18 16:12:29 2010 for LevelS C++ support library
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650