Documentation ¶
Index ¶
- Constants
- Variables
- type Array
- type CT_Array
- type CT_Empty
- type CT_Null
- type CT_Variant
- type CT_Vector
- type CT_Vstream
- type Empty
- type Null
- type ST_ArrayBaseType
- func (m ST_ArrayBaseType) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (e ST_ArrayBaseType) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
- func (m ST_ArrayBaseType) String() string
- func (m *ST_ArrayBaseType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
- func (e *ST_ArrayBaseType) UnmarshalXMLAttr(attr xml.Attr) error
- func (m ST_ArrayBaseType) Validate() error
- func (m ST_ArrayBaseType) ValidateWithPath(path string) error
- type ST_VectorBaseType
- func (m ST_VectorBaseType) MarshalXML(e *xml.Encoder, start xml.StartElement) error
- func (e ST_VectorBaseType) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
- func (m ST_VectorBaseType) String() string
- func (m *ST_VectorBaseType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
- func (e *ST_VectorBaseType) UnmarshalXMLAttr(attr xml.Attr) error
- func (m ST_VectorBaseType) Validate() error
- func (m ST_VectorBaseType) ValidateWithPath(path string) error
- type Variant
- type Vector
- type Vstream
Constants ¶
const ST_CyPattern = `\s*[0-9]*\.[0-9]{4}\s*`
const ST_ErrorPattern = `\s*0x[0-9A-Za-z]{8}\s*`
Variables ¶
var ST_CyPatternRe = regexp.MustCompile(ST_CyPattern)
var ST_ErrorPatternRe = regexp.MustCompile(ST_ErrorPattern)
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct {
CT_Array
}
func (*Array) MarshalXML ¶
func (*Array) UnmarshalXML ¶
func (*Array) ValidateWithPath ¶
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 (*CT_Array) UnmarshalXML ¶
func (*CT_Array) ValidateWithPath ¶
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 (*CT_Empty) UnmarshalXML ¶
func (*CT_Empty) ValidateWithPath ¶
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 (*CT_Null) UnmarshalXML ¶
func (*CT_Null) ValidateWithPath ¶
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 (*CT_Vector) UnmarshalXML ¶
func (*CT_Vector) ValidateWithPath ¶
ValidateWithPath validates the CT_Vector and its children, prefixing error messages with path
type CT_Vstream ¶
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 (*Empty) MarshalXML ¶
func (*Empty) UnmarshalXML ¶
func (*Empty) ValidateWithPath ¶
ValidateWithPath validates the Empty and its children, prefixing error messages with path
type Null ¶
type Null struct {
CT_Null
}
func (*Null) MarshalXML ¶
func (*Null) UnmarshalXML ¶
func (*Null) ValidateWithPath ¶
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 (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 (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 (*Variant) UnmarshalXML ¶
func (*Variant) ValidateWithPath ¶
ValidateWithPath validates the Variant and its children, prefixing error messages with path
type Vector ¶
type Vector struct {
CT_Vector
}
func (*Vector) MarshalXML ¶
func (*Vector) UnmarshalXML ¶
func (*Vector) ValidateWithPath ¶
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 (*Vstream) UnmarshalXML ¶
func (*Vstream) ValidateWithPath ¶
ValidateWithPath validates the Vstream and its children, prefixing error messages with path