const IntegerList_typePattern = `-?[0-9]+(\s*:\s*-?[0-9]+)*`
const Rgb_typePattern = `#[0-9a-fA-F]{6}`
var IntegerList_typePatternRe = regexp.MustCompile(IntegerList_typePattern)
var Rgb_typePatternRe = regexp.MustCompile(Rgb_typePattern)
type ActiveArea_type struct {
SizeAttr *string
HeightAttr *float64
WidthAttr *float64
UnitsAttr *Units_type
}
func NewActiveArea_type() *ActiveArea_type
func (m *ActiveArea_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *ActiveArea_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *ActiveArea_type) Validate() error
Validate validates the ActiveArea_type and its children
func (m *ActiveArea_type) ValidateWithPath(path string) error
ValidateWithPath validates the ActiveArea_type and its children, prefixing error messages with path
type Affine_type struct {
IdAttr *string
Content string
}
func NewAffine_type() *Affine_type
func (m *Affine_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Affine_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Affine_type) Validate() error
Validate validates the Affine_type and its children
func (m *Affine_type) ValidateWithPath(path string) error
ValidateWithPath validates the Affine_type and its children, prefixing error messages with path
type AnnotationXML_type struct {
TypeAttr *string
EncodingAttr *string
HrefAttr *string
Any []unioffice.Any
}
func NewAnnotationXML_type() *AnnotationXML_type
func (m *AnnotationXML_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *AnnotationXML_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *AnnotationXML_type) Validate() error
Validate validates the AnnotationXML_type and its children
func (m *AnnotationXML_type) ValidateWithPath(path string) error
ValidateWithPath validates the AnnotationXML_type and its children, prefixing error messages with path
type Annotation_type struct {
TypeAttr string
EncodingAttr string
Content string
}
func NewAnnotation_type() *Annotation_type
func (m *Annotation_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Annotation_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Annotation_type) Validate() error
Validate validates the Annotation_type and its children
func (m *Annotation_type) ValidateWithPath(path string) error
ValidateWithPath validates the Annotation_type and its children, prefixing error messages with path
type ApplyAttr byte
const (
ApplyAttrAbsolute ApplyAttr = 0
ApplyAttrRelative ApplyAttr = 1
)
func (m ApplyAttr) String() string
func (m ApplyAttr) Validate() error
func (m ApplyAttr) ValidateWithPath(path string) error
type Bind_type struct {
SourceAttr *string
TargetAttr *string
ColumnAttr *string
VariableAttr *string
}
func NewBind_type() *Bind_type
func (m *Bind_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Bind_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Bind_type) Validate() error
Validate validates the Bind_type and its children
func (m *Bind_type) ValidateWithPath(path string) error
ValidateWithPath validates the Bind_type and its children, prefixing error messages with path
type BooleanStr_type byte
const (
BooleanStr_typeUnset BooleanStr_type = 0
BooleanStr_typeF BooleanStr_type = 1
BooleanStr_typeT BooleanStr_type = 2
)
func (m BooleanStr_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e BooleanStr_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m BooleanStr_type) String() string
func (m *BooleanStr_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *BooleanStr_type) UnmarshalXMLAttr(attr xml.Attr) error
func (m BooleanStr_type) Validate() error
func (m BooleanStr_type) ValidateWithPath(path string) error
BrushPropertyName_type is a union type
type BrushPropertyName_type struct {
StandardBrushPropertyName_type StandardBrushPropertyName_type
UserBrushPropertyName_type *string
}
func ParseUnionBrushPropertyName_type(s string) (BrushPropertyName_type, error)
func (m BrushPropertyName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m BrushPropertyName_type) String() string
func (m *BrushPropertyName_type) Validate() error
func (m *BrushPropertyName_type) ValidateWithPath(path string) error
BrushPropertyValue_type is a union type
type BrushPropertyValue_type struct {
BrushRasterOp_type BrushRasterOp_type
BrushTip_type BrushTip_type
Rgb_type *string
Float64 *float64
Int64 *int64
StringVal *string
}
func ParseUnionBrushPropertyValue_type(s string) (BrushPropertyValue_type, error)
func (m BrushPropertyValue_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m BrushPropertyValue_type) String() string
func (m *BrushPropertyValue_type) Validate() error
func (m *BrushPropertyValue_type) ValidateWithPath(path string) error
type BrushProperty_type struct {
NameAttr BrushPropertyName_type
ValueAttr BrushPropertyValue_type
UnitsAttr *Units_type
}
func NewBrushProperty_type() *BrushProperty_type
func (m *BrushProperty_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *BrushProperty_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *BrushProperty_type) Validate() error
Validate validates the BrushProperty_type and its children
func (m *BrushProperty_type) ValidateWithPath(path string) error
ValidateWithPath validates the BrushProperty_type and its children, prefixing error messages with path
type BrushRasterOp_type byte
const (
BrushRasterOp_typeUnset BrushRasterOp_type = 0
BrushRasterOp_typeNoOperation BrushRasterOp_type = 1
BrushRasterOp_typeCopyPen BrushRasterOp_type = 2
BrushRasterOp_typeMaskPen BrushRasterOp_type = 3
)
func (m BrushRasterOp_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e BrushRasterOp_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m BrushRasterOp_type) String() string
func (m *BrushRasterOp_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *BrushRasterOp_type) UnmarshalXMLAttr(attr xml.Attr) error
func (m BrushRasterOp_type) Validate() error
func (m BrushRasterOp_type) ValidateWithPath(path string) error
type BrushTip_type byte
const (
BrushTip_typeUnset BrushTip_type = 0
BrushTip_typeEllipse BrushTip_type = 1
BrushTip_typeRectangle BrushTip_type = 2
BrushTip_typeDrop BrushTip_type = 3
)
func (m BrushTip_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e BrushTip_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m BrushTip_type) String() string
func (m *BrushTip_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *BrushTip_type) UnmarshalXMLAttr(attr xml.Attr) error
func (m BrushTip_type) Validate() error
func (m BrushTip_type) ValidateWithPath(path string) error
type Brush_type struct {
IdAttr *string
BrushRefAttr *string
BrushProperty []*BrushProperty_type
Annotation []*Annotation_type
AnnotationXML []*AnnotationXML_type
}
func NewBrush_type() *Brush_type
func (m *Brush_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Brush_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Brush_type) Validate() error
Validate validates the Brush_type and its children
func (m *Brush_type) ValidateWithPath(path string) error
ValidateWithPath validates the Brush_type and its children, prefixing error messages with path
type CanvasTransform_type struct {
IdAttr *string
InvertibleAttr *bool
Mapping *Mapping_type
MMapping *Mapping_type
}
func NewCanvasTransform_type() *CanvasTransform_type
func (m *CanvasTransform_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CanvasTransform_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CanvasTransform_type) Validate() error
Validate validates the CanvasTransform_type and its children
func (m *CanvasTransform_type) ValidateWithPath(path string) error
ValidateWithPath validates the CanvasTransform_type and its children, prefixing error messages with path
type Canvas_type struct {
IdAttr *string
TraceFormatRefAttr *string
TraceFormat *TraceFormat_type
}
func NewCanvas_type() *Canvas_type
func (m *Canvas_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Canvas_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Canvas_type) Validate() error
Validate validates the Canvas_type and its children
func (m *Canvas_type) ValidateWithPath(path string) error
ValidateWithPath validates the Canvas_type and its children, prefixing error messages with path
ChannelName_type is a union type
type ChannelName_type struct {
StandardChannelName_type StandardChannelName_type
UserChannelName_type *string
}
func ParseUnionChannelName_type(s string) (ChannelName_type, error)
func (m ChannelName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m ChannelName_type) String() string
func (m *ChannelName_type) Validate() error
func (m *ChannelName_type) ValidateWithPath(path string) error
type ChannelProperties_type struct {
// http://www.w3.org/TR/InkML/#channelProperty
ChannelProperty []unioffice.XSDAny
}
func NewChannelProperties_type() *ChannelProperties_type
func (m *ChannelProperties_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *ChannelProperties_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *ChannelProperties_type) Validate() error
Validate validates the ChannelProperties_type and its children
func (m *ChannelProperties_type) ValidateWithPath(path string) error
ValidateWithPath validates the ChannelProperties_type and its children, prefixing error messages with path
ChannelPropertyName_type is a union type
type ChannelPropertyName_type struct {
StandardChannelPropertyName_type StandardChannelPropertyName_type
UserChannelPropertyName_type *string
}
func ParseUnionChannelPropertyName_type(s string) (ChannelPropertyName_type, error)
func (m ChannelPropertyName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m ChannelPropertyName_type) String() string
func (m *ChannelPropertyName_type) Validate() error
func (m *ChannelPropertyName_type) ValidateWithPath(path string) error
type Channel_type struct {
IdAttr *string
NameAttr ChannelName_type
TypeAttr *string
DefaultAttr *DefaultAttr
MinAttr *float64
MaxAttr *float64
OrientationAttr *string
RespectToAttr *string
UnitsAttr *Units_type
Mapping *Mapping_type
}
func NewChannel_type() *Channel_type
func (m *Channel_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Channel_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Channel_type) Validate() error
Validate validates the Channel_type and its children
func (m *Channel_type) ValidateWithPath(path string) error
ValidateWithPath validates the Channel_type and its children, prefixing error messages with path
type Context_type struct {
IdAttr *string
ContextRefAttr *string
CanvasRefAttr *string
CanvasTransformRefAttr *string
TraceFormatRefAttr *string
InkSourceRefAttr *string
BrushRefAttr *string
TimestampRefAttr *string
Canvas *Canvas_type
CanvasTransform *CanvasTransform_type
TraceFormat *TraceFormat_type
InkSource *InkSource_type
Brush *Brush_type
Timestamp *Timestamp_type
}
func NewContext_type() *Context_type
func (m *Context_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Context_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Context_type) Validate() error
Validate validates the Context_type and its children
func (m *Context_type) ValidateWithPath(path string) error
ValidateWithPath validates the Context_type and its children, prefixing error messages with path
type ContinuationAttr byte
const (
ContinuationAttrBegin ContinuationAttr = 0
ContinuationAttrEnd ContinuationAttr = 1
ContinuationAttrMiddle ContinuationAttr = 2
)
func (m ContinuationAttr) String() string
func (m ContinuationAttr) Validate() error
func (m ContinuationAttr) ValidateWithPath(path string) error
DefaultAttr is a union type
type DefaultAttr struct {
Float64 *float64
BooleanStr_type BooleanStr_type
}
func ParseUnionDefaultAttr(s string) (DefaultAttr, error)
func (m DefaultAttr) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m DefaultAttr) String() string
func (m *DefaultAttr) Validate() error
func (m *DefaultAttr) ValidateWithPath(path string) error
type Definitions_type struct {
TypeChoice []*Definitions_typeChoice
}
func NewDefinitions_type() *Definitions_type
func (m *Definitions_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Definitions_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Definitions_type) Validate() error
Validate validates the Definitions_type and its children
func (m *Definitions_type) ValidateWithPath(path string) error
ValidateWithPath validates the Definitions_type and its children, prefixing error messages with path
type Definitions_typeChoice struct {
Brush *Brush_type
Canvas *Canvas_type
CanvasTransform *CanvasTransform_type
Context *Context_type
InkSource *InkSource_type
Mapping *Mapping_type
Timestamp *Timestamp_type
Trace *Trace_type
TraceFormat *TraceFormat_type
TraceGroup *TraceGroup_type
TraceView *TraceView_type
}
func NewDefinitions_typeChoice() *Definitions_typeChoice
func (m *Definitions_typeChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Definitions_typeChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Definitions_typeChoice) Validate() error
Validate validates the Definitions_typeChoice and its children
func (m *Definitions_typeChoice) ValidateWithPath(path string) error
ValidateWithPath validates the Definitions_typeChoice and its children, prefixing error messages with path
type Ink struct {
Ink_type
}
func NewInk() *Ink
func (m *Ink) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Ink) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Ink) Validate() error
Validate validates the Ink and its children
func (m *Ink) ValidateWithPath(path string) error
ValidateWithPath validates the Ink and its children, prefixing error messages with path
type InkSource_type struct {
IdAttr string
ManufacturerAttr *string
ModelAttr *string
SerialNoAttr *string
SpecificationRefAttr *string
DescriptionAttr *string
TraceFormat *TraceFormat_type
SampleRate *SampleRate_type
Latency *Latency_type
ActiveArea *ActiveArea_type
SourceProperty []*SourceProperty_type
ChannelProperties *ChannelProperties_type
}
func NewInkSource_type() *InkSource_type
func (m *InkSource_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *InkSource_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *InkSource_type) Validate() error
Validate validates the InkSource_type and its children
func (m *InkSource_type) ValidateWithPath(path string) error
ValidateWithPath validates the InkSource_type and its children, prefixing error messages with path
type Ink_type struct {
DocumentIDAttr *string
TypeChoice []*Ink_typeChoice
}
func NewInk_type() *Ink_type
func (m *Ink_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Ink_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Ink_type) Validate() error
Validate validates the Ink_type and its children
func (m *Ink_type) ValidateWithPath(path string) error
ValidateWithPath validates the Ink_type and its children, prefixing error messages with path
type Ink_typeChoice struct {
Definitions []*Definitions_type
Context []*Context_type
Trace []*Trace_type
TraceGroup []*TraceGroup_type
TraceView []*TraceView_type
Annotation []*Annotation_type
AnnotationXML []*AnnotationXML_type
}
func NewInk_typeChoice() *Ink_typeChoice
func (m *Ink_typeChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Ink_typeChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Ink_typeChoice) Validate() error
Validate validates the Ink_typeChoice and its children
func (m *Ink_typeChoice) ValidateWithPath(path string) error
ValidateWithPath validates the Ink_typeChoice and its children, prefixing error messages with path
type IntermittentChannels_type struct {
Channel []*Channel_type
}
func NewIntermittentChannels_type() *IntermittentChannels_type
func (m *IntermittentChannels_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *IntermittentChannels_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *IntermittentChannels_type) Validate() error
Validate validates the IntermittentChannels_type and its children
func (m *IntermittentChannels_type) ValidateWithPath(path string) error
ValidateWithPath validates the IntermittentChannels_type and its children, prefixing error messages with path
type InterpolationAttr byte
const (
InterpolationAttrFloor InterpolationAttr = 0
InterpolationAttrMiddle InterpolationAttr = 1
InterpolationAttrCeiling InterpolationAttr = 2
InterpolationAttrLinear InterpolationAttr = 3
InterpolationAttrCubic InterpolationAttr = 4
)
func (m InterpolationAttr) String() string
func (m InterpolationAttr) Validate() error
func (m InterpolationAttr) ValidateWithPath(path string) error
type Latency_type struct {
ValueAttr float64
}
func NewLatency_type() *Latency_type
func (m *Latency_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Latency_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Latency_type) Validate() error
Validate validates the Latency_type and its children
func (m *Latency_type) ValidateWithPath(path string) error
ValidateWithPath validates the Latency_type and its children, prefixing error messages with path
type Mapping_type struct {
IdAttr *string
TypeAttr *string
MappingRefAttr *string
}
func NewMapping_type() *Mapping_type
func (m *Mapping_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Mapping_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Mapping_type) Validate() error
Validate validates the Mapping_type and its children
func (m *Mapping_type) ValidateWithPath(path string) error
ValidateWithPath validates the Mapping_type and its children, prefixing error messages with path
type OrientationAttr byte
const (
OrientationAttr_ve OrientationAttr = 0
OrientationAttr_ve_ OrientationAttr = 1
)
func (m OrientationAttr) String() string
func (m OrientationAttr) Validate() error
func (m OrientationAttr) ValidateWithPath(path string) error
type SampleRate_type struct {
UniformAttr *bool
ValueAttr float64
}
func NewSampleRate_type() *SampleRate_type
func (m *SampleRate_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *SampleRate_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *SampleRate_type) Validate() error
Validate validates the SampleRate_type and its children
func (m *SampleRate_type) ValidateWithPath(path string) error
ValidateWithPath validates the SampleRate_type and its children, prefixing error messages with path
type SourceProperty_type struct {
NameAttr string
ValueAttr float64
UnitsAttr *Units_type
}
func NewSourceProperty_type() *SourceProperty_type
func (m *SourceProperty_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *SourceProperty_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *SourceProperty_type) Validate() error
Validate validates the SourceProperty_type and its children
func (m *SourceProperty_type) ValidateWithPath(path string) error
ValidateWithPath validates the SourceProperty_type and its children, prefixing error messages with path
type StandardBrushPropertyName_type byte
const (
StandardBrushPropertyName_typeUnset StandardBrushPropertyName_type = 0
StandardBrushPropertyName_typeWidth StandardBrushPropertyName_type = 1
StandardBrushPropertyName_typeHeight StandardBrushPropertyName_type = 2
StandardBrushPropertyName_typeColor StandardBrushPropertyName_type = 3
StandardBrushPropertyName_typeTransparency StandardBrushPropertyName_type = 4
StandardBrushPropertyName_typeTip StandardBrushPropertyName_type = 5
StandardBrushPropertyName_typeRasterOp StandardBrushPropertyName_type = 6
StandardBrushPropertyName_typeAntiAliased StandardBrushPropertyName_type = 7
StandardBrushPropertyName_typeFitToCurve StandardBrushPropertyName_type = 8
StandardBrushPropertyName_typeIgnorePressure StandardBrushPropertyName_type = 9
)
func (m StandardBrushPropertyName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e StandardBrushPropertyName_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m StandardBrushPropertyName_type) String() string
func (m *StandardBrushPropertyName_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *StandardBrushPropertyName_type) UnmarshalXMLAttr(attr xml.Attr) error
func (m StandardBrushPropertyName_type) Validate() error
func (m StandardBrushPropertyName_type) ValidateWithPath(path string) error
type StandardChannelName_type byte
const (
StandardChannelName_typeUnset StandardChannelName_type = 0
StandardChannelName_typeX StandardChannelName_type = 1
StandardChannelName_typeY StandardChannelName_type = 2
StandardChannelName_typeZ StandardChannelName_type = 3
StandardChannelName_typeF StandardChannelName_type = 4
StandardChannelName_typeS StandardChannelName_type = 5
StandardChannelName_typeB1 StandardChannelName_type = 6
StandardChannelName_typeB2 StandardChannelName_type = 7
StandardChannelName_typeB3 StandardChannelName_type = 8
StandardChannelName_typeB4 StandardChannelName_type = 9
StandardChannelName_typeOTx StandardChannelName_type = 10
StandardChannelName_typeOTy StandardChannelName_type = 11
StandardChannelName_typeOA StandardChannelName_type = 12
StandardChannelName_typeOE StandardChannelName_type = 13
StandardChannelName_typeOR StandardChannelName_type = 14
StandardChannelName_typeC StandardChannelName_type = 15
StandardChannelName_typeCR StandardChannelName_type = 16
StandardChannelName_typeCG StandardChannelName_type = 17
StandardChannelName_typeCB StandardChannelName_type = 18
StandardChannelName_typeCC StandardChannelName_type = 19
StandardChannelName_typeCM StandardChannelName_type = 20
StandardChannelName_typeCY StandardChannelName_type = 21
StandardChannelName_typeCK StandardChannelName_type = 22
StandardChannelName_typeA StandardChannelName_type = 23
StandardChannelName_typeW StandardChannelName_type = 24
StandardChannelName_typeBW StandardChannelName_type = 25
StandardChannelName_typeBH StandardChannelName_type = 26
StandardChannelName_typeT StandardChannelName_type = 27
)
func (m StandardChannelName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e StandardChannelName_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m StandardChannelName_type) String() string
func (m *StandardChannelName_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *StandardChannelName_type) UnmarshalXMLAttr(attr xml.Attr) error
func (m StandardChannelName_type) Validate() error
func (m StandardChannelName_type) ValidateWithPath(path string) error
type StandardChannelPropertyName_type byte
const (
StandardChannelPropertyName_typeUnset StandardChannelPropertyName_type = 0
StandardChannelPropertyName_typeThreshold StandardChannelPropertyName_type = 1
StandardChannelPropertyName_typeResolution StandardChannelPropertyName_type = 2
StandardChannelPropertyName_typeQuantization StandardChannelPropertyName_type = 3
StandardChannelPropertyName_typeNoise StandardChannelPropertyName_type = 4
StandardChannelPropertyName_typeAccuracy StandardChannelPropertyName_type = 5
StandardChannelPropertyName_typeCrossCoupling StandardChannelPropertyName_type = 6
StandardChannelPropertyName_typeSkew StandardChannelPropertyName_type = 7
StandardChannelPropertyName_typeMinBandwidth StandardChannelPropertyName_type = 8
StandardChannelPropertyName_typePeakRate StandardChannelPropertyName_type = 9
StandardChannelPropertyName_typeDistortion StandardChannelPropertyName_type = 10
)
func (m StandardChannelPropertyName_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e StandardChannelPropertyName_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m StandardChannelPropertyName_type) String() string
func (m *StandardChannelPropertyName_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *StandardChannelPropertyName_type) UnmarshalXMLAttr(attr xml.Attr) error
func (m StandardChannelPropertyName_type) Validate() error
func (m StandardChannelPropertyName_type) ValidateWithPath(path string) error
type StandardUnits_type byte
const (
StandardUnits_typeUnset StandardUnits_type = 0
StandardUnits_typeM StandardUnits_type = 1
StandardUnits_typeCm StandardUnits_type = 2
StandardUnits_typeMm StandardUnits_type = 3
StandardUnits_typeIn StandardUnits_type = 4
StandardUnits_typePt StandardUnits_type = 5
StandardUnits_typePc StandardUnits_type = 6
StandardUnits_typeEm StandardUnits_type = 7
StandardUnits_typeEx StandardUnits_type = 8
StandardUnits_typeS StandardUnits_type = 9
StandardUnits_typeMs StandardUnits_type = 10
StandardUnits_typeKg StandardUnits_type = 11
StandardUnits_typeG StandardUnits_type = 12
StandardUnits_typeMg StandardUnits_type = 13
StandardUnits_typeN StandardUnits_type = 14
StandardUnits_typeDeg StandardUnits_type = 15
StandardUnits_typeRad StandardUnits_type = 16
StandardUnits_type_ StandardUnits_type = 17
StandardUnits_typeDev StandardUnits_type = 18
StandardUnits_type1M StandardUnits_type = 19
StandardUnits_type1Cm StandardUnits_type = 20
StandardUnits_type1Mm StandardUnits_type = 21
StandardUnits_type1In StandardUnits_type = 22
StandardUnits_type1Pt StandardUnits_type = 23
StandardUnits_type1Pc StandardUnits_type = 24
StandardUnits_type1Em StandardUnits_type = 25
StandardUnits_type1Ex StandardUnits_type = 26
StandardUnits_type1S StandardUnits_type = 27
StandardUnits_type1Ms StandardUnits_type = 28
StandardUnits_type1Kg StandardUnits_type = 29
StandardUnits_type1G StandardUnits_type = 30
StandardUnits_type1Mg StandardUnits_type = 31
StandardUnits_type1Lb StandardUnits_type = 32
StandardUnits_type1N StandardUnits_type = 33
StandardUnits_type1Deg StandardUnits_type = 34
StandardUnits_type1Rad StandardUnits_type = 35
StandardUnits_type1Dev StandardUnits_type = 36
StandardUnits_typeMS StandardUnits_type = 37
StandardUnits_typeCmS StandardUnits_type = 38
StandardUnits_typeMmS StandardUnits_type = 39
StandardUnits_typeMmDeg StandardUnits_type = 40
StandardUnits_typeMmRad StandardUnits_type = 41
)
func (m StandardUnits_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e StandardUnits_type) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m StandardUnits_type) String() string
func (m *StandardUnits_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *StandardUnits_type) UnmarshalXMLAttr(attr xml.Attr) error
func (m StandardUnits_type) Validate() error
func (m StandardUnits_type) ValidateWithPath(path string) error
type Table_type struct {
IdAttr *string
ApplyAttr *string
InterpolationAttr *string
Content string
}
func NewTable_type() *Table_type
func (m *Table_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Table_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Table_type) Validate() error
Validate validates the Table_type and its children
func (m *Table_type) ValidateWithPath(path string) error
ValidateWithPath validates the Table_type and its children, prefixing error messages with path
type Timestamp_type struct {
IdAttr string
TimeAttr *uint64
TimestampRefAttr *string
TimeStringAttr *time.Time
TimeOffsetAttr *uint64
}
func NewTimestamp_type() *Timestamp_type
func (m *Timestamp_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Timestamp_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Timestamp_type) Validate() error
Validate validates the Timestamp_type and its children
func (m *Timestamp_type) ValidateWithPath(path string) error
ValidateWithPath validates the Timestamp_type and its children, prefixing error messages with path
type TraceFormat_type struct {
IdAttr *string
Channel []*Channel_type
IntermittentChannels *IntermittentChannels_type
}
func NewTraceFormat_type() *TraceFormat_type
func (m *TraceFormat_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *TraceFormat_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *TraceFormat_type) Validate() error
Validate validates the TraceFormat_type and its children
func (m *TraceFormat_type) ValidateWithPath(path string) error
ValidateWithPath validates the TraceFormat_type and its children, prefixing error messages with path
type TraceGroup_type struct {
IdAttr *string
ContextRefAttr *string
BrushRefAttr *string
Trace []*Trace_type
TraceGroup []*TraceGroup_type
TraceView []*TraceView_type
Annotation []*Annotation_type
AnnotationXML []*AnnotationXML_type
}
func NewTraceGroup_type() *TraceGroup_type
func (m *TraceGroup_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *TraceGroup_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *TraceGroup_type) Validate() error
Validate validates the TraceGroup_type and its children
func (m *TraceGroup_type) ValidateWithPath(path string) error
ValidateWithPath validates the TraceGroup_type and its children, prefixing error messages with path
type TraceView_type struct {
IdAttr *string
TraceDataRefAttr *string
FromAttr *string
ToAttr *string
}
func NewTraceView_type() *TraceView_type
func (m *TraceView_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *TraceView_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *TraceView_type) Validate() error
Validate validates the TraceView_type and its children
func (m *TraceView_type) ValidateWithPath(path string) error
ValidateWithPath validates the TraceView_type and its children, prefixing error messages with path
type Trace_type struct {
IdAttr string
TypeAttr *string
ContinuationAttr *string
PriorRefAttr *string
ContextRefAttr string
BrushRefAttr string
DurationAttr int64
TimeOffsetAttr int64
Content string
}
func NewTrace_type() *Trace_type
func (m *Trace_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Trace_type) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Trace_type) Validate() error
Validate validates the Trace_type and its children
func (m *Trace_type) ValidateWithPath(path string) error
ValidateWithPath validates the Trace_type and its children, prefixing error messages with path
type TypeAttr byte
const (
TypeAttrInteger TypeAttr = 0
TypeAttrDecimal TypeAttr = 1
TypeAttrDouble TypeAttr = 2
TypeAttrBoolean TypeAttr = 3
)
func (m TypeAttr) String() string
func (m TypeAttr) Validate() error
func (m TypeAttr) ValidateWithPath(path string) error
Units_type is a union type
type Units_type struct {
StandardUnits_type StandardUnits_type
UserUnits_type *string
}
func ParseUnionUnits_type(s string) (Units_type, error)
func (m Units_type) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m Units_type) String() string
func (m *Units_type) Validate() error
func (m *Units_type) ValidateWithPath(path string) error