class AdvisoryLockRange

Defined at line 3043 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

Public Methods

void AdvisoryLockRange (Storage_ storage)
void AdvisoryLockRange (::fuchsia_io::SeekOrigin origin, int64_t offset, int64_t length)
void AdvisoryLockRange ()

Default constructs a |AdvisoryLockRange| only if all of its members are default constructible.

Defined at line 3053 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

void AdvisoryLockRange (AdvisoryLockRange && )

Defined at line 3056 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

void AdvisoryLockRange (const AdvisoryLockRange & other)
AdvisoryLockRange & operator= (AdvisoryLockRange && )

Defined at line 3057 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h

AdvisoryLockRange & operator= (const AdvisoryLockRange & other)
bool operator== (const AdvisoryLockRange & other)
bool operator!= (const AdvisoryLockRange & other)
::fuchsia_io::SeekOrigin origin ()

The location in the file from which [`offset`] is computed.

::fuchsia_io::SeekOrigin & origin ()

The location in the file from which [`offset`] is computed.

AdvisoryLockRange & origin (::fuchsia_io::SeekOrigin value)

The location in the file from which [`offset`] is computed.

int64_t offset ()

The start of the byte range, expressed as an offset from [`origin`].

Cannot be negative if [`origin`] is [`SeekOrigin.START`].

int64_t & offset ()

The start of the byte range, expressed as an offset from [`origin`].

Cannot be negative if [`origin`] is [`SeekOrigin.START`].

AdvisoryLockRange & offset (int64_t value)

The start of the byte range, expressed as an offset from [`origin`].

Cannot be negative if [`origin`] is [`SeekOrigin.START`].

int64_t length ()

The length of the byte range in bytes.

If the length is zero, then the byte range extends until the end of the

file, regardless of how large the file becomes.

If the length is negative, the byte range includes the bytes `offset` +

`length` up to, and including, `offset` - 1, provided this range does

not extend beyond the beginning of the file.

int64_t & length ()

The length of the byte range in bytes.

If the length is zero, then the byte range extends until the end of the

file, regardless of how large the file becomes.

If the length is negative, the byte range includes the bytes `offset` +

`length` up to, and including, `offset` - 1, provided this range does

not extend beyond the beginning of the file.

AdvisoryLockRange & length (int64_t value)

The length of the byte range in bytes.

If the length is zero, then the byte range extends until the end of the

file, regardless of how large the file becomes.

If the length is negative, the byte range includes the bytes `offset` +

`length` up to, and including, `offset` - 1, provided this range does

not extend beyond the beginning of the file.

void AdvisoryLockRange (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits