#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <dsStrstream.h>
#include <dsform.h>
Go to the source code of this file.
Compounds | |
class | dsSmartException |
Defines | |
#define | DECLARE_EXCEPTION(tag) |
#define | DECLARE_EXCEPTION2(tag, parent) |
Functions | |
std::ostream & | operator<< (std::ostream &stream, dsSmartException &e) |
|
Value: class tag##Exception:public dsSmartException\ { public:\ tag##Exception(){ }\ tag##Exception(const char *format, ... )\ { va_list ap; va_start(ap, format); fire(#tag, (char *) format, ap); va_end(ap); }\ tag##Exception(int xfacility, const char *format, ... )\ { va_list ap; va_start(ap, format); fire(xfacility, #tag, (char *) format, ap); va_end(ap); }\ } |
|
Value: class tag##Exception:public parent##Exception\ { public:\ tag##Exception(){ }\ tag##Exception(const char *format, ... )\ { va_list ap; va_start(ap, format); fire(#tag, (char *) format, ap); va_end(ap); }\ tag##Exception(int xfacility, const char *format, ... )\ { va_list ap; va_start(ap, format); fire(xfacility, #tag, (char *) format, ap); va_end(ap); }\ } |
|
|