RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
RawspeedException.h File Reference
#include "rawspeedconfig.h"
#include "common/Common.h"
#include <array>
#include <cstdarg>
#include <cstdio>
#include <stdexcept>
Include dependency graph for RawspeedException.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rawspeed::RawspeedException

Namespaces

namespace  rawspeed

Macros

#define XSTR(a)
#define STR(a)
#define ThrowExceptionHelper(CLASS, fmt, ...)
#define ThrowRSE(...)

Functions

template<typename T>
void RAWSPEED_UNLIKELY_FUNCTION RAWSPEED_NOINLINE rawspeed::__attribute__ ((noreturn, format(printf, 1, 2))) ThrowException(const char *fmt
 rawspeed::va_start (val, fmt)
 rawspeed::vsnprintf (buf.data(), sizeof(buf), fmt, val)
 rawspeed::va_end (val)
 rawspeed::writeLog (DEBUG_PRIO::EXTRA, "EXCEPTION: %s", buf.data())
throw rawspeed::T (buf.data())

Variables

void RAWSPEED_UNLIKELY_FUNCTION RAWSPEED_NOINLINE static char rawspeed::buf [bufSize]
va_list rawspeed::val

Macro Definition Documentation

◆ STR

#define STR ( a)
Value:
XSTR(a)
#define XSTR(a)

Definition at line 80 of file RawspeedException.h.

◆ ThrowExceptionHelper

#define ThrowExceptionHelper ( CLASS,
fmt,
... )
Value:
rawspeed::ThrowException<CLASS>("%s, line " STR(__LINE__) ": " fmt, \
__PRETTY_FUNCTION__ __VA_OPT__(, ) \
__VA_ARGS__)
#define STR(a)

Definition at line 83 of file RawspeedException.h.

◆ ThrowRSE

◆ XSTR

#define XSTR ( a)
Value:
#a

Definition at line 75 of file RawspeedException.h.