Idris2Doc : Text.Molfile.SData

Text.Molfile.SData

(source)

Reexports

importpublic Data.Nat
importpublic Data.String
importpublic Data.Refined
importpublic Data.Refined.Integer
importpublic Data.Refined.String

Definitions

IsHeaderChar : Char->Bool
Totality: total
Visibility: public export
0IsHeader : String->Type
Totality: total
Visibility: public export
recordSDHeader : Type
  Header of a SDF data entry. This is put in angles (`<>`) in an SD file.

Totality: total
Visibility: public export
Constructor: 
SDH : (value : String) -> {auto0_ : IsHeadervalue} ->SDHeader

Projections:
0.prf : ({rec:0} : SDHeader) ->IsHeader (value{rec:0})
.value : SDHeader->String

Hints:
EqSDHeader
InterpolationSDHeader
OrdSDHeader
ShowSDHeader
.value : SDHeader->String
Totality: total
Visibility: public export
value : SDHeader->String
Totality: total
Visibility: public export
0.prf : ({rec:0} : SDHeader) ->IsHeader (value{rec:0})
Totality: total
Visibility: public export
0prf : ({rec:0} : SDHeader) ->IsHeader (value{rec:0})
Totality: total
Visibility: public export
readHeader : ByteString->SDHeader
Totality: total
Visibility: export
encodeHeader : String->MaybeSDHeader
  Encodes a value header by replacing spaces with underscores and
dropping some other invalid characters such as angles.

Totality: total
Visibility: export
0IsValue : String->Type
Totality: total
Visibility: public export
recordSDValue : Type
  Value of an SDF data entry. This follows after the header (see
`SDHeader`) and may span across several lines, each of which must not
be longer than 200 characters.

Totality: total
Visibility: public export
Constructor: 
SDV : (value : String) -> {auto0_ : IsValuevalue} ->SDValue

Projections:
0.prf : ({rec:0} : SDValue) ->IsValue (value{rec:0})
.value : SDValue->String

Hints:
EqSDValue
InterpolationSDValue
OrdSDValue
ShowSDValue
.value : SDValue->String
Totality: total
Visibility: public export
value : SDValue->String
Totality: total
Visibility: public export
0.prf : ({rec:0} : SDValue) ->IsValue (value{rec:0})
Totality: total
Visibility: public export
0prf : ({rec:0} : SDValue) ->IsValue (value{rec:0})
Totality: total
Visibility: public export
recordStructureData : Type
  A data entry in an SD file consisting of the data header and value.

Totality: total
Visibility: public export
Constructor: 
SD : SDHeader->SDValue->StructureData

Projections:
.header : StructureData->SDHeader
.value : StructureData->SDValue

Hints:
EqStructureData
ShowStructureData
.header : StructureData->SDHeader
Totality: total
Visibility: public export
header : StructureData->SDHeader
Totality: total
Visibility: public export
.value : StructureData->SDValue
Totality: total
Visibility: public export
value : StructureData->SDValue
Totality: total
Visibility: public export
encodeStructureData : String->String->MaybeStructureData
  Tries to convert a name-value pair to a piece of
SD-data.

While the values is refined as it is, we try to encode the
header in such a way that it does not contain any invalid
characters.

Totality: total
Visibility: export