xtd 0.2.0
Loading...
Searching...
No Matches
xtd::native::stack_trace Class Referencefinal

Definition

Contains stack_trace native API.

Namespace
xtd::native
Library
xtd.core.native
Warning
Internal use only

Protected Aliases

using frame = std::tuple< std::string, size_t, size_t, std::string, size_t >
 Represents a frame object that contains file name,line, column, method name and offset.
 
using frame_collection = std::vector< frame >
 Represents a frame collection.
 

Protected Static Methods

static size_t get_native_offset ()
 Gets the offset from the start of the native code for the method that is being executed.
 
static frame_collection get_frames (size_t skip_frames, bool need_file_info)
 Play system sound.
 

Member Typedef Documentation

◆ frame

using xtd::native::stack_trace::frame = std::tuple<std::string, size_t, size_t, std::string, size_t>
protected

Represents a frame object that contains file name,line, column, method name and offset.

◆ frame_collection

using xtd::native::stack_trace::frame_collection = std::vector<frame>
protected

Represents a frame collection.

Member Function Documentation

◆ get_native_offset()

static size_t xtd::native::stack_trace::get_native_offset ( )
staticprotected

Gets the offset from the start of the native code for the method that is being executed.

Returns
The offset from the start of the native code for the method that is being executed.
Warning
Internal use only

◆ get_frames()

static frame_collection xtd::native::stack_trace::get_frames ( size_t  skip_frames,
bool  need_file_info 
)
staticprotected

Play system sound.

Parameters
soundThe sound to play (see souund.h).
Warning
Internal use only

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