10#ifndef ERS_RANGE_ISSUE
11#define ERS_RANGE_ISSUE
13#include "ers/InvalidReferenceIssue.h"
19 static void set_range(
ers::Issue &issue, int64_t index, int64_t min_index, int64_t max_index,
const char* entity_name=0) ;
33#if (!defined(N_ERS_ASSERT))
34#define ERS_RANGE_CHECK(min,value,max) ers::RangeIssue::check_range(ERS_HERE,min,value,max,#value)
36#define ERS_RANGE_CHECK(min,value,max)
Source context for Issue.
static const char *const INDEX_REFERENCE_TYPE
static const char *const RANGE_MAX_KEY
static const char *const RANGE_MIN_KEY
static void set_range(ers::Issue &issue, int64_t index, int64_t min_index, int64_t max_index, const char *entity_name=0)
static const char *const CLASS_NAME
virtual const char * get_class_name() const
Get key for class (used for serialisation)
static void check_range(const ers::Context &c, int64_t min, int64_t value, int64_t max, const char *entity_name=0)
enum ers::_severity_t severity_t