DDS
ver. 3.6
|
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <sstream>
#include <string>
Go to the source code of this file.
Classes | |
class | dds::misc::system_error |
The system_error exception class retrieves a string, which represent the last error. More... | |
Namespaces | |
dds | |
Miscellaneous functions and helpers are located here. | |
dds::misc | |
Macros | |
#define | SUCCEEDED(er) (er <= erOK) |
#define | FAILED(er) (!SUCCEEDED(er)) |
Typedefs | |
typedef int | dds::misc::ERRORCODE |
typedef const ERRORCODE | dds::misc::ERRORCODE_C |
Functions | |
ERRORCODE_C | dds::misc::erOK (EXIT_SUCCESS) |
ERRORCODE_C | dds::misc::erTrue (-1) |
ERRORCODE_C | dds::misc::erFalse (-2) |
ERRORCODE_C | dds::misc::erError (EXIT_FAILURE) |
ERRORCODE_C | dds::misc::erNotImpl (3) |
ERRORCODE_C | dds::misc::BASE_FOR_GENERAL_ERR (50) |
ERRORCODE_C | dds::misc::erNULLArg (BASE_FOR_GENERAL_ERR+1) |
ERRORCODE_C | dds::misc::erFILE_NOT_FOUND (BASE_FOR_GENERAL_ERR+2) |
ERRORCODE_C | dds::misc::BASE_FOR_XML_ERR (100) |
ERRORCODE_C | dds::misc::erXMLInit (BASE_FOR_XML_ERR+1) |
ERRORCODE_C | dds::misc::erXMLReadConfig (BASE_FOR_XML_ERR+2) |
ERRORCODE_C | dds::misc::erXMLNullNode (BASE_FOR_XML_ERR+3) |
int | dds::misc::errno2str (std::string *_msg) |
Retrieves a string, which represent the last error. More... | |
std::string | dds::misc::errno2str () |
Retrieves a string, which represent the last error. More... | |
#define FAILED | ( | er | ) | (!SUCCEEDED(er)) |
#define SUCCEEDED | ( | er | ) | (er <= erOK) |