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) UnmarshalXML ¶
func (*Array) Validate ¶
Validate validates the Array and its children
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 (*CT_Array) MarshalXML ¶
func (*CT_Array) UnmarshalXML ¶
func (*CT_Array) Validate ¶
Validate validates the CT_Array and its children
type CT_Empty ¶
type CT_Empty struct {
}
func (*CT_Empty) MarshalXML ¶
func (*CT_Empty) UnmarshalXML ¶
func (*CT_Empty) Validate ¶
Validate validates the CT_Empty and its children
type CT_Null ¶
type CT_Null struct {
}
func (*CT_Null) MarshalXML ¶
func (*CT_Null) UnmarshalXML ¶
func (*CT_Null) Validate ¶
Validate validates the CT_Null and its children
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 (*CT_Vector) MarshalXML ¶
func (*CT_Vector) UnmarshalXML ¶
func (*CT_Vector) Validate ¶
Validate validates the CT_Vector and its children
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) UnmarshalXML ¶
func (*Empty) Validate ¶
Validate validates the Empty and its children
type Null ¶
type Null struct {
CT_Null
}
func (*Null) UnmarshalXML ¶
func (*Null) Validate ¶
Validate validates the Null and its children
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 (*Variant) MarshalXML ¶
func (*Variant) UnmarshalXML ¶
func (*Variant) Validate ¶
Validate validates the Variant and its children
type Vector ¶
type Vector struct {
CT_Vector
}
func (*Vector) MarshalXML ¶
func (*Vector) UnmarshalXML ¶
func (*Vector) Validate ¶
Validate validates the Vector and its children
type Vstream ¶
type Vstream struct {
CT_Vstream
}
func (*Vstream) MarshalXML ¶
func (*Vstream) UnmarshalXML ¶
func (*Vstream) Validate ¶
Validate validates the Vstream and its children
Source Files
¶
- Array.go
- CT_Array.go
- CT_Empty.go
- CT_Null.go
- CT_Variant.go
- CT_Vector.go
- CT_Vstream.go
- Empty.go
- Null.go
- Variant.go
- Vector.go
- Vstream.go
- common.go