CppCommon 1.0.6.0
C++ Common Library
Loading...
Searching...
No Matches
CppCommon::StackTrace::Frame Struct Reference

Stack trace frame. More...

#include <stack_trace.h>

Public Member Functions

std::string string () const
 Get string from the current stack trace frame.

Public Attributes

void * address
 Frame address.
std::string module
 Frame module.
std::string function
 Frame function.
std::string filename
 Frame file name.
int line
 Frame line number.

Friends

std::ostream & operator<< (std::ostream &os, const Frame &frame)
 Output stack trace frame into the given output stream.

Detailed Description

Stack trace frame.

Definition at line 36 of file stack_trace.h.

Member Function Documentation

◆ string()

std::string CppCommon::StackTrace::Frame::string ( ) const
inline

Get string from the current stack trace frame.

Definition at line 45 of file stack_trace.h.

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const Frame & frame )
friend

Output stack trace frame into the given output stream.

Definition at line 48 of file stack_trace.cpp.

Member Data Documentation

◆ address

void* CppCommon::StackTrace::Frame::address

Frame address.

Definition at line 38 of file stack_trace.h.

◆ filename

std::string CppCommon::StackTrace::Frame::filename

Frame file name.

Definition at line 41 of file stack_trace.h.

◆ function

std::string CppCommon::StackTrace::Frame::function

Frame function.

Definition at line 40 of file stack_trace.h.

◆ line

int CppCommon::StackTrace::Frame::line

Frame line number.

Definition at line 42 of file stack_trace.h.

◆ module

std::string CppCommon::StackTrace::Frame::module

Frame module.

Definition at line 39 of file stack_trace.h.


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