class Ref
Defined at line 2927 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
A reference to a capability source or destination relative to this
component.
Public Methods
void Ref (Ref && other)
Ref & operator= (Ref && other)
void Ref (const Ref & other)
Ref & operator= (const Ref & other)
bool operator== (const Ref & other)
bool operator!= (const Ref & other)
bool IsUnknown ()
::fuchsia_component_decl::Ref::Tag Which ()
Ref WithParent (::fuchsia_component_decl::ParentRef val)
const ::fidl::internal::UnionMemberView<1, Storage_> parent ()
::fidl::internal::UnionMemberView<1, Storage_> parent ()
Ref & parent (::fuchsia_component_decl::ParentRef value)
Sets the union to hold the parent member.
Ref WithSelf (::fuchsia_component_decl::SelfRef val)
const ::fidl::internal::UnionMemberView<2, Storage_> self ()
::fidl::internal::UnionMemberView<2, Storage_> self ()
Ref & self (::fuchsia_component_decl::SelfRef value)
Sets the union to hold the self member.
Ref WithChild (::fuchsia_component_decl::ChildRef val)
const ::fidl::internal::UnionMemberView<3, Storage_> child ()
::fidl::internal::UnionMemberView<3, Storage_> child ()
Ref & child (::fuchsia_component_decl::ChildRef value)
Sets the union to hold the child member.
Ref WithCollection (::fuchsia_component_decl::CollectionRef val)
const ::fidl::internal::UnionMemberView<4, Storage_> collection ()
::fidl::internal::UnionMemberView<4, Storage_> collection ()
Ref & collection (::fuchsia_component_decl::CollectionRef value)
Sets the union to hold the collection member.
Ref WithFramework (::fuchsia_component_decl::FrameworkRef val)
const ::fidl::internal::UnionMemberView<5, Storage_> framework ()
::fidl::internal::UnionMemberView<5, Storage_> framework ()
Ref & framework (::fuchsia_component_decl::FrameworkRef value)
Sets the union to hold the framework member.
Ref WithCapability (::fuchsia_component_decl::CapabilityRef val)
const ::fidl::internal::UnionMemberView<6, Storage_> capability ()
::fidl::internal::UnionMemberView<6, Storage_> capability ()
Ref & capability (::fuchsia_component_decl::CapabilityRef value)
Sets the union to hold the capability member.
Ref WithDebug (::fuchsia_component_decl::DebugRef val)
const ::fidl::internal::UnionMemberView<7, Storage_> debug ()
::fidl::internal::UnionMemberView<7, Storage_> debug ()
Ref & debug (::fuchsia_component_decl::DebugRef value)
Sets the union to hold the debug member.
Ref WithVoidType (::fuchsia_component_decl::VoidRef val)
const ::fidl::internal::UnionMemberView<8, Storage_> void_type ()
::fidl::internal::UnionMemberView<8, Storage_> void_type ()
Ref & void_type (::fuchsia_component_decl::VoidRef value)
Sets the union to hold the void_type member.
Ref WithEnvironment (::fuchsia_component_decl::EnvironmentRef val)
const ::fidl::internal::UnionMemberView<9, Storage_> environment ()
::fidl::internal::UnionMemberView<9, Storage_> environment ()
Ref & environment (::fuchsia_component_decl::EnvironmentRef value)
Sets the union to hold the environment member.
void Ref (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kParent | 1 |
| kSelf | 2 |
| kChild | 3 |
| kCollection | 4 |
| kFramework | 5 |
| kCapability | 6 |
| kDebug | 7 |
| kVoidType | 8 |
| kEnvironment | 9 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 2944 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits