HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IexMacros.h File Reference
#include <sstream>
#include "IexExport.h"
#include "IexForward.h"
+ Include dependency graph for IexMacros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define THROW(type, text)
 
#define APPEND_EXC(exc, text)
 
#define REPLACE_EXC(exc, text)
 
#define THROW_ERRNO(text)
 
#define ASSERT(assertion, type, text)
 
#define LOGIC_ASSERT(assertion)
 

Functions

IEX_EXPORT void iex_debugTrap ()
 

Macro Definition Documentation

#define APPEND_EXC (   exc,
  text 
)
Value:
do \
{ \
std::stringstream _iex_append_s; \
_iex_append_s << text; \
exc.append (_iex_append_s); \
} \
while (0)

Definition at line 67 of file IexMacros.h.

#define ASSERT (   assertion,
  type,
  text 
)
Value:
do \
{ \
if( bool(assertion) == false ) \
{ \
THROW( type, text ); \
} \
} \
while (0)
#define THROW(type, text)
Definition: IexMacros.h:33
if(num_boxed_items<=0)
Definition: UT_RTreeImpl.h:697
type
Definition: core.h:1059

Definition at line 115 of file IexMacros.h.

#define LOGIC_ASSERT (   assertion)
Value:
ASSERT(assertion, \
__FILE__ << "(" << __LINE__ << "): logical assertion failed: " << #assertion )
LogicExc
Definition: IexBaseExc.h:143
#define ASSERT(assertion, type, text)
Definition: IexMacros.h:115

Definition at line 135 of file IexMacros.h.

#define REPLACE_EXC (   exc,
  text 
)
Value:
do \
{ \
std::stringstream _iex_replace_s; \
_iex_replace_s << text; \
exc.assign (_iex_replace_s); \
} \
while (0)

Definition at line 76 of file IexMacros.h.

#define THROW (   type,
  text 
)
Value:
do \
{ \
std::stringstream _iex_throw_s; \
_iex_throw_s << text; \
throw type (_iex_throw_s); \
} \
while (0)
IEX_EXPORT void iex_debugTrap()
type
Definition: core.h:1059

Definition at line 33 of file IexMacros.h.

#define THROW_ERRNO (   text)
Value:
do \
{ \
std::stringstream _iex_throw_errno_s; \
_iex_throw_errno_s << text; \
::IEX_NAMESPACE::throwErrnoExc (_iex_throw_errno_s.str()); \
} \
while (0)
IEX_INTERNAL_NAMESPACE_HEADER_ENTER IEX_EXPORT void throwErrnoExc(const std::string &txt, int errnum)

Definition at line 96 of file IexMacros.h.

Function Documentation

IEX_EXPORT void iex_debugTrap ( )