process-cpp 3.0.0
A simple convenience library for handling processes in C++11.
impl::Frame::Symbol Struct Reference
Inheritance diagram for impl::Frame::Symbol:
Collaboration diagram for impl::Frame::Symbol:

Public Member Functions

 Symbol (const char *symbol)
bool is_cxx () const
 is_cxx checks whether the symbol refers to a mangled C++ symbol.
std::string demangled () const
 demangled returns the demangled C++ symbol name or raw.
std::string raw () const
 raw The raw symbolic representation of a frame pointer.
Public Member Functions inherited from core::posix::backtrace::Frame::Symbol
 Symbol (const Symbol &)=delete
virtual ~Symbol ()=default
Symboloperator= (const Symbol &)=delete

Public Attributes

std::string raw_
std::string demangled_
bool is_cxx_ = false

Additional Inherited Members

Static Public Member Functions inherited from core::posix::backtrace::Frame::Symbol
static std::shared_ptr< Symbolfor_testing_from_raw_symbol (const char *symbol)
Protected Member Functions inherited from core::posix::backtrace::Frame::Symbol
 Symbol ()=default

Detailed Description

Definition at line 50 of file backtrace.cpp.

Constructor & Destructor Documentation

◆ Symbol()

impl::Frame::Symbol::Symbol ( const char * symbol)
inline

Definition at line 52 of file backtrace.cpp.

References impl::demangle(), demangled_, is_cxx_, raw_, and impl::Frame::symbol().

Here is the call graph for this function:

Member Function Documentation

◆ demangled()

std::string impl::Frame::Symbol::demangled ( ) const
inlinevirtual

demangled returns the demangled C++ symbol name or raw.

Implements core::posix::backtrace::Frame::Symbol.

Definition at line 77 of file backtrace.cpp.

References demangled_.

◆ is_cxx()

bool impl::Frame::Symbol::is_cxx ( ) const
inlinevirtual

is_cxx checks whether the symbol refers to a mangled C++ symbol.

Returns
true iff the symbol refers to a mangled C++ symbol.

Implements core::posix::backtrace::Frame::Symbol.

Definition at line 72 of file backtrace.cpp.

References is_cxx_.

◆ raw()

std::string impl::Frame::Symbol::raw ( ) const
inlinevirtual

raw The raw symbolic representation of a frame pointer.

Returns

Implements core::posix::backtrace::Frame::Symbol.

Definition at line 82 of file backtrace.cpp.

References raw_.

Member Data Documentation

◆ demangled_

std::string impl::Frame::Symbol::demangled_

Definition at line 88 of file backtrace.cpp.

Referenced by demangled(), and Symbol().

◆ is_cxx_

bool impl::Frame::Symbol::is_cxx_ = false

Definition at line 89 of file backtrace.cpp.

Referenced by is_cxx(), and Symbol().

◆ raw_

std::string impl::Frame::Symbol::raw_

Definition at line 87 of file backtrace.cpp.

Referenced by raw(), and Symbol().


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