mir.ion.value

Public Imports

mir.ion.type_code
public import mir.ion.type_code;
Undocumented in source.
mir.ion.exception
public import mir.ion.exception;
Undocumented in source.

Members

Aliases

IonType
alias IonType(IonTypeCode code : IonTypeCode.null_) = IonNull
alias IonType(IonTypeCode code : IonTypeCode.bool_) = bool
alias IonType(IonTypeCode code : IonTypeCode.uInt) = IonUInt
alias IonType(IonTypeCode code : IonTypeCode.nInt) = IonNInt
alias IonType(IonTypeCode code : IonTypeCode.float_) = IonFloat
alias IonType(IonTypeCode code : IonTypeCode.decimal) = IonDecimal
alias IonType(IonTypeCode code : IonTypeCode.timestamp) = IonTimestamp
alias IonType(IonTypeCode code : IonTypeCode.symbol) = IonSymbolID
alias IonType(IonTypeCode code : IonTypeCode.string) = const(char)[]
alias IonType(IonTypeCode code : IonTypeCode.clob) = Clob
alias IonType(IonTypeCode code : IonTypeCode.blob) = Blob
alias IonType(IonTypeCode code : IonTypeCode.list) = IonList
alias IonType(IonTypeCode code : IonTypeCode.sexp) = IonSexp
alias IonType(IonTypeCode code : IonTypeCode.struct_) = IonStruct
alias IonType(IonTypeCode code : IonTypeCode.annotations) = IonAnnotationWrapper

Aliases the IonTypeCode to the corresponding Ion Typed Value type.

IonTypeCodeOf
alias IonTypeCodeOf(T : IonNull) = IonTypeCode.null_
alias IonTypeCodeOf(T : bool) = IonTypeCode.bool_
alias IonTypeCodeOf(T : IonUInt) = IonTypeCode.uInt
alias IonTypeCodeOf(T : IonNInt) = IonTypeCode.nInt
alias IonTypeCodeOf(T : IonFloat) = IonTypeCode.float_
alias IonTypeCodeOf(T : IonDecimal) = IonTypeCode.decimal
alias IonTypeCodeOf(T : IonTimestamp) = IonTypeCode.timestamp
alias IonTypeCodeOf(T : IonSymbolID) = IonTypeCode.symbol
alias IonTypeCodeOf(T : const(char)[]) = IonTypeCode.string
alias IonTypeCodeOf(T : Clob) = IonTypeCode.clob
alias IonTypeCodeOf(T : Blob) = IonTypeCode.blob
alias IonTypeCodeOf(T : IonList) = IonTypeCode.list
alias IonTypeCodeOf(T : IonSexp) = IonTypeCode.sexp
alias IonTypeCodeOf(T : IonStruct) = IonTypeCode.struct_
alias IonTypeCodeOf(T : IonAnnotationWrapper) = IonTypeCode.annotations

Aliases the type to the corresponding IonTypeCode.

Enums

isIonType
eponymoustemplate isIonType(T)
eponymoustemplate isIonType(T : IonNull)
eponymoustemplate isIonType(T : bool)
eponymoustemplate isIonType(T : IonUInt)
eponymoustemplate isIonType(T : IonNInt)
eponymoustemplate isIonType(T : IonFloat)
eponymoustemplate isIonType(T : IonDecimal)
eponymoustemplate isIonType(T : IonTimestamp)
eponymoustemplate isIonType(T : IonSymbolID)
eponymoustemplate isIonType(T : const(char)[])
eponymoustemplate isIonType(T : Clob)
eponymoustemplate isIonType(T : Blob)
eponymoustemplate isIonType(T : IonList)
eponymoustemplate isIonType(T : IonSexp)
eponymoustemplate isIonType(T : IonStruct)
eponymoustemplate isIonType(T : IonAnnotationWrapper)

A template to check if the type is one of Ion Typed Value types.

Functions

parseValue
IonDescribedValue parseValue(const(ubyte)[] data, IonErrorCode error)
Undocumented in source. Be warned that the author may not have intended to support it.
parseVarUInt
IonErrorCode parseVarUInt(const(ubyte)[] data, U result)
Undocumented in source. Be warned that the author may not have intended to support it.
parseVersion
IonErrorCode parseVersion(const(ubyte)[] data, IonVersionMarker versionMarker)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

IonAnnotationWrapper
struct IonAnnotationWrapper

Ion Annotation Wrapper

IonAnnotations
struct IonAnnotations

List of annotations represented as symbol IDs.

IonDecimal
struct IonDecimal

Ion described decimal number.

IonDescribedDecimal
struct IonDescribedDecimal
IonDescribedValue
struct IonDescribedValue

Ion Described Value stores type descriptor and rerpresentation.

IonDescriptor
struct IonDescriptor

Ion Type Descriptor

IonElement
struct IonElement

$(LERF IonDescribedValue) and IonErrorCode pair used in the IonList and IonSexp/

IonElementWithId
struct IonElementWithId

$(LERF IonDescribedValue), IonErrorCode and symbol id triplet used in the IonList and IonSexp.

IonFloat
struct IonFloat

Ion floating point number.

IonInt
struct IonInt

Ion signed integer number.

IonIntField
struct IonIntField

Ion integer field.

IonList
struct IonList

Ion List (array)

IonNInt
struct IonNInt

Ion negative integer number.

IonNull
struct IonNull

Ion null value.

IonSexp
struct IonSexp

Ion Sexp (symbol expression, array)

IonStruct
struct IonStruct

Ion struct (object)

IonStructWithSymbols
struct IonStructWithSymbols

Ion struct (object) with a symbol table

IonSymbolID
struct IonSymbolID

Ion Symbol Id

IonTimestamp
struct IonTimestamp

Ion Timestamp

IonUInt
struct IonUInt

Ion non-negative integer number.

IonValue
struct IonValue

Ion Value

IonVersionMarker
struct IonVersionMarker

Ion Version Marker

Meta