Pandora
Pandora source code navigator
|
Header file defining status codes and relevant preprocessor macros. More...
#include <exception>
#include <string>
Go to the source code of this file.
Classes | |
class | pandora::StatusCodeException |
StatusCodeException class. More... | |
Namespaces | |
namespace | pandora |
Macros | |
#define | PANDORA_RETURN_RESULT_IF(StatusCode1, Operator, Command) |
#define | PANDORA_RETURN_RESULT_IF_AND_IF(StatusCode1, StatusCode2, Operator, Command) |
#define | PANDORA_THROW_RESULT_IF(StatusCode1, Operator, Command) |
#define | PANDORA_THROW_RESULT_IF_AND_IF(StatusCode1, StatusCode2, Operator, Command) |
#define | STATUS_CODE_TABLE(d) |
#define | GET_STATUS_CODE_ENUM_ENTRY(a, b) a, |
The status code enum entry macro. | |
#define | GET_STATUS_CODE_NAME_SWITCH(a, b) case a : return b; |
The status code name switch statement macro. | |
Enumerations | |
enum | pandora::StatusCode { pandora::NUMBER_OF_STATUS_CODES } |
The StatusCode enum. More... | |
Functions | |
std::string | pandora::StatusCodeToString (const StatusCode statusCode) |
Get status code as a string. | |
Header file defining status codes and relevant preprocessor macros.
Definition in file StatusCodes.h.
#define GET_STATUS_CODE_ENUM_ENTRY | ( | a, | |
b | |||
) | a, |
The status code enum entry macro.
Definition at line 87 of file StatusCodes.h.
#define GET_STATUS_CODE_NAME_SWITCH | ( | a, | |
b | |||
) | case a : return b; |
The status code name switch statement macro.
Definition at line 93 of file StatusCodes.h.
#define PANDORA_RETURN_RESULT_IF | ( | StatusCode1, | |
Operator, | |||
Command | |||
) |
Definition at line 19 of file StatusCodes.h.
#define PANDORA_RETURN_RESULT_IF_AND_IF | ( | StatusCode1, | |
StatusCode2, | |||
Operator, | |||
Command | |||
) |
Definition at line 31 of file StatusCodes.h.
#define PANDORA_THROW_RESULT_IF | ( | StatusCode1, | |
Operator, | |||
Command | |||
) |
Definition at line 43 of file StatusCodes.h.
#define PANDORA_THROW_RESULT_IF_AND_IF | ( | StatusCode1, | |
StatusCode2, | |||
Operator, | |||
Command | |||
) |
Definition at line 55 of file StatusCodes.h.
#define STATUS_CODE_TABLE | ( | d | ) |
Definition at line 72 of file StatusCodes.h.