blob: 113c67031fa8c9863a58d67e7b7e29fc9bba0dee [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
package name
type SimpleTable struct {
_ struct{} `fidl2:"t,16,8"`
X int64 `fidl:"1" fidl2:"1"`
XPresent bool
Y int64 `fidl:"5" fidl2:"5"`
YPresent bool
}
// Implements Payload.
func (_ *SimpleTable) InlineAlignment() int {
return 8
}
// Implements Payload.
func (_ *SimpleTable) InlineSize() int {
return 16
}
func (u *SimpleTable) SetX(x int64) {
u.X = x
u.XPresent = true
}
func (u *SimpleTable) GetX() int64 {
return u.X
}
func (u *SimpleTable) HasX() bool {
return u.XPresent
}
func (u *SimpleTable) ClearX() {
u.XPresent = false
}
func (u *SimpleTable) SetY(y int64) {
u.Y = y
u.YPresent = true
}
func (u *SimpleTable) GetY() int64 {
return u.Y
}
func (u *SimpleTable) HasY() bool {
return u.YPresent
}
func (u *SimpleTable) ClearY() {
u.YPresent = false
}
type OlderSimpleTable struct {
_ struct{} `fidl2:"t,16,8"`
X int64 `fidl:"1" fidl2:"1"`
XPresent bool
}
// Implements Payload.
func (_ *OlderSimpleTable) InlineAlignment() int {
return 8
}
// Implements Payload.
func (_ *OlderSimpleTable) InlineSize() int {
return 16
}
func (u *OlderSimpleTable) SetX(x int64) {
u.X = x
u.XPresent = true
}
func (u *OlderSimpleTable) GetX() int64 {
return u.X
}
func (u *OlderSimpleTable) HasX() bool {
return u.XPresent
}
func (u *OlderSimpleTable) ClearX() {
u.XPresent = false
}
type NewerSimpleTable struct {
_ struct{} `fidl2:"t,16,8"`
X int64 `fidl:"1" fidl2:"1"`
XPresent bool
Y int64 `fidl:"5" fidl2:"5"`
YPresent bool
Z int64 `fidl:"6" fidl2:"6"`
ZPresent bool
}
// Implements Payload.
func (_ *NewerSimpleTable) InlineAlignment() int {
return 8
}
// Implements Payload.
func (_ *NewerSimpleTable) InlineSize() int {
return 16
}
func (u *NewerSimpleTable) SetX(x int64) {
u.X = x
u.XPresent = true
}
func (u *NewerSimpleTable) GetX() int64 {
return u.X
}
func (u *NewerSimpleTable) HasX() bool {
return u.XPresent
}
func (u *NewerSimpleTable) ClearX() {
u.XPresent = false
}
func (u *NewerSimpleTable) SetY(y int64) {
u.Y = y
u.YPresent = true
}
func (u *NewerSimpleTable) GetY() int64 {
return u.Y
}
func (u *NewerSimpleTable) HasY() bool {
return u.YPresent
}
func (u *NewerSimpleTable) ClearY() {
u.YPresent = false
}
func (u *NewerSimpleTable) SetZ(z int64) {
u.Z = z
u.ZPresent = true
}
func (u *NewerSimpleTable) GetZ() int64 {
return u.Z
}
func (u *NewerSimpleTable) HasZ() bool {
return u.ZPresent
}
func (u *NewerSimpleTable) ClearZ() {
u.ZPresent = false
}