class ChangeValidationResult

Defined at line 1178 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

void ChangeValidationResult ()
void ChangeValidationResult (ChangeValidationResult && )
ChangeValidationResult WithOk (::fuchsia::net::filter::Empty && )
ChangeValidationResult WithTooManyChanges (::fuchsia::net::filter::Empty && )
ChangeValidationResult WithErrorOnChange (::std::vector< ::fuchsia::net::filter::ChangeValidationError> && )
::std::unique_ptr<ChangeValidationResult> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ChangeValidationResult * value, size_t offset)
zx_status_t Clone (ChangeValidationResult * result)
ChangeValidationResult & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
bool has_invalid_tag ()

Defined at line 1208 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

bool is_ok ()

Defined at line 1212 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

::fuchsia::net::filter::Empty & ok ()

The changes are valid.

Defined at line 1215 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

const ::fuchsia::net::filter::Empty & ok ()

The changes are valid.

Defined at line 1221 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

bool is_too_many_changes ()

Defined at line 1227 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

ChangeValidationResult & operator= (ChangeValidationResult && )
ChangeValidationResult & set_ok (::fuchsia::net::filter::Empty value)
ChangeValidationResult & set_too_many_changes (::fuchsia::net::filter::Empty value)
::fuchsia::net::filter::Empty & too_many_changes ()

More than [`MAX_COMMIT_SIZE`] pending changes were pushed before

being committed.

The pending changes that were pushed to the server *before* this

call remain and can be committed by calling `Commit`.

Defined at line 1234 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

const ::fuchsia::net::filter::Empty & too_many_changes ()

More than [`MAX_COMMIT_SIZE`] pending changes were pushed before

being committed.

The pending changes that were pushed to the server *before* this

call remain and can be committed by calling `Commit`.

Defined at line 1244 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

bool is_error_on_change ()

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

::std::vector< ::fuchsia::net::filter::ChangeValidationError> & error_on_change ()

At least one of the changes provided was invalid. In order to be

maximally informative, a vector of results is returned where each

result corresponds to the change at the same index.

NB: if any change in the batch pushed by the client is invalid,

*none* of the provided changes will be added to the server's set of

pending changes. In other words, this method is all-or-nothing:

either it succeeds and all changes in the batch are added to the

pending set, or it fails and none are.

Defined at line 1261 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

const ::std::vector< ::fuchsia::net::filter::ChangeValidationError> & error_on_change ()

At least one of the changes provided was invalid. In order to be

maximally informative, a vector of results is returned where each

result corresponds to the change at the same index.

NB: if any change in the batch pushed by the client is invalid,

*none* of the provided changes will be added to the server's set of

pending changes. In other words, this method is all-or-nothing:

either it succeeds and all changes in the batch are added to the

pending set, or it fails and none are.

Defined at line 1275 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

::fuchsia::net::filter::ChangeValidationResult::Tag Which ()

Defined at line 1282 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/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 1298 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

Defined at line 1301 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

const std::vector<zx::handle> * UnknownHandles ()

Defined at line 1307 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

void ~ChangeValidationResult ()
ChangeValidationResult & set_error_on_change (::std::vector< ::fuchsia::net::filter::ChangeValidationError> value)

Enumerations

enum Tag
Name Value
kUnknown 0
kOk 1
kTooManyChanges 2
kErrorOnChange 3
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 1192 of file fidling/gen/sdk/fidl/fuchsia.net.filter/fuchsia.net.filter/hlcpp/fuchsia/net/filter/cpp/fidl.h

Friends

class Equality