class SpecificCrashReport
Defined at line 1204 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 1232 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h
bool is_native ()
Defined at line 1236 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 1239 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 1245 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h
bool is_dart ()
Defined at line 1251 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 1254 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 1260 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h
::fuchsia::feedback::SpecificCrashReport::Tag Which ()
Defined at line 1267 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 1282 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 1285 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 1291 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
| Name | Value |
|---|---|
| kUnknown | 0 |
| kNative | 2 |
| kDart | 3 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 1217 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h
Friends
class Equality