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

IsValid Exception type. More...

#include <Exception_IsValid.hpp>

Inheritance diagram for SA::Exception_IsValid:
SA::Exception SA::Log

Public Member Functions

template<typename T >
 Exception_IsValid (BaseInfo _info, const T &_obj, std::wstring _objStr) noexcept
 Value constructor
 
- 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

IsValid Exception type.

Exception will be thrown if _obj->IsValid() returns false.

Constructor & Destructor Documentation

◆ Exception_IsValid()

template<typename T >
SA::Exception_IsValid::Exception_IsValid ( BaseInfo _info,
const T & _obj,
std::wstring _objStr )
inlinenoexcept

Value constructor

Template Parameters
TObject type
Parameters
_infoBase create info.
_objObject to check validity
_objStrObject variable as a string.

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