ALib C++ Framework
by
Library Version: 2511 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::lang::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 28 of file callerinfo.inl.

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* alib::lang::CallerInfo::File {nullptr}

The name of the source file as given by compiler.

Definition at line 30 of file callerinfo.inl.

◆ Func

const char* alib::lang::CallerInfo::Func {nullptr}

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

Definition at line 32 of file callerinfo.inl.

◆ Line

int alib::lang::CallerInfo::Line {0}

The line number within File.

Definition at line 31 of file callerinfo.inl.

◆ ThreadID

std::thread::id alib::lang::CallerInfo::ThreadID

The ID of the calling thread.

Definition at line 36 of file callerinfo.inl.

◆ TypeInfo

const std::type_info* alib::lang::CallerInfo::TypeInfo {nullptr}

The calling type.

Definition at line 38 of file callerinfo.inl.


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