lasso
iRel_Lasso.hpp File Reference
#include "iRel.h"

Go to the source code of this file.

Defines

#define RETURN(CODE)   ERROR((CODE), "")
#define RETURNR(CODE)   ERRORR((CODE), "")
#define ERROR(CODE, MSG)
#define ERRORR(CODE, MSG)   return LASSOI->set_last_error((CODE), (MSG))
#define CHK_ERROR(CODE)
#define CHK_ERRORR(CODE)
#define CHK_PAIR()

Define Documentation

#define CHK_ERROR (   CODE)
Value:
do {                                                \
    *err = (CODE);                                    \
    if (*err != iBase_SUCCESS)                        \
      return;                                         \
  } while(false)

Definition at line 17 of file iRel_Lasso.hpp.

#define CHK_ERRORR (   CODE)
Value:
do {                                                \
    int err = (CODE);                                 \
    if (err != iBase_SUCCESS)                         \
      return err;                                     \
  } while(false)

Definition at line 24 of file iRel_Lasso.hpp.

#define CHK_PAIR ( )
Value:
do {                                                \
    if (NULL == pair) {                               \
      ERROR(iBase_FAILURE, "Invalid relation pair."); \
    }                                                 \
  } while(false)

Definition at line 31 of file iRel_Lasso.hpp.

#define ERROR (   CODE,
  MSG 
)
Value:
do {                                                \
    *err = LASSOI->set_last_error((CODE), (MSG));     \
    return;                                           \
  } while(false)

Definition at line 9 of file iRel_Lasso.hpp.

#define ERRORR (   CODE,
  MSG 
)    return LASSOI->set_last_error((CODE), (MSG))

Definition at line 15 of file iRel_Lasso.hpp.

#define RETURN (   CODE)    ERROR((CODE), "")

Definition at line 6 of file iRel_Lasso.hpp.

#define RETURNR (   CODE)    ERRORR((CODE), "")

Definition at line 7 of file iRel_Lasso.hpp.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines