Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseContainer ¶ added in v0.8.3
type Configuration ¶ added in v0.8.3
type Container ¶ added in v0.8.3
type Container struct { ID string `xml:"id,attr"` DocDescription string `xml:"doc_description"` Key int `xml:"key"` CreatedSchemaVersion int `xml:"created_schema_version"` DeletedSchemaVersion int `xml:"deleted_schema_version"` BaseContainer BaseContainer `xml:"base_container,omitempty"` Fields []Field `xml:"field"` }
type ContainerDefinition ¶
type ContainerDefinition struct { Name string Key int SchemaVersion int ExtVersion int Fields []FieldDefinition }
type Dictionary ¶ added in v0.6.4
type Dictionary struct {
// contains filtered or unexported fields
}
func New ¶ added in v0.6.4
func New() *Dictionary
func NewWithSchema ¶ added in v0.8.3
func NewWithSchema(matrixxSchema *Configuration, extensionSchema *Configuration) *Dictionary
func (*Dictionary) Add ¶ added in v0.6.4
func (d *Dictionary) Add(def *ContainerDefinition)
func (*Dictionary) Lookup ¶ added in v0.7.0
func (d *Dictionary) Lookup(key, schemaVersion, extVersion int) (*ContainerDefinition, error)
type Field ¶ added in v0.8.3
type Field struct { ID string `xml:"id,attr"` DocDescription string `xml:"doc_description"` Datatype string `xml:"datatype"` IsArray bool `xml:"array"` IsList bool `xml:"list"` StructID string `xml:"struct_id"` SubTypeReference string `xml:"subtype_reference"` CreatedSchemaVersion int `xml:"created_schema_version"` DeletedSchemaVersion int `xml:"deleted_schema_version"` }
type FieldDefinition ¶
Click to show internal directories.
Click to hide internal directories.