docPropsVTypes

package
v0.0.0-...-822f779 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ST_CyPattern = `\s*[0-9]*\.[0-9]{4}\s*`
View Source
const ST_ErrorPattern = `\s*0x[0-9A-Za-z]{8}\s*`

Variables

View Source
var ST_CyPatternRe = regexp.MustCompile(ST_CyPattern)
View Source
var ST_ErrorPatternRe = regexp.MustCompile(ST_ErrorPattern)

Functions

This section is empty.

Types

type Array

type Array struct {
	CT_Array
}

func NewArray

func NewArray() *Array

func (*Array) MarshalXML

func (m *Array) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*Array) UnmarshalXML

func (m *Array) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*Array) Validate

func (m *Array) Validate() error

Validate validates the Array and its children

func (*Array) ValidateWithPath

func (m *Array) ValidateWithPath(path string) error

ValidateWithPath validates the Array and its children, prefixing error messages with path

type CT_Array

type CT_Array struct {
	LBoundsAttr  int32
	UBoundsAttr  int32
	BaseTypeAttr ST_ArrayBaseType
	Variant      []*Variant
	I1           []int8
	I2           []int16
	I4           []int32
	Int          []int32
	Ui1          []uint8
	Ui2          []uint16
	Ui4          []uint32
	Uint         []uint32
	R4           []float32
	R8           []float64
	Decimal      []float64
	Bstr         []string
	Date         []time.Time
	Bool         []bool
	Error        []string
	Cy           []string
}

func NewCT_Array

func NewCT_Array() *CT_Array

func (*CT_Array) MarshalXML

func (m *CT_Array) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*CT_Array) UnmarshalXML

func (m *CT_Array) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*CT_Array) Validate

func (m *CT_Array) Validate() error

Validate validates the CT_Array and its children

func (*CT_Array) ValidateWithPath

func (m *CT_Array) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Array and its children, prefixing error messages with path

type CT_Empty

type CT_Empty struct {
}

func NewCT_Empty

func NewCT_Empty() *CT_Empty

func (*CT_Empty) MarshalXML

func (m *CT_Empty) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*CT_Empty) UnmarshalXML

func (m *CT_Empty) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*CT_Empty) Validate

func (m *CT_Empty) Validate() error

Validate validates the CT_Empty and its children

func (*CT_Empty) ValidateWithPath

func (m *CT_Empty) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Empty and its children, prefixing error messages with path

type CT_Null

type CT_Null struct {
}

func NewCT_Null

func NewCT_Null() *CT_Null

func (*CT_Null) MarshalXML

func (m *CT_Null) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*CT_Null) UnmarshalXML

func (m *CT_Null) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*CT_Null) Validate

func (m *CT_Null) Validate() error

Validate validates the CT_Null and its children

func (*CT_Null) ValidateWithPath

func (m *CT_Null) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Null and its children, prefixing error messages with path

type CT_Variant

type CT_Variant struct {
	Variant  *Variant
	Vector   *Vector
	Array    *Array
	Blob     *string
	Oblob    *string
	Empty    *Empty
	Null     *Null
	I1       *int8
	I2       *int16
	I4       *int32
	I8       *int64
	Int      *int32
	Ui1      *uint8
	Ui2      *uint16
	Ui4      *uint32
	Ui8      *uint64
	Uint     *uint32
	R4       *float32
	R8       *float64
	Decimal  *float64
	Lpstr    *string
	Lpwstr   *string
	Bstr     *string
	Date     *time.Time
	Filetime *time.Time
	Bool     *bool
	Cy       *string
	Error    *string
	Stream   *string
	Ostream  *string
	Storage  *string
	Ostorage *string
	Vstream  *Vstream
	Clsid    *string
}

func NewCT_Variant

func NewCT_Variant() *CT_Variant

func (*CT_Variant) MarshalXML

func (m *CT_Variant) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*CT_Variant) UnmarshalXML

func (m *CT_Variant) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*CT_Variant) Validate

func (m *CT_Variant) Validate() error

Validate validates the CT_Variant and its children

func (*CT_Variant) ValidateWithPath

func (m *CT_Variant) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Variant and its children, prefixing error messages with path

type CT_Vector

type CT_Vector struct {
	BaseTypeAttr ST_VectorBaseType
	SizeAttr     uint32
	Variant      []*Variant
	I1           []int8
	I2           []int16
	I4           []int32
	I8           []int64
	Ui1          []uint8
	Ui2          []uint16
	Ui4          []uint32
	Ui8          []uint64
	R4           []float32
	R8           []float64
	Lpstr        []string
	Lpwstr       []string
	Bstr         []string
	Date         []time.Time
	Filetime     []time.Time
	Bool         []bool
	Cy           []string
	Error        []string
	Clsid        []string
}

func NewCT_Vector

func NewCT_Vector() *CT_Vector

func (*CT_Vector) MarshalXML

func (m *CT_Vector) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*CT_Vector) UnmarshalXML

func (m *CT_Vector) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*CT_Vector) Validate

func (m *CT_Vector) Validate() error

Validate validates the CT_Vector and its children

func (*CT_Vector) ValidateWithPath

func (m *CT_Vector) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Vector and its children, prefixing error messages with path

type CT_Vstream

type CT_Vstream struct {
	VersionAttr string
	Content     string
}

func NewCT_Vstream

func NewCT_Vstream() *CT_Vstream

func (*CT_Vstream) MarshalXML

func (m *CT_Vstream) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*CT_Vstream) UnmarshalXML

func (m *CT_Vstream) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*CT_Vstream) Validate

func (m *CT_Vstream) Validate() error

Validate validates the CT_Vstream and its children

func (*CT_Vstream) ValidateWithPath

func (m *CT_Vstream) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Vstream and its children, prefixing error messages with path

type Empty

type Empty struct {
	CT_Empty
}

func NewEmpty

func NewEmpty() *Empty

func (*Empty) MarshalXML

func (m *Empty) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*Empty) UnmarshalXML

func (m *Empty) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*Empty) Validate

func (m *Empty) Validate() error

Validate validates the Empty and its children

func (*Empty) ValidateWithPath

func (m *Empty) ValidateWithPath(path string) error

ValidateWithPath validates the Empty and its children, prefixing error messages with path

type Null

type Null struct {
	CT_Null
}

func NewNull

func NewNull() *Null

func (*Null) MarshalXML

func (m *Null) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*Null) UnmarshalXML

func (m *Null) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*Null) Validate

func (m *Null) Validate() error

Validate validates the Null and its children

func (*Null) ValidateWithPath

func (m *Null) ValidateWithPath(path string) error

ValidateWithPath validates the Null and its children, prefixing error messages with path

type ST_ArrayBaseType

type ST_ArrayBaseType byte
const (
	ST_ArrayBaseTypeUnset   ST_ArrayBaseType = 0
	ST_ArrayBaseTypeVariant ST_ArrayBaseType = 1
	ST_ArrayBaseTypeI1      ST_ArrayBaseType = 2
	ST_ArrayBaseTypeI2      ST_ArrayBaseType = 3
	ST_ArrayBaseTypeI4      ST_ArrayBaseType = 4
	ST_ArrayBaseTypeInt     ST_ArrayBaseType = 5
	ST_ArrayBaseTypeUi1     ST_ArrayBaseType = 6
	ST_ArrayBaseTypeUi2     ST_ArrayBaseType = 7
	ST_ArrayBaseTypeUi4     ST_ArrayBaseType = 8
	ST_ArrayBaseTypeUint    ST_ArrayBaseType = 9
	ST_ArrayBaseTypeR4      ST_ArrayBaseType = 10
	ST_ArrayBaseTypeR8      ST_ArrayBaseType = 11
	ST_ArrayBaseTypeDecimal ST_ArrayBaseType = 12
	ST_ArrayBaseTypeBstr    ST_ArrayBaseType = 13
	ST_ArrayBaseTypeDate    ST_ArrayBaseType = 14
	ST_ArrayBaseTypeBool    ST_ArrayBaseType = 15
	ST_ArrayBaseTypeCy      ST_ArrayBaseType = 16
	ST_ArrayBaseTypeError   ST_ArrayBaseType = 17
)

func (ST_ArrayBaseType) MarshalXML

func (m ST_ArrayBaseType) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (ST_ArrayBaseType) MarshalXMLAttr

func (e ST_ArrayBaseType) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

func (ST_ArrayBaseType) String

func (m ST_ArrayBaseType) String() string

func (*ST_ArrayBaseType) UnmarshalXML

func (m *ST_ArrayBaseType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*ST_ArrayBaseType) UnmarshalXMLAttr

func (e *ST_ArrayBaseType) UnmarshalXMLAttr(attr xml.Attr) error

func (ST_ArrayBaseType) Validate

func (m ST_ArrayBaseType) Validate() error

func (ST_ArrayBaseType) ValidateWithPath

func (m ST_ArrayBaseType) ValidateWithPath(path string) error

type ST_VectorBaseType

type ST_VectorBaseType byte
const (
	ST_VectorBaseTypeUnset    ST_VectorBaseType = 0
	ST_VectorBaseTypeVariant  ST_VectorBaseType = 1
	ST_VectorBaseTypeI1       ST_VectorBaseType = 2
	ST_VectorBaseTypeI2       ST_VectorBaseType = 3
	ST_VectorBaseTypeI4       ST_VectorBaseType = 4
	ST_VectorBaseTypeI8       ST_VectorBaseType = 5
	ST_VectorBaseTypeUi1      ST_VectorBaseType = 6
	ST_VectorBaseTypeUi2      ST_VectorBaseType = 7
	ST_VectorBaseTypeUi4      ST_VectorBaseType = 8
	ST_VectorBaseTypeUi8      ST_VectorBaseType = 9
	ST_VectorBaseTypeR4       ST_VectorBaseType = 10
	ST_VectorBaseTypeR8       ST_VectorBaseType = 11
	ST_VectorBaseTypeLpstr    ST_VectorBaseType = 12
	ST_VectorBaseTypeLpwstr   ST_VectorBaseType = 13
	ST_VectorBaseTypeBstr     ST_VectorBaseType = 14
	ST_VectorBaseTypeDate     ST_VectorBaseType = 15
	ST_VectorBaseTypeFiletime ST_VectorBaseType = 16
	ST_VectorBaseTypeBool     ST_VectorBaseType = 17
	ST_VectorBaseTypeCy       ST_VectorBaseType = 18
	ST_VectorBaseTypeError    ST_VectorBaseType = 19
	ST_VectorBaseTypeClsid    ST_VectorBaseType = 20
)

func (ST_VectorBaseType) MarshalXML

func (m ST_VectorBaseType) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (ST_VectorBaseType) MarshalXMLAttr

func (e ST_VectorBaseType) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

func (ST_VectorBaseType) String

func (m ST_VectorBaseType) String() string

func (*ST_VectorBaseType) UnmarshalXML

func (m *ST_VectorBaseType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*ST_VectorBaseType) UnmarshalXMLAttr

func (e *ST_VectorBaseType) UnmarshalXMLAttr(attr xml.Attr) error

func (ST_VectorBaseType) Validate

func (m ST_VectorBaseType) Validate() error

func (ST_VectorBaseType) ValidateWithPath

func (m ST_VectorBaseType) ValidateWithPath(path string) error

type Variant

type Variant struct {
	CT_Variant
}

func NewVariant

func NewVariant() *Variant

func (*Variant) MarshalXML

func (m *Variant) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*Variant) UnmarshalXML

func (m *Variant) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*Variant) Validate

func (m *Variant) Validate() error

Validate validates the Variant and its children

func (*Variant) ValidateWithPath

func (m *Variant) ValidateWithPath(path string) error

ValidateWithPath validates the Variant and its children, prefixing error messages with path

type Vector

type Vector struct {
	CT_Vector
}

func NewVector

func NewVector() *Vector

func (*Vector) MarshalXML

func (m *Vector) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*Vector) UnmarshalXML

func (m *Vector) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*Vector) Validate

func (m *Vector) Validate() error

Validate validates the Vector and its children

func (*Vector) ValidateWithPath

func (m *Vector) ValidateWithPath(path string) error

ValidateWithPath validates the Vector and its children, prefixing error messages with path

type Vstream

type Vstream struct {
	CT_Vstream
}

func NewVstream

func NewVstream() *Vstream

func (*Vstream) MarshalXML

func (m *Vstream) MarshalXML(e *xml.Encoder, start xml.StartElement) error

func (*Vstream) UnmarshalXML

func (m *Vstream) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*Vstream) Validate

func (m *Vstream) Validate() error

Validate validates the Vstream and its children

func (*Vstream) ValidateWithPath

func (m *Vstream) ValidateWithPath(path string) error

ValidateWithPath validates the Vstream and its children, prefixing error messages with path

Jump to

Keyboard shortcuts

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