ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
CallerInfo Struct Reference

Description:

A simple struct that holds source code location information. Usually, this is information about a caller of a function, used with debug-compilations. Module ALox might be explicitly compiled to include such caller information also in release-versions of software.

See also

Definition at line 1128 of file alib.hpp.

#include <alib.hpp>

Public Field Index:

const char * File {nullptr}
 The name of the source file as given by compiler.
 
const char * Func {nullptr}
 
int Line {0}
 The line number within File.
 
std::thread::id ThreadID
 The ID of the calling thread.
 
const std::type_info * TypeInfo {nullptr}
 The calling type.
 

Field Details:

◆ File

const char* File {nullptr}

The name of the source file as given by compiler.

Definition at line 1130 of file alib.hpp.

◆ Func

const char* Func {nullptr}

The function name of the source location. Nulled if the location is not inside a function or method.

Definition at line 1132 of file alib.hpp.

◆ Line

int Line {0}

The line number within File.

Definition at line 1131 of file alib.hpp.

◆ ThreadID

std::thread::id ThreadID

The ID of the calling thread.

Definition at line 1136 of file alib.hpp.

◆ TypeInfo

const std::type_info* TypeInfo {nullptr}

The calling type.

Definition at line 1138 of file alib.hpp.


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