Escript  Revision_4320
Classes | Functions
esysUtils Namespace Reference

Classes

class  EsysAssertException
 EsysAssertException exception class. More...
class  EsysException
 A base class for exception classes used within Esys system. More...

Functions

void * malloc (size_t len)
void free (void *ptr)
void * realloc (void *ptr, size_t len)
std::ostream & operator<< (std::ostream &output, EsysException &inException)
 Stream insertion (print) operator for EsysExceptions.
void esysExceptionTranslator (EsysException const &e)
 Function which translates an EsysException into a python exception.

Function Documentation

void esysUtils::esysExceptionTranslator ( EsysException const &  e)

Function which translates an EsysException into a python exception.

References esysUtils::EsysException::what().

Referenced by BOOST_PYTHON_MODULE().

void esysUtils::free ( void *  ptr)
inline
void* esysUtils::malloc ( size_t  len)
inline
std::ostream& esysUtils::operator<< ( std::ostream &  output,
EsysException inException 
)

Stream insertion (print) operator for EsysExceptions.

Parameters
outputInput - Output stream.
inExceptionInput - The exception to be inserted into the output stream.

References esysUtils::EsysException::toString().

void* esysUtils::realloc ( void *  ptr,
size_t  len 
)
inline

References ESYS_REALLOC.