API
Types
Functions
Base.getindex
Base.getindex
LegendDataTypes.getunits
LegendDataTypes.readdata
LegendDataTypes.setunits!
LegendDataTypes.writedata
Documentation
Base.getindex
— Method.getindex(input::AbstractLegendInput, key::AbstractString)
-getindex(input::AbstractLegendInput, key::AbstractString, idxs::AbstractVector)
Get object at key
from input.
Base.getindex
— Method.setindex!(output::AbstractLegendOutput, key::AbstractString)
-getindex(output::AbstractLegendOutput, key::AbstractString, idxs::AbstractVector)
Get object at key
from input.
LegendDataTypes.getunits
— Function.getunits(x)
Get the units of x, falls back to Unitful.unit(x)
if no specialized method is defined for the type of x
.
LEGEND I/O packages shoud add methods for the I/O-object types they handle.
LegendDataTypes.readdata
— Function.readdata(input, SomeDataType::Type)
Read a value of type SomeDataType
from input
.
LegendDataTypes.setunits!
— Function.setunits!(x)
Set the units of x.
LEGEND I/O packages will need to add methods for the I/O-object types they handle.
LegendDataTypes.writedata
— Function.readdata(input, x::SomeDataType)
Write a value x
to output
.