Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Field ¶
type Field struct { DefNum string Name string CCName string Array string Scale string Offset string Units string TypeName string FType types.Fit Length string Components []Component Subfields []*Field // Not set for subfields RefFieldName []string // Only set for subfields RefFieldValue []string // Only set for subfields Comment string Example string // contains filtered or unexported fields }
func (*Field) HasComment ¶ added in v0.16.0
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator(sdkMajVer, sdkMinVer int, workbookData []byte, opts ...GeneratorOption) (*Generator, error)
func (*Generator) GenerateProfile ¶
type GeneratorOption ¶ added in v0.16.0
type GeneratorOption func(*generatorOptions)
func WithDebugOutput ¶ added in v0.16.0
func WithDebugOutput() GeneratorOption
func WithGenerationTimestamp ¶ added in v0.16.0
func WithGenerationTimestamp(gt bool) GeneratorOption
func WithHandleHeartRateSourceTypeQuirk ¶ added in v0.16.0
func WithHandleHeartRateSourceTypeQuirk() GeneratorOption
func WithLogger ¶ added in v0.16.0
func WithLogger(logger *log.Logger) GeneratorOption
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func NewMsgParser ¶
func NewTypeParser ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewMsgScanner ¶
func NewTypeScanner ¶
type Type ¶
type Type struct { Name string OrigName string BaseType types.Base Values []ValueTriple // contains filtered or unexported fields }
type ValueTriple ¶
type ValueTriple struct {
Name, Value, Comment string
}
Click to show internal directories.
Click to hide internal directories.