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 s; \
s << text; \
exc.append (s); \
} \
while (0)

Definition at line 97 of file IexMacros.h.

#define ASSERT (   assertion,
  type,
  text 
)
Value:
do \
{ \
if( (assertion) == false ) \
{ \
THROW( type, text ); \
} \
} \
while (0)
#define THROW(type, text)
Definition: IexMacros.h:63
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
if(rank==1) return rank

Definition at line 145 of file IexMacros.h.

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

Definition at line 165 of file IexMacros.h.

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

Definition at line 106 of file IexMacros.h.

#define THROW (   type,
  text 
)
Value:
do \
{ \
std::stringstream s; \
s << text; \
throw type (s); \
} \
while (0)
IEX_EXPORT void iex_debugTrap()
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107

Definition at line 63 of file IexMacros.h.

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

Definition at line 126 of file IexMacros.h.

Function Documentation

IEX_EXPORT void iex_debugTrap ( )