basic definitions for the img module More...
#include <assert.h>
#include <math.h>
#include <exception>
#include <typeinfo>
Go to the source code of this file.
Classes | |
class | img::ImageException |
the basic exception class More... | |
struct | NON_FLOAT_OR_DOUBLE_TYPE_CompileTimeError< double > |
partial instantiation for the static typecheck mechanism More... | |
struct | NON_FLOAT_OR_DOUBLE_TYPE_CompileTimeError< float > |
partial instantiation for the static typecheck mechanism More... | |
struct | NON_TRUE_EXPR_CompileTimeError< true > |
partial instantiation for the static assertion mechanism More... | |
Namespaces | |
namespace | img |
the img module namespace | |
Defines | |
#define | NULL ((void *)0) |
define NULL pointer value | |
#define | STATIC_ASSERT(exp) (NON_TRUE_EXPR_CompileTimeError< (exp) >()) |
the static assertion mechanism | |
#define | STATIC_FLOAT_OR_DOUBLE_TYPECHECK(type) (NON_FLOAT_OR_DOUBLE_TYPE_CompileTimeError< type >()) |
the static typecheck mechanism |
basic definitions for the img module
This header contains the basic module definitions.
Definition in file img_base.h.
#define NULL ((void *)0) |
define NULL pointer value
Definition at line 32 of file img_base.h.
#define STATIC_ASSERT | ( | exp | ) | (NON_TRUE_EXPR_CompileTimeError< (exp) >()) |
the static assertion mechanism
Definition at line 15 of file img_base.h.
#define STATIC_FLOAT_OR_DOUBLE_TYPECHECK | ( | type | ) | (NON_FLOAT_OR_DOUBLE_TYPE_CompileTimeError< type >()) |
the static typecheck mechanism
Definition at line 25 of file img_base.h.