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

dsSmartException.h File Reference

#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)


Define Documentation

#define DECLARE_EXCEPTION tag   
 

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); }\
                        }

#define DECLARE_EXCEPTION2 tag,
parent   
 

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); }\
                        }


Function Documentation

std::ostream& operator<< std::ostream &    stream,
dsSmartException   e
[inline]
 


Generated on Mon May 16 18:26:58 2005 for libdms4 by doxygen1.3-rc2