SA_Logger
Sapphire's Suite's C++ Logger.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SA::Exception_Equals Class Reference

Equals exception base type. More...

#include <Exception_Equals.hpp>

Inheritance diagram for SA::Exception_Equals:
SA::Exception SA::Log SA::Exception_Equals0 SA::Exception_Equals1

Public Member Functions

template<typename T >
 Exception_Equals (BaseInfo _info, const T &_lhs, const T &_rhs, std::wstring _predStr=L"pred") noexcept
 
 Exception_Equals (BaseInfo _info, float _lhs, float _rhs, std::wstring _predStr=L"pred") noexcept
 
 Exception_Equals (BaseInfo _info, double _lhs, double _rhs, std::wstring _predStr=L"pred") 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::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.
 

Detailed Description

Equals exception base type.

Constructor & Destructor Documentation

◆ Exception_Equals() [1/3]

template<typename T >
SA::Exception_Equals::Exception_Equals ( BaseInfo _info,
const T & _lhs,
const T & _rhs,
std::wstring _predStr = L"pred" )
inlinenoexcept

Template value Constructor.

Use default operator==

Template Parameters
TOperands type.
Parameters
[in]_infoBase create info.
[in]_lhsLeft hand side operand.
[in]_rhsLeft hand side operand.
[in]_predStrPredicate as a string.

◆ Exception_Equals() [2/3]

SA::Exception_Equals::Exception_Equals ( BaseInfo _info,
float _lhs,
float _rhs,
std::wstring _predStr = L"pred" )
noexcept

Float value Constructor.

Perform NearlyEquals (epsilon).

Parameters
[in]_infoBase create info.
[in]_lhsLeft hand side float operand.
[in]_rhsLeft hand side float operand.
[in]_predStrPredicate as a string.

◆ Exception_Equals() [3/3]

SA::Exception_Equals::Exception_Equals ( BaseInfo _info,
double _lhs,
double _rhs,
std::wstring _predStr = L"pred" )
noexcept

Double value move Constructor.

Perform NearlyEquals (epsilon).

Parameters
[in]_infoBase create info.
[in]_lhsLeft hand side double operand.
[in]_rhsLeft hand side double operand.
[in]_predStrPredicate as a string.

The documentation for this class was generated from the following file: