class Range
Defined at line 187 of file fidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/cpp/fidl/fuchsia.mem/cpp/natural_types.h
A range of bytes within a VMO.
Public Methods
void Range (Storage_ storage)
void Range (::zx::vmo vmo, uint64_t offset, uint64_t size)
void Range ()
Default constructs a |Range| only if all of its members are default constructible.
Defined at line 198 of file fidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/cpp/fidl/fuchsia.mem/cpp/natural_types.h
void Range (Range && )
Defined at line 201 of file fidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/cpp/fidl/fuchsia.mem/cpp/natural_types.h
Range & operator= (Range && )
Defined at line 202 of file fidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/cpp/fidl/fuchsia.mem/cpp/natural_types.h
const ::zx::vmo & vmo ()
The vmo that contains the bytes.
::zx::vmo & vmo ()
The vmo that contains the bytes.
Range & vmo (::zx::vmo value)
The vmo that contains the bytes.
uint64_t offset ()
The offset of the first byte within the range relative to the start of
the VMO.
For example, if `offset` is zero, then the first byte in the range is
the first byte in the VMO.
uint64_t & offset ()
The offset of the first byte within the range relative to the start of
the VMO.
For example, if `offset` is zero, then the first byte in the range is
the first byte in the VMO.
Range & offset (uint64_t value)
The offset of the first byte within the range relative to the start of
the VMO.
For example, if `offset` is zero, then the first byte in the range is
the first byte in the VMO.
uint64_t size ()
The number of bytes in the range.
For example, if the offset is 3 and the size is 2, and the VMO starts
with "abcdefg...", then the range contains "de".
The sum of the offset and the size must not be greater than the
physical size of the VMO.
uint64_t & size ()
The number of bytes in the range.
For example, if the offset is 3 and the size is 2, and the VMO starts
with "abcdefg...", then the range contains "de".
The sum of the offset and the size must not be greater than the
physical size of the VMO.
Range & size (uint64_t value)
The number of bytes in the range.
For example, if the offset is 3 and the size is 2, and the VMO starts
with "abcdefg...", then the range contains "de".
The sum of the offset and the size must not be greater than the
physical size of the VMO.
void Range (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits