template <typename FidlType>

class DecodedValue

Defined at line 17 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

|DecodedValue| is a RAII wrapper around a FIDL wire struct, table, or union

pointer. It ensures that the handles within the object tree rooted at

|pointer| are closed when the object goes out of scope.

Public Methods

void DecodedValue<FidlType> ()

Constructs an empty |DecodedValue|.

Defined at line 20 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

void DecodedValue<FidlType> (FidlType * pointer)

Adopts an existing decoded tree at |pointer|, claiming handles located

within this tree.

Defined at line 24 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

void ~DecodedValue<FidlType> ()

Defined at line 29 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

void DecodedValue<FidlType> (DecodedValue<FidlType> && other)

Defined at line 37 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

DecodedValue<FidlType> & operator= (DecodedValue<FidlType> && other)

Defined at line 42 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

FidlType * operator-> ()

Defined at line 50 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

const FidlType * operator-> ()

Defined at line 51 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

FidlType & value ()

Defined at line 53 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

const FidlType & value ()

Defined at line 54 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

FidlType * pointer ()

Defined at line 56 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

const FidlType * pointer ()

Defined at line 57 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

FidlType & operator* ()

Defined at line 59 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

const FidlType & operator* ()

Defined at line 60 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h

void Release ()

Release the ownership of the decoded value. The handles won't be closed

when the current object is destroyed.

Defined at line 64 of file ../../sdk/lib/fidl/cpp/wire/include/lib/fidl/cpp/wire/decoded_value.h