com

package
v0.0.0-...-7c8058c Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 3 Imported by: 14

Documentation

Overview

*

  • MIT License *
  • Copyright (c) 2018 - 2020 CNES *
  • Permission is hereby granted, free of charge, to any person obtaining a copy
  • of this software and associated documentation files (the "Software"), to deal
  • in the Software without restriction, including without limitation the rights
  • to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  • copies of the Software, and to permit persons to whom the Software is
  • furnished to do so, subject to the following conditions: *
  • The above copyright notice and this permission notice shall be included in all
  • copies or substantial portions of the Software. *
  • THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  • IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  • FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  • AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  • LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  • OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  • SOFTWARE.

*

  • MIT License *
  • Copyright (c) 2018 - 2020 CNES *
  • Permission is hereby granted, free of charge, to any person obtaining a copy
  • of this software and associated documentation files (the "Software"), to deal
  • in the Software without restriction, including without limitation the rights
  • to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  • copies of the Software, and to permit persons to whom the Software is
  • furnished to do so, subject to the following conditions: *
  • The above copyright notice and this permission notice shall be included in all
  • copies or substantial portions of the Software. *
  • THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  • IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  • FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  • AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  • LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  • OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  • SOFTWARE.

*

  • MIT License *
  • Copyright (c) 2018 - 2020 CNES *
  • Permission is hereby granted, free of charge, to any person obtaining a copy
  • of this software and associated documentation files (the "Software"), to deal
  • in the Software without restriction, including without limitation the rights
  • to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  • copies of the Software, and to permit persons to whom the Software is
  • furnished to do so, subject to the following conditions: *
  • The above copyright notice and this permission notice shall be included in all
  • copies or substantial portions of the Software. *
  • THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  • IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  • FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  • AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  • LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  • OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  • SOFTWARE.

*

  • MIT License *
  • Copyright (c) 2018 - 2020 CNES *
  • Permission is hereby granted, free of charge, to any person obtaining a copy
  • of this software and associated documentation files (the "Software"), to deal
  • in the Software without restriction, including without limitation the rights
  • to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  • copies of the Software, and to permit persons to whom the Software is
  • furnished to do so, subject to the following conditions: *
  • The above copyright notice and this permission notice shall be included in all
  • copies or substantial portions of the Software. *
  • THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  • IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  • FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  • AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  • LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  • OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  • SOFTWARE.

Index

Constants

View Source
const (
	AREA_NUMBER     mal.UShort   = 2
	AREA_VERSION    mal.UOctet   = 1
	AREA_NAME                    = mal.Identifier("COM")
	ERROR_INVALID   mal.UInteger = 70000
	ERROR_DUPLICATE mal.UInteger = 70001
)
View Source
const INSTANCEBOOLEANPAIR_LIST_SHORT_FORM mal.Long = 0x2000001fffffb
View Source
const INSTANCEBOOLEANPAIR_LIST_TYPE_SHORT_FORM mal.Integer = -5
View Source
const INSTANCEBOOLEANPAIR_SHORT_FORM mal.Long = 0x2000001000005
View Source
const INSTANCEBOOLEANPAIR_TYPE_SHORT_FORM mal.Integer = 5
View Source
const OBJECTDETAILS_LIST_SHORT_FORM mal.Long = 0x2000001fffffc
View Source
const OBJECTDETAILS_LIST_TYPE_SHORT_FORM mal.Integer = -4
View Source
const OBJECTDETAILS_SHORT_FORM mal.Long = 0x2000001000004
View Source
const OBJECTDETAILS_TYPE_SHORT_FORM mal.Integer = 4
View Source
const OBJECTID_LIST_SHORT_FORM mal.Long = 0x2000001fffffd
View Source
const OBJECTID_LIST_TYPE_SHORT_FORM mal.Integer = -3
View Source
const OBJECTID_SHORT_FORM mal.Long = 0x2000001000003
View Source
const OBJECTID_TYPE_SHORT_FORM mal.Integer = 3
View Source
const OBJECTKEY_LIST_SHORT_FORM mal.Long = 0x2000001fffffe
View Source
const OBJECTKEY_LIST_TYPE_SHORT_FORM mal.Integer = -2
View Source
const OBJECTKEY_SHORT_FORM mal.Long = 0x2000001000002
View Source
const OBJECTKEY_TYPE_SHORT_FORM mal.Integer = 2
View Source
const OBJECTTYPE_LIST_SHORT_FORM mal.Long = 0x2000001ffffff
View Source
const OBJECTTYPE_LIST_TYPE_SHORT_FORM mal.Integer = -1
View Source
const OBJECTTYPE_SHORT_FORM mal.Long = 0x2000001000001
View Source
const OBJECTTYPE_TYPE_SHORT_FORM mal.Integer = 1

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceBooleanPair

type InstanceBooleanPair struct {
	Id    mal.Long
	Value mal.Boolean
}
var (
	NullInstanceBooleanPair *InstanceBooleanPair = nil
)

func NewInstanceBooleanPair

func NewInstanceBooleanPair() *InstanceBooleanPair

func (*InstanceBooleanPair) Composite

func (receiver *InstanceBooleanPair) Composite() mal.Composite

func (*InstanceBooleanPair) CreateElement

func (receiver *InstanceBooleanPair) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*InstanceBooleanPair) Decode

func (receiver *InstanceBooleanPair) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*InstanceBooleanPair) Encode

func (receiver *InstanceBooleanPair) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*InstanceBooleanPair) GetAreaNumber

func (receiver *InstanceBooleanPair) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*InstanceBooleanPair) GetAreaVersion

func (receiver *InstanceBooleanPair) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*InstanceBooleanPair) GetServiceNumber

func (receiver *InstanceBooleanPair) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*InstanceBooleanPair) GetShortForm

func (receiver *InstanceBooleanPair) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*InstanceBooleanPair) GetTypeShortForm

func (receiver *InstanceBooleanPair) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*InstanceBooleanPair) IsNull

func (receiver *InstanceBooleanPair) IsNull() bool

func (*InstanceBooleanPair) Null

func (receiver *InstanceBooleanPair) Null() mal.Element

type InstanceBooleanPairList

type InstanceBooleanPairList []*InstanceBooleanPair
var NullInstanceBooleanPairList *InstanceBooleanPairList = nil

func NewInstanceBooleanPairList

func NewInstanceBooleanPairList(size int) *InstanceBooleanPairList

func (*InstanceBooleanPairList) AppendElement

func (receiver *InstanceBooleanPairList) AppendElement(element mal.Element)

func (*InstanceBooleanPairList) Composite

func (receiver *InstanceBooleanPairList) Composite() mal.Composite

func (*InstanceBooleanPairList) CreateElement

func (receiver *InstanceBooleanPairList) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*InstanceBooleanPairList) Decode

func (receiver *InstanceBooleanPairList) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*InstanceBooleanPairList) Encode

func (receiver *InstanceBooleanPairList) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*InstanceBooleanPairList) GetAreaNumber

func (receiver *InstanceBooleanPairList) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*InstanceBooleanPairList) GetAreaVersion

func (receiver *InstanceBooleanPairList) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*InstanceBooleanPairList) GetElementAt

func (receiver *InstanceBooleanPairList) GetElementAt(i int) mal.Element

func (*InstanceBooleanPairList) GetServiceNumber

func (receiver *InstanceBooleanPairList) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*InstanceBooleanPairList) GetShortForm

func (receiver *InstanceBooleanPairList) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*InstanceBooleanPairList) GetTypeShortForm

func (receiver *InstanceBooleanPairList) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*InstanceBooleanPairList) IsNull

func (receiver *InstanceBooleanPairList) IsNull() bool

func (*InstanceBooleanPairList) Null

func (receiver *InstanceBooleanPairList) Null() mal.Element

func (*InstanceBooleanPairList) Size

func (receiver *InstanceBooleanPairList) Size() int

type ObjectDetails

type ObjectDetails struct {
	Related *mal.Long
	Source  *ObjectId
}
var (
	NullObjectDetails *ObjectDetails = nil
)

func NewObjectDetails

func NewObjectDetails() *ObjectDetails

func (*ObjectDetails) Composite

func (receiver *ObjectDetails) Composite() mal.Composite

func (*ObjectDetails) CreateElement

func (receiver *ObjectDetails) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ObjectDetails) Decode

func (receiver *ObjectDetails) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ObjectDetails) Encode

func (receiver *ObjectDetails) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ObjectDetails) GetAreaNumber

func (receiver *ObjectDetails) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ObjectDetails) GetAreaVersion

func (receiver *ObjectDetails) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ObjectDetails) GetServiceNumber

func (receiver *ObjectDetails) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ObjectDetails) GetShortForm

func (receiver *ObjectDetails) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ObjectDetails) GetTypeShortForm

func (receiver *ObjectDetails) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ObjectDetails) IsNull

func (receiver *ObjectDetails) IsNull() bool

func (*ObjectDetails) Null

func (receiver *ObjectDetails) Null() mal.Element

func (*ObjectDetails) String

func (details *ObjectDetails) String() string

type ObjectDetailsList

type ObjectDetailsList []*ObjectDetails
var NullObjectDetailsList *ObjectDetailsList = nil

func NewObjectDetailsList

func NewObjectDetailsList(size int) *ObjectDetailsList

func (*ObjectDetailsList) AppendElement

func (receiver *ObjectDetailsList) AppendElement(element mal.Element)

func (*ObjectDetailsList) Composite

func (receiver *ObjectDetailsList) Composite() mal.Composite

func (*ObjectDetailsList) CreateElement

func (receiver *ObjectDetailsList) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ObjectDetailsList) Decode

func (receiver *ObjectDetailsList) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ObjectDetailsList) Encode

func (receiver *ObjectDetailsList) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ObjectDetailsList) GetAreaNumber

func (receiver *ObjectDetailsList) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ObjectDetailsList) GetAreaVersion

func (receiver *ObjectDetailsList) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ObjectDetailsList) GetElementAt

func (receiver *ObjectDetailsList) GetElementAt(i int) mal.Element

func (*ObjectDetailsList) GetServiceNumber

func (receiver *ObjectDetailsList) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ObjectDetailsList) GetShortForm

func (receiver *ObjectDetailsList) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ObjectDetailsList) GetTypeShortForm

func (receiver *ObjectDetailsList) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ObjectDetailsList) IsNull

func (receiver *ObjectDetailsList) IsNull() bool

func (*ObjectDetailsList) Null

func (receiver *ObjectDetailsList) Null() mal.Element

func (*ObjectDetailsList) Size

func (receiver *ObjectDetailsList) Size() int

type ObjectId

type ObjectId struct {
	Type ObjectType
	Key  ObjectKey
}
var (
	NullObjectId *ObjectId = nil
)

func NewObjectId

func NewObjectId() *ObjectId

func (*ObjectId) Composite

func (receiver *ObjectId) Composite() mal.Composite

func (*ObjectId) CreateElement

func (receiver *ObjectId) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ObjectId) Decode

func (receiver *ObjectId) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ObjectId) Encode

func (receiver *ObjectId) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ObjectId) GetAreaNumber

func (receiver *ObjectId) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ObjectId) GetAreaVersion

func (receiver *ObjectId) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ObjectId) GetServiceNumber

func (receiver *ObjectId) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ObjectId) GetShortForm

func (receiver *ObjectId) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ObjectId) GetTypeShortForm

func (receiver *ObjectId) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ObjectId) IsNull

func (receiver *ObjectId) IsNull() bool

func (*ObjectId) Null

func (receiver *ObjectId) Null() mal.Element

func (*ObjectId) String

func (id *ObjectId) String() string

type ObjectIdList

type ObjectIdList []*ObjectId
var NullObjectIdList *ObjectIdList = nil

func NewObjectIdList

func NewObjectIdList(size int) *ObjectIdList

func (*ObjectIdList) AppendElement

func (receiver *ObjectIdList) AppendElement(element mal.Element)

func (*ObjectIdList) Composite

func (receiver *ObjectIdList) Composite() mal.Composite

func (*ObjectIdList) CreateElement

func (receiver *ObjectIdList) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ObjectIdList) Decode

func (receiver *ObjectIdList) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ObjectIdList) Encode

func (receiver *ObjectIdList) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ObjectIdList) GetAreaNumber

func (receiver *ObjectIdList) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ObjectIdList) GetAreaVersion

func (receiver *ObjectIdList) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ObjectIdList) GetElementAt

func (receiver *ObjectIdList) GetElementAt(i int) mal.Element

func (*ObjectIdList) GetServiceNumber

func (receiver *ObjectIdList) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ObjectIdList) GetShortForm

func (receiver *ObjectIdList) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ObjectIdList) GetTypeShortForm

func (receiver *ObjectIdList) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ObjectIdList) IsNull

func (receiver *ObjectIdList) IsNull() bool

func (*ObjectIdList) Null

func (receiver *ObjectIdList) Null() mal.Element

func (*ObjectIdList) Size

func (receiver *ObjectIdList) Size() int

type ObjectKey

type ObjectKey struct {
	Domain mal.IdentifierList
	InstId mal.Long
}
var (
	NullObjectKey *ObjectKey = nil
)

func NewObjectKey

func NewObjectKey() *ObjectKey

func (*ObjectKey) Composite

func (receiver *ObjectKey) Composite() mal.Composite

func (*ObjectKey) CreateElement

func (receiver *ObjectKey) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ObjectKey) Decode

func (receiver *ObjectKey) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ObjectKey) Encode

func (receiver *ObjectKey) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ObjectKey) GetAreaNumber

func (receiver *ObjectKey) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ObjectKey) GetAreaVersion

func (receiver *ObjectKey) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ObjectKey) GetServiceNumber

func (receiver *ObjectKey) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ObjectKey) GetShortForm

func (receiver *ObjectKey) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ObjectKey) GetTypeShortForm

func (receiver *ObjectKey) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ObjectKey) IsNull

func (receiver *ObjectKey) IsNull() bool

func (*ObjectKey) Null

func (receiver *ObjectKey) Null() mal.Element

func (*ObjectKey) String

func (key *ObjectKey) String() string

================================================================================ Implements Stringer interface

type ObjectKeyList

type ObjectKeyList []*ObjectKey
var NullObjectKeyList *ObjectKeyList = nil

func NewObjectKeyList

func NewObjectKeyList(size int) *ObjectKeyList

func (*ObjectKeyList) AppendElement

func (receiver *ObjectKeyList) AppendElement(element mal.Element)

func (*ObjectKeyList) Composite

func (receiver *ObjectKeyList) Composite() mal.Composite

func (*ObjectKeyList) CreateElement

func (receiver *ObjectKeyList) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ObjectKeyList) Decode

func (receiver *ObjectKeyList) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ObjectKeyList) Encode

func (receiver *ObjectKeyList) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ObjectKeyList) GetAreaNumber

func (receiver *ObjectKeyList) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ObjectKeyList) GetAreaVersion

func (receiver *ObjectKeyList) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ObjectKeyList) GetElementAt

func (receiver *ObjectKeyList) GetElementAt(i int) mal.Element

func (*ObjectKeyList) GetServiceNumber

func (receiver *ObjectKeyList) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ObjectKeyList) GetShortForm

func (receiver *ObjectKeyList) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ObjectKeyList) GetTypeShortForm

func (receiver *ObjectKeyList) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ObjectKeyList) IsNull

func (receiver *ObjectKeyList) IsNull() bool

func (*ObjectKeyList) Null

func (receiver *ObjectKeyList) Null() mal.Element

func (*ObjectKeyList) Size

func (receiver *ObjectKeyList) Size() int

type ObjectType

type ObjectType struct {
	Area    mal.UShort
	Service mal.UShort
	Version mal.UOctet
	Number  mal.UShort
}
var (
	NullObjectType *ObjectType = nil
)

func NewObjectType

func NewObjectType() *ObjectType

func (*ObjectType) Composite

func (receiver *ObjectType) Composite() mal.Composite

func (*ObjectType) CreateElement

func (receiver *ObjectType) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ObjectType) Decode

func (receiver *ObjectType) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ObjectType) Encode

func (receiver *ObjectType) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ObjectType) GetAreaNumber

func (receiver *ObjectType) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ObjectType) GetAreaVersion

func (receiver *ObjectType) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ObjectType) GetMALBodyListType

func (t *ObjectType) GetMALBodyListType() mal.Long

func (*ObjectType) GetMALBodyType

func (t *ObjectType) GetMALBodyType() mal.Long

func (*ObjectType) GetServiceNumber

func (receiver *ObjectType) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ObjectType) GetShortForm

func (receiver *ObjectType) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ObjectType) GetTypeShortForm

func (receiver *ObjectType) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ObjectType) IsNull

func (receiver *ObjectType) IsNull() bool

func (*ObjectType) Null

func (receiver *ObjectType) Null() mal.Element

func (*ObjectType) RegisterMALBodyType

func (t *ObjectType) RegisterMALBodyType(shortForm mal.Long) error

func (*ObjectType) String

func (t *ObjectType) String() string

type ObjectTypeList

type ObjectTypeList []*ObjectType
var NullObjectTypeList *ObjectTypeList = nil

func NewObjectTypeList

func NewObjectTypeList(size int) *ObjectTypeList

func (*ObjectTypeList) AppendElement

func (receiver *ObjectTypeList) AppendElement(element mal.Element)

func (*ObjectTypeList) Composite

func (receiver *ObjectTypeList) Composite() mal.Composite

func (*ObjectTypeList) CreateElement

func (receiver *ObjectTypeList) CreateElement() mal.Element

Allows the creation of an element in a generic way, i.e., using the MAL Element polymorphism.

func (*ObjectTypeList) Decode

func (receiver *ObjectTypeList) Decode(decoder mal.Decoder) (mal.Element, error)

Decodes an instance of this element type using the supplied decoder. @param decoder The decoder to use, must not be null. @return the decoded instance, may be not the same instance as this Element.

func (*ObjectTypeList) Encode

func (receiver *ObjectTypeList) Encode(encoder mal.Encoder) error

Encodes this element using the supplied encoder. @param encoder The encoder to use, must not be null.

func (*ObjectTypeList) GetAreaNumber

func (receiver *ObjectTypeList) GetAreaNumber() mal.UShort

Returns the number of the area this element type belongs to.

func (*ObjectTypeList) GetAreaVersion

func (receiver *ObjectTypeList) GetAreaVersion() mal.UOctet

Returns the version of the area this element type belongs to.

func (*ObjectTypeList) GetElementAt

func (receiver *ObjectTypeList) GetElementAt(i int) mal.Element

func (*ObjectTypeList) GetServiceNumber

func (receiver *ObjectTypeList) GetServiceNumber() mal.UShort

Returns the number of the service this element type belongs to.

func (*ObjectTypeList) GetShortForm

func (receiver *ObjectTypeList) GetShortForm() mal.Long

Returns the absolute short form of the element type.

func (*ObjectTypeList) GetTypeShortForm

func (receiver *ObjectTypeList) GetTypeShortForm() mal.Integer

Returns the relative short form of the element type.

func (*ObjectTypeList) IsNull

func (receiver *ObjectTypeList) IsNull() bool

func (*ObjectTypeList) Null

func (receiver *ObjectTypeList) Null() mal.Element

func (*ObjectTypeList) Size

func (receiver *ObjectTypeList) Size() int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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