class Resource
Defined at line 3093 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h
A filtering resource.
Public Methods
void Resource (Resource && other)
Resource & operator= (Resource && other)
void Resource (const Resource & other)
Resource & operator= (const Resource & other)
bool operator== (const Resource & other)
bool operator!= (const Resource & other)
bool IsUnknown ()
::fuchsia_net_filter::Resource::Tag Which ()
Resource WithNamespace_ (::fuchsia_net_filter::Namespace val)
const ::fidl::internal::UnionMemberView<1, Storage_> namespace_ ()
::fidl::internal::UnionMemberView<1, Storage_> namespace_ ()
Resource & namespace_ (::fuchsia_net_filter::Namespace value)
Sets the union to hold the namespace_ member.
Resource WithRoutine (::fuchsia_net_filter::Routine val)
const ::fidl::internal::UnionMemberView<2, Storage_> routine ()
::fidl::internal::UnionMemberView<2, Storage_> routine ()
Resource & routine (::fuchsia_net_filter::Routine value)
Sets the union to hold the routine member.
Resource WithRule (::fuchsia_net_filter::Rule val)
const ::fidl::internal::UnionMemberView<3, Storage_> rule ()
::fidl::internal::UnionMemberView<3, Storage_> rule ()
Resource & rule (::fuchsia_net_filter::Rule value)
Sets the union to hold the rule member.
void Resource (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kNamespace | 1 |
| kRoutine | 2 |
| kRule | 3 |
| _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 3104 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits