Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

rsdef.cpp

Go to the documentation of this file.
00001 
00002 //
00003 // Copyright (C) 2000
00004 // Ralf Westram
00005 // Time-stamp: <Sat Mar/24/2001 16:26 MET Coder@ReallySoft.de>
00006 //
00007 // Permission to use, copy, modify, distribute and sell this software
00008 // and its documentation for any purpose is hereby granted without fee,
00009 // provided that the above copyright notice appear in all copies and
00010 // that both that copyright notice and this permission notice appear
00011 // in supporting documentation.  Ralf Westram makes no
00012 // representations about the suitability of this software for any
00013 // purpose.  It is provided "as is" without express or implied warranty.
00014 //
00015 // This code is part of my library.
00016 // You may find a more recent version at http://www.reallysoft.de/
00017 //
00019 
00020 #include <Tools.h>
00021 
00022 using namespace std;
00023 
00024 namespace rs {
00025 
00026     // --------------------------------------------------------------------------------
00027     //     string assertionText(const char *bed, const char *file, int line)
00028     // --------------------------------------------------------------------------------
00029     string assertionText(const char *bed, const char *file, int line) {
00030         return str::strf("Assertion \"%s\" failed: %s, line %i", bed, file, line);
00031     }
00032 
00033 };
00034 
00035 

Contact me in case of errors or questions.
This documentation is powered by Doxygen.
(C) 2000-2002 Doxygen