CppCommon 1.0.5.0
C++ Common Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
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 std::string function
 < Frame module
 
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.

Friends And Related Symbol Documentation

◆ 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 std::string CppCommon::StackTrace::Frame::function

< Frame module

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.


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