NCBI C++ ToolKit
Public Member Functions | Public Attributes | List of all members
CStackTrace::SStackFrameInfo Struct Reference

Search Toolkit Book for CStackTrace::SStackFrameInfo

Structure for holding stack trace data. More...

#include <corelib/ncbi_stack.hpp>

+ Collaboration diagram for CStackTrace::SStackFrameInfo:

Public Member Functions

 SStackFrameInfo (void)
 
 SStackFrameInfo (const void *address)
 
bool operator== (const SStackFrameInfo &other) const
 
string AsString (void) const
 

Public Attributes

string func
 
string file
 
string module
 
const void * addr
 
size_t offs
 
size_t line
 

Detailed Description

Structure for holding stack trace data.

Definition at line 50 of file ncbi_stack.hpp.

Constructor & Destructor Documentation

◆ SStackFrameInfo() [1/2]

CStackTrace::SStackFrameInfo::SStackFrameInfo ( void  )
inline

Definition at line 59 of file ncbi_stack.hpp.

◆ SStackFrameInfo() [2/2]

CStackTrace::SStackFrameInfo::SStackFrameInfo ( const void *  address)
inline

Definition at line 62 of file ncbi_stack.hpp.

Member Function Documentation

◆ AsString()

string CStackTrace::SStackFrameInfo::AsString ( void  ) const

Definition at line 64 of file ncbi_stack.cpp.

References addr, file, func, line, module, NStr::NumericToString(), offs, and NStr::PtrToString().

◆ operator==()

bool CStackTrace::SStackFrameInfo::operator== ( const SStackFrameInfo other) const
inline

Definition at line 65 of file ncbi_stack.hpp.

References addr, file, func, line, module, and offs.

Member Data Documentation

◆ addr

const void* CStackTrace::SStackFrameInfo::addr

Definition at line 55 of file ncbi_stack.hpp.

Referenced by AsString(), and operator==().

◆ file

string CStackTrace::SStackFrameInfo::file

Definition at line 53 of file ncbi_stack.hpp.

Referenced by AsString(), and operator==().

◆ func

string CStackTrace::SStackFrameInfo::func

Definition at line 52 of file ncbi_stack.hpp.

Referenced by AsString(), operator==(), and s_StackWalker().

◆ line

size_t CStackTrace::SStackFrameInfo::line

Definition at line 57 of file ncbi_stack.hpp.

Referenced by AsString(), and operator==().

◆ module

string CStackTrace::SStackFrameInfo::module

Definition at line 54 of file ncbi_stack.hpp.

Referenced by AsString(), operator==(), and s_StackWalker().

◆ offs

size_t CStackTrace::SStackFrameInfo::offs

Definition at line 56 of file ncbi_stack.hpp.

Referenced by AsString(), operator==(), and s_StackWalker().


The documentation for this struct was generated from the following files:
Modified on Sun Jun 16 04:37:17 2024 by modify_doxy.py rev. 669887