Go to the SVN repository for this file.
1 #ifndef CORELIB___NCBI_STACK__HPP 2 #define CORELIB___NCBI_STACK__HPP 60:
addr(0), offs(0), line(0) {}
63:
addr(address), offs(0), line(0) {}
67 returnfunc == other.
func&&
71offs == other.
offs&&
75 stringAsString(
void)
const;
78 typedeflist<SStackFrameInfo>
TStack;
93 returnm_Stack.empty();
99x_ExpandStackTrace();
returnm_Stack;
103 const string&
GetPrefix(
void)
const{
returnm_Prefix; }
105 void SetPrefix(
const string& prefix)
const{ m_Prefix = prefix; }
109 static unsigned ints_GetStackTraceMaxDepth(
void);
110 static voids_HonorSignalHandlingConfiguration(
void);
115 voidx_ExpandStackTrace(
void)
const;
117 mutableunique_ptr<CStackTraceImpl>
m_Impl;
127stack_trace.
Write(os);
const string & GetPrefix(void) const
Get current prefix.
bool Empty(void) const
Check if stack trace information is available.
unique_ptr< CStackTraceImpl > m_Impl
void SetPrefix(const string &prefix) const
Set new prefix.
list< SStackFrameInfo > TStack
void Write(CNcbiOstream &os) const
Write stack trace to the stream, prepend each line with the prefix.
const TStack & GetStack(void) const
Get the stack trace data.
bool operator==(const CEquivRange &A, const CEquivRange &B)
void Write(CObjectOStream &out, TConstObjectPtr object, const CTypeRef &type)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
#define NCBI_XNCBI_EXPORT
CNcbiOstream & operator<<(CNcbiOstream &os, const CStackTrace &stack_trace)
Output stack trace.
NCBI C++ stream class wrappers for triggering between "new" and "old" C++ stream libraries.
Structure for holding stack trace data.
SStackFrameInfo(const void *address)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4