#include "gdef.h"
#include <string>
#include <iostream>
Go to the source code of this file.
|
class | G::Exception |
| A general-purpose exception class derived from std::exception and containing a std::string. More...
|
|
|
| G |
| Low-level classes for o/s services.
|
|
|
#define | G_EXCEPTION_CLASS(class_name, description) class class_name : public G::Exception { public: class_name() : G::Exception(description) {} explicit class_name(const char *more) : G::Exception(description,more) {} explicit class_name(const std::string &more) : G::Exception(description,more) {} class_name(const std::string &more1,const std::string &more2) : G::Exception(description,more1,more2) {} class_name(const std::string &more1,const std::string &more2,const std::string &more3) : G::Exception(description,more1,more2,more3) {} } |
|