#include "blocxx/BLOCXX_config.h"
#include "blocxx/Array.hpp"
#include "blocxx/Secure.hpp"
#include "blocxx/FileSystem.hpp"
#include "blocxx/String.hpp"
#include "blocxx/Paths.hpp"
#include "blocxx/Format.hpp"
#include "blocxx/LazyGlobal.hpp"
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <cstdlib>
#include <cstdio>
#include <cerrno>
#include <vector>
#include <algorithm>
Go to the source code of this file.
|
| #define | THRBLOCXX_IF(tst, ExceptionClass, msg) |
| |
| #define | THRBLOCXX_ERRNO_IF(tst, ExceptionClass, msg) |
| |
| #define | ABORT_IF(tst, msg) THRBLOCXX_IF((tst), Secure::ProcessAbortException, (msg)) |
| |
| #define | ABORT_ERRNO_IF(tst, msg) THRBLOCXX_ERRNO_IF((tst), Secure::ProcessAbortException, (msg)) |
| |
◆ ABORT_ERRNO_IF
| #define ABORT_ERRNO_IF |
( |
|
tst, |
|
|
|
msg |
|
) |
| THRBLOCXX_ERRNO_IF((tst), Secure::ProcessAbortException, (msg)) |
◆ ABORT_IF
| #define ABORT_IF |
( |
|
tst, |
|
|
|
msg |
|
) |
| THRBLOCXX_IF((tst), Secure::ProcessAbortException, (msg)) |
◆ THRBLOCXX_ERRNO_IF
| #define THRBLOCXX_ERRNO_IF |
( |
|
tst, |
|
|
|
ExceptionClass, |
|
|
|
msg |
|
) |
| |
Value: do \
{ \
if (tst) \
{ \
BLOCXX_THROW_ERRNO_MSG(ExceptionClass, (msg)); \
} \
} while (false)
Definition at line 94 of file Secure.cpp.
◆ THRBLOCXX_IF
| #define THRBLOCXX_IF |
( |
|
tst, |
|
|
|
ExceptionClass, |
|
|
|
msg |
|
) |
| |
Value: do \
{ \
if (tst) \
{ \
BLOCXX_THROW(ExceptionClass, (msg)); \
} \
} while (false)
Definition at line 85 of file Secure.cpp.