Constructors

Synopses

Declared in <balst_stacktraceframe.h>

Create a StackTraceFrame object having the (default) attribute values: ` address == 0 libraryFileName == "" lineNumber == ‐1 mangledSymbolName == "" offsetFromSymbol == (size_t)‐1 sourceFileName == "" symbolName == "" ` Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

explicit
StackTraceFrame(bslma::Allocator* basicAllocator = 0);

Create a StackTraceFrame object having the same value as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

StackTraceFrame(
    StackTraceFrame const& original,
    bslma::Allocator* basicAllocator = 0);

Create a local time descriptor object having the specified address, libraryFileName, lineNumber, mangledSymbolName, offsetFromSymbol, sourceFileName, and symbolName attribute values. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless ‐1 <= lineNumber.

StackTraceFrame(
    void const* address,
    std::string_view const& libraryFileName,
    int lineNumber,
    std::string_view const& mangledSymbolName,
    std::size_t offsetFromSymbol,
    std::string_view const& sourceFileName,
    std::string_view const& symbolName,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs