class SpecificCrashReport

Defined at line 1222 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 ()
void SpecificCrashReport (SpecificCrashReport && )
SpecificCrashReport WithNative (::fuchsia::feedback::NativeCrashReport && )
SpecificCrashReport WithDart (::fuchsia::feedback::RuntimeCrashReport && )
::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)
SpecificCrashReport & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
bool has_invalid_tag ()

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

bool is_native ()

Defined at line 1254 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 1257 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

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

Intended for a native exception.

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

bool is_dart ()

Defined at line 1269 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 1272 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 1278 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

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

Defined at line 1285 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 1300 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 1303 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 1309 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

void ~SpecificCrashReport ()
SpecificCrashReport & operator= (SpecificCrashReport && )
SpecificCrashReport & set_native (::fuchsia::feedback::NativeCrashReport value)
SpecificCrashReport & set_dart (::fuchsia::feedback::RuntimeCrashReport value)

Enumerations

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

0x2

kDart 3

0x3

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

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

Friends

class Equality