classdef

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypePortable = iota
	TypeByte
	TypeBool
	TypeUint16
	TypeInt16
	TypeInt32
	TypeInt64
	TypeFloat32
	TypeFloat64
	TypeUTF
	TypePortableArray
	TypeByteArray
	TypeBoolArray
	TypeUint16Array
	TypeInt16Array
	TypeInt32Array
	TypeInt64Array
	TypeFloat32Array
	TypeFloat64Array
	TypeUTFArray
)

Variables

This section is empty.

Functions

func NewFieldDefinitionImpl

func NewFieldDefinitionImpl(index int32, fieldName string, fieldType int32, factoryID int32,
	classID int32, version int32) serialization.FieldDefinition

Types

type ClassDefinitionContext

type ClassDefinitionContext struct {
	// contains filtered or unexported fields
}

func NewClassDefinitionContext

func NewClassDefinitionContext(factoryID int32) *ClassDefinitionContext

func (*ClassDefinitionContext) LookUp

func (c *ClassDefinitionContext) LookUp(classID int32, version int32) serialization.ClassDefinition

func (*ClassDefinitionContext) Register

type ClassDefinitionImpl

type ClassDefinitionImpl struct {
	// contains filtered or unexported fields
}

func NewClassDefinitionImpl

func NewClassDefinitionImpl(factoryID int32, classID int32, version int32) *ClassDefinitionImpl

func (*ClassDefinitionImpl) AddFieldDefinition

func (cd *ClassDefinitionImpl) AddFieldDefinition(definition serialization.FieldDefinition)

func (*ClassDefinitionImpl) ClassID

func (cd *ClassDefinitionImpl) ClassID() int32

func (*ClassDefinitionImpl) FactoryID

func (cd *ClassDefinitionImpl) FactoryID() int32

func (*ClassDefinitionImpl) Field

func (*ClassDefinitionImpl) FieldCount

func (cd *ClassDefinitionImpl) FieldCount() int

func (*ClassDefinitionImpl) Version

func (cd *ClassDefinitionImpl) Version() int32

type FieldDefinitionImpl

type FieldDefinitionImpl struct {
	// contains filtered or unexported fields
}

func (*FieldDefinitionImpl) ClassID

func (fd *FieldDefinitionImpl) ClassID() int32

func (*FieldDefinitionImpl) FactoryID

func (fd *FieldDefinitionImpl) FactoryID() int32

func (*FieldDefinitionImpl) Index

func (fd *FieldDefinitionImpl) Index() int32

func (*FieldDefinitionImpl) Name

func (fd *FieldDefinitionImpl) Name() string

func (*FieldDefinitionImpl) Type

func (fd *FieldDefinitionImpl) Type() int32

func (*FieldDefinitionImpl) Version

func (fd *FieldDefinitionImpl) Version() int32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL