class ResourceId
Defined at line 3165 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h
An identifier for a filtering resource, unique within a controller's scope.
Public Methods
void ResourceId (ResourceId && other)
ResourceId & operator= (ResourceId && other)
void ResourceId (const ResourceId & other)
ResourceId & operator= (const ResourceId & other)
bool operator== (const ResourceId & other)
bool operator!= (const ResourceId & other)
bool IsUnknown ()
::fuchsia_net_filter::ResourceId::Tag Which ()
ResourceId WithNamespace_ (::std::string val)
const ::fidl::internal::UnionMemberView<1, Storage_> namespace_ ()
::fidl::internal::UnionMemberView<1, Storage_> namespace_ ()
ResourceId & namespace_ (::std::string value)
Sets the union to hold the namespace_ member.
ResourceId WithRoutine (::fuchsia_net_filter::RoutineId val)
const ::fidl::internal::UnionMemberView<2, Storage_> routine ()
::fidl::internal::UnionMemberView<2, Storage_> routine ()
ResourceId & routine (::fuchsia_net_filter::RoutineId value)
Sets the union to hold the routine member.
ResourceId WithRule (::fuchsia_net_filter::RuleId val)
const ::fidl::internal::UnionMemberView<3, Storage_> rule ()
::fidl::internal::UnionMemberView<3, Storage_> rule ()
ResourceId & rule (::fuchsia_net_filter::RuleId value)
Sets the union to hold the rule member.
void ResourceId (::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 3176 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/cpp/fidl/fuchsia.net.filter/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits