v.io: v.io/v23/vom/internal Index | Files | Directories

package internal

import "v.io/v23/vom/internal"

nolint:golint

Index

Package Files

helpers.go internal.vdl.go types.go

Variables

var VEnumAll = [...]VEnum{VEnumA, VEnumB, VEnumC}

VEnumAll holds all labels for VEnum.

func VDLReadVSmallUnion Uses

func VDLReadVSmallUnion(dec vdl.Decoder, x *VSmallUnion) error

type VArray Uses

type VArray [3]int32

func (VArray) VDLIsZero Uses

func (x VArray) VDLIsZero() bool

func (*VArray) VDLRead Uses

func (x *VArray) VDLRead(dec vdl.Decoder) error

func (VArray) VDLReflect Uses

func (VArray) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VArray"`
})

func (VArray) VDLWrite Uses

func (x VArray) VDLWrite(enc vdl.Encoder) error

type VByteArray Uses

type VByteArray [3]byte

func (VByteArray) VDLIsZero Uses

func (x VByteArray) VDLIsZero() bool

func (*VByteArray) VDLRead Uses

func (x *VByteArray) VDLRead(dec vdl.Decoder) error

func (VByteArray) VDLReflect Uses

func (VByteArray) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VByteArray"`
})

func (VByteArray) VDLWrite Uses

func (x VByteArray) VDLWrite(enc vdl.Encoder) error

type VByteList Uses

type VByteList []byte

func (VByteList) VDLIsZero Uses

func (x VByteList) VDLIsZero() bool

func (*VByteList) VDLRead Uses

func (x *VByteList) VDLRead(dec vdl.Decoder) error

func (VByteList) VDLReflect Uses

func (VByteList) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VByteList"`
})

func (VByteList) VDLWrite Uses

func (x VByteList) VDLWrite(enc vdl.Encoder) error

type VEnum Uses

type VEnum int
const (
    VEnumA VEnum = iota
    VEnumB
    VEnumC
)

func VEnumFromString Uses

func VEnumFromString(label string) (x VEnum, err error)

VEnumFromString creates a VEnum from a string label. nolint:deadcode,unused

func (*VEnum) Set Uses

func (x *VEnum) Set(label string) error

Set assigns label to x.

func (VEnum) String Uses

func (x VEnum) String() string

String returns the string label of x.

func (VEnum) VDLIsZero Uses

func (x VEnum) VDLIsZero() bool

func (*VEnum) VDLRead Uses

func (x *VEnum) VDLRead(dec vdl.Decoder) error

func (VEnum) VDLReflect Uses

func (VEnum) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VEnum"`
    Enum struct{ A, B, C string }
})

func (VEnum) VDLWrite Uses

func (x VEnum) VDLWrite(enc vdl.Encoder) error

type VLargeStruct Uses

type VLargeStruct struct {
    F1  int32
    F2  int32
    F3  int32
    F4  int32
    F5  int32
    F6  int32
    F7  int32
    F8  int32
    F9  int32
    F10 int32
    F11 int32
    F12 int32
    F13 int32
    F14 int32
    F15 int32
    F16 int32
    F17 int32
    F18 int32
    F19 int32
    F20 int32
    F21 int32
    F22 int32
    F23 int32
    F24 int32
    F25 int32
    F26 int32
    F27 int32
    F28 int32
    F29 int32
    F30 int32
    F31 int32
    F32 int32
    F33 int32
    F34 int32
    F35 int32
    F36 int32
    F37 int32
    F38 int32
    F39 int32
    F40 int32
    F41 int32
    F42 int32
    F43 int32
    F44 int32
    F45 int32
    F46 int32
    F47 int32
    F48 int32
    F49 int32
    F50 int32
}

func (VLargeStruct) VDLIsZero Uses

func (x VLargeStruct) VDLIsZero() bool

func (*VLargeStruct) VDLRead Uses

func (x *VLargeStruct) VDLRead(dec vdl.Decoder) error

func (VLargeStruct) VDLReflect Uses

func (VLargeStruct) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VLargeStruct"`
})

func (VLargeStruct) VDLWrite Uses

func (x VLargeStruct) VDLWrite(enc vdl.Encoder) error

type VList Uses

type VList []int32

func (VList) VDLIsZero Uses

func (x VList) VDLIsZero() bool

func (*VList) VDLRead Uses

func (x *VList) VDLRead(dec vdl.Decoder) error

func (VList) VDLReflect Uses

func (VList) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VList"`
})

func (VList) VDLWrite Uses

func (x VList) VDLWrite(enc vdl.Encoder) error

type VListAny Uses

type VListAny []*vom.RawBytes

func (VListAny) VDLIsZero Uses

func (x VListAny) VDLIsZero() bool

func (*VListAny) VDLRead Uses

func (x *VListAny) VDLRead(dec vdl.Decoder) error

func (VListAny) VDLReflect Uses

func (VListAny) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VListAny"`
})

func (VListAny) VDLWrite Uses

func (x VListAny) VDLWrite(enc vdl.Encoder) error

type VMap Uses

type VMap map[string]bool

func (VMap) VDLIsZero Uses

func (x VMap) VDLIsZero() bool

func (*VMap) VDLRead Uses

func (x *VMap) VDLRead(dec vdl.Decoder) error

func (VMap) VDLReflect Uses

func (VMap) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VMap"`
})

func (VMap) VDLWrite Uses

func (x VMap) VDLWrite(enc vdl.Encoder) error

type VNumber Uses

type VNumber int32

func (VNumber) VDLIsZero Uses

func (x VNumber) VDLIsZero() bool

func (*VNumber) VDLRead Uses

func (x *VNumber) VDLRead(dec vdl.Decoder) error

func (VNumber) VDLReflect Uses

func (VNumber) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VNumber"`
})

func (VNumber) VDLWrite Uses

func (x VNumber) VDLWrite(enc vdl.Encoder) error

type VSet Uses

type VSet map[string]struct{}

func (VSet) VDLIsZero Uses

func (x VSet) VDLIsZero() bool

func (*VSet) VDLRead Uses

func (x *VSet) VDLRead(dec vdl.Decoder) error

func (VSet) VDLReflect Uses

func (VSet) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VSet"`
})

func (VSet) VDLWrite Uses

func (x VSet) VDLWrite(enc vdl.Encoder) error

type VSmallStruct Uses

type VSmallStruct struct {
    A   int32
    B   string
    C   bool
}

func (VSmallStruct) VDLIsZero Uses

func (x VSmallStruct) VDLIsZero() bool

func (*VSmallStruct) VDLRead Uses

func (x *VSmallStruct) VDLRead(dec vdl.Decoder) error

func (VSmallStruct) VDLReflect Uses

func (VSmallStruct) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VSmallStruct"`
})

func (VSmallStruct) VDLWrite Uses

func (x VSmallStruct) VDLWrite(enc vdl.Encoder) error

type VSmallUnion Uses

type VSmallUnion interface {
    // Index returns the field index.
    Index() int
    // Interface returns the field value as an interface.
    Interface() interface{}
    // Name returns the field name.
    Name() string
    // VDLReflect describes the VSmallUnion union type.
    VDLReflect(vdlVSmallUnionReflect)
    VDLIsZero() bool
    VDLWrite(vdl.Encoder) error
}

VSmallUnion represents any single field of the VSmallUnion union type.

type VSmallUnionA Uses

type VSmallUnionA struct{ Value int32 }

VSmallUnionA represents field A of the VSmallUnion union type.

func (VSmallUnionA) Index Uses

func (x VSmallUnionA) Index() int

func (VSmallUnionA) Interface Uses

func (x VSmallUnionA) Interface() interface{}

func (VSmallUnionA) Name Uses

func (x VSmallUnionA) Name() string

func (VSmallUnionA) VDLIsZero Uses

func (x VSmallUnionA) VDLIsZero() bool

func (VSmallUnionA) VDLReflect Uses

func (x VSmallUnionA) VDLReflect(vdlVSmallUnionReflect)

func (VSmallUnionA) VDLWrite Uses

func (x VSmallUnionA) VDLWrite(enc vdl.Encoder) error

type VSmallUnionB Uses

type VSmallUnionB struct{ Value string }

VSmallUnionB represents field B of the VSmallUnion union type.

func (VSmallUnionB) Index Uses

func (x VSmallUnionB) Index() int

func (VSmallUnionB) Interface Uses

func (x VSmallUnionB) Interface() interface{}

func (VSmallUnionB) Name Uses

func (x VSmallUnionB) Name() string

func (VSmallUnionB) VDLIsZero Uses

func (x VSmallUnionB) VDLIsZero() bool

func (VSmallUnionB) VDLReflect Uses

func (x VSmallUnionB) VDLReflect(vdlVSmallUnionReflect)

func (VSmallUnionB) VDLWrite Uses

func (x VSmallUnionB) VDLWrite(enc vdl.Encoder) error

type VSmallUnionC Uses

type VSmallUnionC struct{ Value bool }

VSmallUnionC represents field C of the VSmallUnion union type.

func (VSmallUnionC) Index Uses

func (x VSmallUnionC) Index() int

func (VSmallUnionC) Interface Uses

func (x VSmallUnionC) Interface() interface{}

func (VSmallUnionC) Name Uses

func (x VSmallUnionC) Name() string

func (VSmallUnionC) VDLIsZero Uses

func (x VSmallUnionC) VDLIsZero() bool

func (VSmallUnionC) VDLReflect Uses

func (x VSmallUnionC) VDLReflect(vdlVSmallUnionReflect)

func (VSmallUnionC) VDLWrite Uses

func (x VSmallUnionC) VDLWrite(enc vdl.Encoder) error

type VString Uses

type VString string

func (VString) VDLIsZero Uses

func (x VString) VDLIsZero() bool

func (*VString) VDLRead Uses

func (x *VString) VDLRead(dec vdl.Decoder) error

func (VString) VDLReflect Uses

func (VString) VDLReflect(struct {
    Name string `vdl:"v.io/v23/vom/internal.VString"`
})

func (VString) VDLWrite Uses

func (x VString) VDLWrite(enc vdl.Encoder) error

type XArray Uses

type XArray [3]int32

type XByteArray Uses

type XByteArray [3]byte

type XByteList Uses

type XByteList []byte

type XLargeStruct Uses

type XLargeStruct struct {
    F1  int32
    F2  int32
    F3  int32
    F4  int32
    F5  int32
    F6  int32
    F7  int32
    F8  int32
    F9  int32
    F10 int32
    F11 int32
    F12 int32
    F13 int32
    F14 int32
    F15 int32
    F16 int32
    F17 int32
    F18 int32
    F19 int32
    F20 int32
    F21 int32
    F22 int32
    F23 int32
    F24 int32
    F25 int32
    F26 int32
    F27 int32
    F28 int32
    F29 int32
    F30 int32
    F31 int32
    F32 int32
    F33 int32
    F34 int32
    F35 int32
    F36 int32
    F37 int32
    F38 int32
    F39 int32
    F40 int32
    F41 int32
    F42 int32
    F43 int32
    F44 int32
    F45 int32
    F46 int32
    F47 int32
    F48 int32
    F49 int32
    F50 int32
}

type XList Uses

type XList []int32

type XListAny Uses

type XListAny []*vom.RawBytes

type XMap Uses

type XMap map[string]bool

type XNumber Uses

type XNumber int32

type XSmallStruct Uses

type XSmallStruct struct {
    A   int32
    B   string
    C   bool
}

type XString Uses

type XString string

Directories

PathSynopsis
vombenchgen

Package internal imports 11 packages (graph). Updated 2020-10-20. Refresh now. Tools for package owners.