|
GEOS
|
Go to the source code of this file.
Namespaces | |
| geos | |
Macros | |
| #define | GEOS_LAI_RUNTIME_ASSERT 1 |
| #define | GEOS_LAI_ASSERT(expr) GEOS_ERROR_IF( !(expr), "" ) |
| #define | GEOS_LAI_ASSERT_MSG(expr, msg) GEOS_ERROR_IF( !(expr), msg ) |
| #define | GEOS_LAI_ASSERT_EQ(lhs, rhs) GEOS_ERROR_IF_NE( lhs, rhs ) |
| #define | GEOS_LAI_ASSERT_NE(lhs, rhs) GEOS_ERROR_IF_EQ( lhs, rhs ) |
| #define | GEOS_LAI_ASSERT_GT(lhs, rhs) GEOS_ERROR_IF_GE( rhs, lhs ) |
| #define | GEOS_LAI_ASSERT_GE(lhs, rhs) GEOS_ERROR_IF_GT( rhs, lhs ) |
| #define | GEOS_LAI_CHECK_ERROR(call) |
| #define | GEOS_LAI_CHECK_ERROR_NNEG(call) |
Enumerations | |
| enum class | geos::LAIOutputFormat { NATIVE_ASCII , NATIVE_BINARY , MATLAB_ASCII , MATLAB_BINARY , MATRIX_MARKET } |
| #define GEOS_LAI_ASSERT | ( | expr | ) | GEOS_ERROR_IF( !(expr), "" ) |
| #define GEOS_LAI_ASSERT_EQ | ( | lhs, | |
| rhs | |||
| ) | GEOS_ERROR_IF_NE( lhs, rhs ) |
Assert lhs equals rhs
| lhs | left hand side |
| rhs | right hand side |
Definition at line 49 of file common.hpp.
| #define GEOS_LAI_ASSERT_GE | ( | lhs, | |
| rhs | |||
| ) | GEOS_ERROR_IF_GT( rhs, lhs ) |
Assert lhs greater than or equal to rhs
| lhs | left hand side |
| rhs | right hand side |
Definition at line 70 of file common.hpp.
| #define GEOS_LAI_ASSERT_GT | ( | lhs, | |
| rhs | |||
| ) | GEOS_ERROR_IF_GE( rhs, lhs ) |
Assert lhs greater than rhs
| lhs | left hand side |
| rhs | right hand side |
Definition at line 63 of file common.hpp.
| #define GEOS_LAI_ASSERT_MSG | ( | expr, | |
| msg | |||
| ) | GEOS_ERROR_IF( !(expr), msg ) |
Assert expression and output message if false
| expr | expression |
| msg | message |
Definition at line 42 of file common.hpp.
| #define GEOS_LAI_ASSERT_NE | ( | lhs, | |
| rhs | |||
| ) | GEOS_ERROR_IF_EQ( lhs, rhs ) |
Assert lhs not equal to rhs
| lhs | left hand side |
| rhs | right hand side |
Definition at line 56 of file common.hpp.
| #define GEOS_LAI_CHECK_ERROR | ( | call | ) |
Macro for checking and reporting error codes from TPL packages
| call | call to check function |
Definition at line 119 of file common.hpp.
| #define GEOS_LAI_CHECK_ERROR_NNEG | ( | call | ) |
Macro for checking and reporting non-negative error codes from TPL packages
| call | call to check function |
Definition at line 129 of file common.hpp.
| #define GEOS_LAI_RUNTIME_ASSERT 1 |
Whether to check preconditions at runtime in LAI functions
Definition at line 28 of file common.hpp.