CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::SourceLocation Struct Reference

#include <CeresEngine/Foundation/Exception.hpp>

Public Member Functions

constexpr std::uint_least32_t line () const noexcept
 
constexpr std::uint_least32_t column () const noexcept
 
constexpr const charfile_name () const noexcept
 
constexpr const charfunction_name () const noexcept
 

Static Public Member Functions

static SourceLocation current (const char *const filename=__FILE__)
 

Public Attributes

const charfilename = ""
 
const charfunction = ""
 

Member Function Documentation

◆ column()

constexpr std::uint_least32_t CeresEngine::SourceLocation::column ( ) const
inlineconstexprnoexcept

◆ current()

static SourceLocation CeresEngine::SourceLocation::current ( const char *const  filename = __FILE__)
inlinestatic

◆ file_name()

constexpr const char * CeresEngine::SourceLocation::file_name ( ) const
inlineconstexprnoexcept

◆ function_name()

constexpr const char * CeresEngine::SourceLocation::function_name ( ) const
inlineconstexprnoexcept

◆ line()

constexpr std::uint_least32_t CeresEngine::SourceLocation::line ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ filename

const char* CeresEngine::SourceLocation::filename = ""

◆ function

const char* CeresEngine::SourceLocation::function = ""

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