Easys
A minimalist, header-only C++ ECS library for efficient and fuss-free entity and component management.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Easys::log::source_location Struct Reference

#include <log.hpp>

Public Member Functions

constexpr source_location (std::string_view file, std::uint32_t line, std::string_view funcSig, std::string_view funcName) noexcept
 
constexpr source_location (std::string_view funcName, std::source_location l=std::source_location::current()) noexcept
 
constexpr std::string_view file_name () const noexcept
 
constexpr std::string_view function_name () const noexcept
 
constexpr std::uint32_t line () const noexcept
 

Public Attributes

std::string_view file_name_
 
std::string_view file_path_
 
std::string_view function_name_
 
std::string_view function_signature_
 
std::uint32_t line_
 

Constructor & Destructor Documentation

◆ source_location() [1/2]

constexpr Easys::log::source_location::source_location ( std::string_view  file,
std::uint32_t  line,
std::string_view  funcSig,
std::string_view  funcName 
)
inlineconstexprnoexcept

◆ source_location() [2/2]

constexpr Easys::log::source_location::source_location ( std::string_view  funcName,
std::source_location  l = std::source_location::current() 
)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ file_name()

constexpr std::string_view Easys::log::source_location::file_name ( ) const
inlineconstexprnoexcept

◆ function_name()

constexpr std::string_view Easys::log::source_location::function_name ( ) const
inlineconstexprnoexcept

◆ line()

constexpr std::uint32_t Easys::log::source_location::line ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ file_name_

std::string_view Easys::log::source_location::file_name_

◆ file_path_

std::string_view Easys::log::source_location::file_path_

◆ function_name_

std::string_view Easys::log::source_location::function_name_

◆ function_signature_

std::string_view Easys::log::source_location::function_signature_

◆ line_

std::uint32_t Easys::log::source_location::line_

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