Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Macros | Enumerations | Variables
UnicityException.hpp File Reference

Classes

class  castor::UnicityException
 

Namespaces

namespace  castor
 

Macros

#define CU_UnicityError(error, text)   throw castor::UnicityException{ error, text, __FILE__, __FUNCTION__, uint32_t( __LINE__ ) }
 Helper macro to use UnicityException.
 

Enumerations

enum class  castor::UnicityError { castor::eNoInstance = 0 , castor::eAnInstance = 1 , castor::eCount , castor::eMin = eNoInstance }
 Unicity errors enumeration. More...
 

Variables

static Array< MbStringView, size_t(UnicityError::eCount) > const castor::STR_UNICITY_ERROR
 Unicity error texts.
 

Macro Definition Documentation

◆ CU_UnicityError

#define CU_UnicityError ( error,
text )   throw castor::UnicityException{ error, text, __FILE__, __FUNCTION__, uint32_t( __LINE__ ) }

Helper macro to use UnicityException.

Referenced by castor::Unique< T >::Unique().