tut::util Namespace Reference


Functions

std::string escape (const std::string &orig)
std::string unescape (const std::string &orig)
void serialize (std::ostream &os, const tut::test_result &tr)
void deserialize (std::istream &is, tut::test_result &tr)


Function Documentation

std::string tut::util::escape ( const std::string &  orig  ) 

Escapes non-alphabetical characters in string.

Definition at line 26 of file tut_restartable.h.

Referenced by tut::restartable_wrapper::register_execution_(), and serialize().

std::string tut::util::unescape ( const std::string &  orig  ) 

Un-escapes string.

Definition at line 56 of file tut_restartable.h.

Referenced by deserialize(), and tut::restartable_wrapper::read_log_().

void tut::util::serialize ( std::ostream &  os,
const tut::test_result tr 
)

Serialize test_result avoiding interfering with operator <<.

Definition at line 86 of file tut_restartable.h.

References escape(), tut::test_result::ex, tut::test_result::fail, tut::test_result::group, tut::test_result::message, tut::test_result::ok, tut::test_result::result, tut::test_result::term, tut::test_result::test, and tut::test_result::warn.

Referenced by tut::restartable_wrapper::register_test_().

Here is the call graph for this function:

void tut::util::deserialize ( std::istream &  is,
tut::test_result tr 
)

deserialization for test_result

Definition at line 105 of file tut_restartable.h.

References tut::test_result::ex, tut::test_result::fail, tut::test_result::group, tut::test_result::message, tut::test_result::ok, tut::test_result::result, tut::test_result::term, tut::test_result::test, unescape(), and tut::test_result::warn.

Referenced by tut::restartable_wrapper::invoke_callback_().

Here is the call graph for this function:


Generated on Fri Oct 26 13:35:18 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7