header

package
v0.0.0-...-f66e25d Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	REGX_REPRESENTATION_i, _ = regexp.Compile(`REPRESENTATION_([\d]+)`)
	REGX_LABEL_i, _          = regexp.Compile(`LABEL_([\d]+)`)
	REGX_DEPEND_i, _         = regexp.Compile(`DEPEND_([\d]+)`)
)

Functions

func NewKV

func NewKV(k, v string) *readers.KeyVal

Types

type Attrs

type Attrs struct {
	// contains filtered or unexported fields
}

used for Global Attributes + Meta and Var (see readers.KeyVal string -> []string)

func NewAttrs

func NewAttrs() *Attrs

func (*Attrs) Map

func (a *Attrs) Map() map[string][]string

type CefHeaderData

type CefHeaderData struct {
	// contains filtered or unexported fields
}

func NewCefHeaderData

func NewCefHeaderData() (h *CefHeaderData)

func (*CefHeaderData) Add_kv

func (h *CefHeaderData) Add_kv(kv *readers.KeyVal) (err error)

func (*CefHeaderData) Attr_Checks

func (h *CefHeaderData) Attr_Checks() (err error)

func (*CefHeaderData) Attrs

func (h *CefHeaderData) Attrs() *Attrs

func (*CefHeaderData) Checks

func (h *CefHeaderData) Checks() (err error)

func (*CefHeaderData) Data_Sizes_and_Variable_Type_Checks

func (h *CefHeaderData) Data_Sizes_and_Variable_Type_Checks(a1 Attrs) (err error)

func (*CefHeaderData) Depend_N_Checks

func (h *CefHeaderData) Depend_N_Checks(a1 Attrs) (err error)

func (*CefHeaderData) Dump

func (h *CefHeaderData) Dump() (err error)

func (*CefHeaderData) Get_FILE_TIME_SPAN

func (h *CefHeaderData) Get_FILE_TIME_SPAN() (t0, t1 time.Time, err error)

func (*CefHeaderData) Meta

func (h *CefHeaderData) Meta() *Meta

func (*CefHeaderData) Meta_Checks

func (h *CefHeaderData) Meta_Checks() (err error)

func (*CefHeaderData) NumerIc_or_Variable_Checks

func (h *CefHeaderData) NumerIc_or_Variable_Checks(a1 Attrs) (err error)

Checks DELTA_PLUS, DELTA_MINUS, ERROR_PLUS, ERROR_MINUS, QUALITY

func (*CefHeaderData) Numeric_Or_Variable

func (h *CefHeaderData) Numeric_Or_Variable(k string, a1 Attrs) (err error)

Checks DELTA_PLUS, DELTA_MINUS, ERROR_PLUS, ERROR_MINUS, QUALITY

func (*CefHeaderData) Parameter_Type_and_Quality_Checks

func (h *CefHeaderData) Parameter_Type_and_Quality_Checks(a1 Attrs) (err error)

1. QUALITY FLAG is commented out on a PARAMETER_TYPE = "Data". This is not flagged as an error. The rule is

If PARAMETER_TYPE = "Data"  QUALITY is required.
If PARAMETER_TYPE = "Support_Data" QUALITY is not required.`

func (*CefHeaderData) Var_Checks

func (h *CefHeaderData) Var_Checks() (err error)

func (*CefHeaderData) Vars

func (h *CefHeaderData) Vars() *Vars

type Meta

type Meta struct {
	// contains filtered or unexported fields
}

func NewMeta

func NewMeta() *Meta

type State

type State int
const (
	ATTR State = iota
	META
	VAR
	ERROR
)

type Vars

type Vars struct {
	// contains filtered or unexported fields
}

func NewVars

func NewVars() *Vars

func (*Vars) List

func (v *Vars) List() []Attrs

func (*Vars) Map

func (v *Vars) Map() map[string]Attrs

Jump to

Keyboard shortcuts

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