TimeLogHeader class

An element used exclusively in TLG-----.XML files to denote the binary format of Time records in the `TLG-----.BIN' files.

All attributes in the TLG-----.XML file with empty strings will have their value in the binary record, if the attribute has a value it will be used on all the records.

TimeLogHeader should only be set as TimeLog.header.

Available extensions
Annotations

Constructors

TimeLogHeader.new({required TimeType type, DateTime? start, TimeLogHeaderPosition? position, List<TimeLogHeaderDataLogValue>? dataLogValues})
Default constructor.
TimeLogHeader.fromXmlDocument(XmlDocument document)
Creates a TimeLogHeader from document.
factory
TimeLogHeader.fromXmlElement(XmlElement element)
Creates a TimeLogHeader from element.
factory

Properties

byteLength int
Number of bytes for one record in TimeLog.records.
no setter
copyWith → _$TimeLogHeaderCWProxy

Available on TimeLogHeader, provided by the $TimeLogHeaderCopyWith extension

Returns a callable class that can be used as follows: instanceOfTimeLogHeader.copyWith(...) or like so:instanceOfTimeLogHeader.copyWith.fieldName(...).
no setter
dataLogValues List<TimeLogHeaderDataLogValue>
A template for which DataLogValues' attributes are used in the log.
final
hashCode int
The hash code for this object.
no setterinherited
position TimeLogHeaderPosition?
A template for which Position attributes are used in the log.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start DateTime?
The starting time of the records, should be null.
final
type TimeType
Should equal TimeType.effective for this.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordToBytes(Time record) Uint8List
Converts the recordto bytes according to the read parameters.
toString() String
A string representation of this object.
inherited
toXmlDocument() XmlDocument
Get the XmlDocument representing this.
toXmlElement({Map<String, String?> namespaces = const {}}) XmlElement
Get the XmlElement representing this.

Operators

operator ==(Object other) bool
The equality operator.
inherited