class SpecificCrashReport

Defined at line 1440 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

Represents a specific crash report.

Add a new member when the server needs to special case how it handles certain annotations and

attachments for a given type of crashes, e.g., a `RuntimeCrashReport` for Javascript.

Public Members

static const fidl_type_t * FidlType

Public Methods

void SpecificCrashReport ()
const ::fuchsia::feedback::NativeCrashReport & native ()

Intended for a native exception.

Defined at line 1483 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

bool is_dart ()

Defined at line 1489 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

::fuchsia::feedback::RuntimeCrashReport & dart ()

Intended for a Dart exception.

Defined at line 1492 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

const ::fuchsia::feedback::RuntimeCrashReport & dart ()

Intended for a Dart exception.

Defined at line 1498 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

bool is_text_backtrace ()

Defined at line 1504 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

::fuchsia::feedback::SpecificCrashReport::Tag Which ()

Defined at line 1520 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

Defined at line 1536 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

Defined at line 1539 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

const std::vector<zx::handle> * UnknownHandles ()

Defined at line 1545 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

void ~SpecificCrashReport ()
void SpecificCrashReport (SpecificCrashReport && )
SpecificCrashReport & operator= (SpecificCrashReport && )
SpecificCrashReport WithNative (::fuchsia::feedback::NativeCrashReport && )
SpecificCrashReport WithDart (::fuchsia::feedback::RuntimeCrashReport && )
SpecificCrashReport WithTextBacktrace (::fuchsia::feedback::TextBacktraceCrashReport && )
::std::unique_ptr<SpecificCrashReport> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SpecificCrashReport * value, size_t offset)
zx_status_t Clone (SpecificCrashReport * result)
bool has_invalid_tag ()

Defined at line 1470 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

bool is_native ()

Defined at line 1474 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

::fuchsia::feedback::NativeCrashReport & native ()

Intended for a native exception.

Defined at line 1477 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

SpecificCrashReport & set_native (::fuchsia::feedback::NativeCrashReport value)
SpecificCrashReport & set_dart (::fuchsia::feedback::RuntimeCrashReport value)
SpecificCrashReport & set_text_backtrace (::fuchsia::feedback::TextBacktraceCrashReport value)
SpecificCrashReport & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
::fuchsia::feedback::TextBacktraceCrashReport & text_backtrace ()

Intended for a text stack trace in Fuchsia's symbolization markup format.

Defined at line 1507 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

const ::fuchsia::feedback::TextBacktraceCrashReport & text_backtrace ()

Intended for a text stack trace in Fuchsia's symbolization markup format.

Defined at line 1513 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kNative 2

0x2

kDart 3

0x3

kTextBacktrace 4

0x4

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

Defined at line 1454 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

Friends

class Equality