SA_Logger
Sapphire's Suite's C++ Logger.
|
OutOfArrayRange Exception type. More...
#include <Exception_OutOfArrayRange.hpp>
Public Member Functions | |
template<typename U > | |
Exception_OutOfArrayRange (BaseInfo _info, uint32_t _currIndex, std::wstring _currIndexStr, const U &_array, std::wstring _arrayName=L"", uint32_t _minBound=0, uint32_t _maxBound=uint32_t(-1)) noexcept | |
Public Member Functions inherited from SA::Exception_OutOfRange | |
Exception_OutOfRange (BaseInfo _info, uint32_t _currIndex, uint32_t _minBound, uint32_t _maxBound, std::wstring _msg) noexcept | |
Exception_OutOfRange (BaseInfo _info, uint32_t _currIndex, std::wstring _currIndexStr, uint32_t _minBound, std::wstring _minBoundStr, uint32_t _maxBound, std::wstring _maxBoundStr) noexcept | |
Public Member Functions inherited from SA::Exception | |
Exception (BaseInfo _info, bool _pred, std::wstring _msg=L"") noexcept | |
Public Member Functions inherited from SA::Log | |
Log ()=default | |
Default constructor. | |
Log (std::wstring _file, uint32_t _line, std::string _function, std::wstring _msg=L"Hello, World!", LogLevel _level=LogLevel::Normal, std::wstring _chanName=L"Default", std::wstring _details=L"", uint32_t _frameNum=0u, std::string _backtrace="") noexcept | |
Value Move Constructor. | |
Additional Inherited Members | |
Public Attributes inherited from SA::Exception_OutOfRange | |
uint32_t | currIndex = 0u |
Index used for access. | |
uint32_t | minBound = 0u |
Minimum bound included. | |
uint32_t | maxBound = 1u |
Maximum bound included. | |
Public Attributes inherited from SA::Log | |
std::wstring | file |
File name. | |
uint32_t | line = 0u |
Line number. | |
std::string | function |
Function name. | |
std::wstring | msg = L"Hello, World!" |
User string message. | |
LogLevel | level = LogLevel::Normal |
Output level. | |
std::wstring | chanName = L"Default" |
Output channel name. | |
std::wstring | details |
Additional details string. | |
uint32_t | frameNum = 0u |
Frame number. | |
std::string | backtrace |
backtracing of logging call. | |
DateTime | date |
Date time. | |
OutOfArrayRange Exception type.
Exception will be thrown if curr is out of [0u;_array.size()[ range.
|
inlinenoexcept |
Value with bound Constructor.
[in] | _info | Base create info. |
[in] | _currIndex | Index used for access. |
[in] | _currIndexStr | Index variable used for access, as a wstring. |
[in] | _array | Array to check bounds with. |
[in] | _arrayName | Array variable to access, as a wstring. |
[in] | _minBound | Optionnal array min bound |
[in] | _maxBound | optionnal array max bound |