Debug.h File Reference

#include <cstdarg>
#include <cstdlib>

Namespaces

namespace  Syndicate
namespace  Syndicate::Data

Defines

#define DEBUG
#define Debug(x...)   Syndicate::Data::debug(__FILE__, __PRETTY_FUNCTION__, __LINE__, x);
#define Assert(cond)   if(!cond) { Syndicate::Data::debug(__FILE__, __PRETTY_FUNCTION__, __LINE__, "Assertion "#cond" failed !\n"); abort(); }
#define Error(x...)   Syndicate::Data::error(__FILE__, __PRETTY_FUNCTION__, __LINE__, x);

Functions

void Syndicate::Data::error (const char *file, const char *function, const unsigned line, const char *format,...)
void Syndicate::Data::debug (const char *file, const char *function, const unsigned line, const char *format,...)

Define Documentation

#define DEBUG

#define Debug ( x...   )     Syndicate::Data::debug(__FILE__, __PRETTY_FUNCTION__, __LINE__, x);

#define Assert ( cond   )     if(!cond) { Syndicate::Data::debug(__FILE__, __PRETTY_FUNCTION__, __LINE__, "Assertion "#cond" failed !\n"); abort(); }

#define Error ( x...   )     Syndicate::Data::error(__FILE__, __PRETTY_FUNCTION__, __LINE__, x);


Generated on Sun Sep 30 13:08:35 2007 for libSyndicate by  doxygen 1.5.2