hdf5-1.8.15: Haskell interface to the HDF5 scientific data storage library.

Safe Haskell | None
Language | Haskell2010

Bindings.HDF5.Datatype

# Documentation

data Datatype Source #

#### Instances

Instances details

Eq Datatype Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods (==) :: Datatype -> Datatype -> Bool Source # (/=) :: Datatype -> Datatype -> Bool Source #
HDFResultType Datatype Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods isError :: Datatype -> Bool Source #
FromHId Datatype Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods uncheckedFromHId :: HId_t -> Datatype Source #
HId Datatype Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods hid :: Datatype -> HId_t Source #
Object Datatype Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods staticObjectType :: Tagged Datatype (Maybe ObjectType) Source #

data Class Source #

Constructors

Integer |
Float |
Time |
String |
BitField |
Opaque |
Compound |
Reference |
Enum |
VLen |
Array |

#### Instances

Instances details

Bounded Class Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods minBound :: Class Source # maxBound :: Class Source #
Enum Class Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods succ :: Class -> Class Source # pred :: Class -> Class Source # toEnum :: Int -> Class Source # fromEnum :: Class -> Int Source # enumFrom :: Class -> [Class] Source # enumFromThen :: Class -> Class -> [Class] Source # enumFromTo :: Class -> Class -> [Class] Source # enumFromThenTo :: Class -> Class -> Class -> [Class] Source #
Read Class Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods readsPrec :: Int -> ReadS Class Source # readList :: ReadS [Class] Source # readPrec :: ReadPrec Class Source # readListPrec :: ReadPrec [Class] Source #
Show Class Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods showsPrec :: Int -> Class -> ShowS Source # show :: Class -> String Source # showList :: [Class] -> ShowS Source #
Eq Class Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods (==) :: Class -> Class -> Bool Source # (/=) :: Class -> Class -> Bool Source #
Ord Class Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods compare :: Class -> Class -> Ordering Source # (<) :: Class -> Class -> Bool Source # (<=) :: Class -> Class -> Bool Source # (>) :: Class -> Class -> Bool Source # (>=) :: Class -> Class -> Bool Source # max :: Class -> Class -> Class Source # min :: Class -> Class -> Class Source #

data CSet Source #

Constructors

ASCII |
Reserved2 |
Reserved3 |
Reserved4 |
Reserved5 |
Reserved6 |
Reserved7 |
Reserved8 |
Reserved9 |
Reserved10 |
Reserved11 |
Reserved12 |
Reserved13 |
Reserved14 |
Reserved15 |
UTF8 |

#### Instances

Instances details

Bounded CSet Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods minBound :: CSet Source # maxBound :: CSet Source #
Enum CSet Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods succ :: CSet -> CSet Source # pred :: CSet -> CSet Source # toEnum :: Int -> CSet Source # fromEnum :: CSet -> Int Source # enumFrom :: CSet -> [CSet] Source # enumFromThen :: CSet -> CSet -> [CSet] Source # enumFromTo :: CSet -> CSet -> [CSet] Source # enumFromThenTo :: CSet -> CSet -> CSet -> [CSet] Source #
Read CSet Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods readsPrec :: Int -> ReadS CSet Source # readList :: ReadS [CSet] Source # readPrec :: ReadPrec CSet Source # readListPrec :: ReadPrec [CSet] Source #
Show CSet Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods showsPrec :: Int -> CSet -> ShowS Source # show :: CSet -> String Source # showList :: [CSet] -> ShowS Source #
Eq CSet Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods (==) :: CSet -> CSet -> Bool Source # (/=) :: CSet -> CSet -> Bool Source #
Ord CSet Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods compare :: CSet -> CSet -> Ordering Source # (<) :: CSet -> CSet -> Bool Source # (<=) :: CSet -> CSet -> Bool Source # (>) :: CSet -> CSet -> Bool Source # (>=) :: CSet -> CSet -> Bool Source # max :: CSet -> CSet -> CSet Source # min :: CSet -> CSet -> CSet Source #

data ByteOrder Source #

Constructors

LE |
BE |
VAX |
Mixed |

#### Instances

Instances details

Bounded ByteOrder Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods minBound :: ByteOrder Source # maxBound :: ByteOrder Source #
Enum ByteOrder Source # |

Instance details

Defined in Bindings.HDF5.Datatype.Internal

Methods

succ :: ByteOrder -> ByteOrder Source #

pred :: ByteOrder -> ByteOrder Source #

toEnum :: Int -> ByteOrder Source #

fromEnum :: ByteOrder -> Int Source #

enumFrom :: ByteOrder -> [ByteOrder] Source #

enumFromThen :: ByteOrder -> ByteOrder -> [ByteOrder] Source #

enumFromTo :: ByteOrder -> ByteOrder -> [ByteOrder] Source #

enumFromThenTo :: ByteOrder -> ByteOrder -> ByteOrder -> [ByteOrder] Source #

Read ByteOrder Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods readsPrec :: Int -> ReadS ByteOrder Source # readList :: ReadS [ByteOrder] Source # readPrec :: ReadPrec ByteOrder Source # readListPrec :: ReadPrec [ByteOrder] Source #
Show ByteOrder Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods showsPrec :: Int -> ByteOrder -> ShowS Source # show :: ByteOrder -> String Source # showList :: [ByteOrder] -> ShowS Source #
Eq ByteOrder Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods (==) :: ByteOrder -> ByteOrder -> Bool Source # (/=) :: ByteOrder -> ByteOrder -> Bool Source #
Ord ByteOrder Source # |

Instance details

Defined in Bindings.HDF5.Datatype.Internal

Methods

compare :: ByteOrder -> ByteOrder -> Ordering Source #

(<) :: ByteOrder -> ByteOrder -> Bool Source #

(<=) :: ByteOrder -> ByteOrder -> Bool Source #

(>) :: ByteOrder -> ByteOrder -> Bool Source #

(>=) :: ByteOrder -> ByteOrder -> Bool Source #

max :: ByteOrder -> ByteOrder -> ByteOrder Source #

min :: ByteOrder -> ByteOrder -> ByteOrder Source #

data Normalization Source #

Constructors

Implied |
MSBSet |

#### Instances

Instances details

Bounded Normalization Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods minBound :: Normalization Source # maxBound :: Normalization Source #
Enum Normalization Source # |

Instance details

Defined in Bindings.HDF5.Datatype.Internal

Methods

succ :: Normalization -> Normalization Source #

pred :: Normalization -> Normalization Source #

toEnum :: Int -> Normalization Source #

fromEnum :: Normalization -> Int Source #

enumFrom :: Normalization -> [Normalization] Source #

enumFromThen :: Normalization -> Normalization -> [Normalization] Source #

enumFromTo :: Normalization -> Normalization -> [Normalization] Source #

enumFromThenTo :: Normalization -> Normalization -> Normalization -> [Normalization] Source #

Read Normalization Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods readsPrec :: Int -> ReadS Normalization Source # readList :: ReadS [Normalization] Source # readPrec :: ReadPrec Normalization Source # readListPrec :: ReadPrec [Normalization] Source #
Show Normalization Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods showsPrec :: Int -> Normalization -> ShowS Source # show :: Normalization -> String Source # showList :: [Normalization] -> ShowS Source #
Eq Normalization Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods (==) :: Normalization -> Normalization -> Bool Source # (/=) :: Normalization -> Normalization -> Bool Source #
Ord Normalization Source # |

Instance details

Defined in Bindings.HDF5.Datatype.Internal

Methods

compare :: Normalization -> Normalization -> Ordering Source #

(<) :: Normalization -> Normalization -> Bool Source #

(<=) :: Normalization -> Normalization -> Bool Source #

(>) :: Normalization -> Normalization -> Bool Source #

(>=) :: Normalization -> Normalization -> Bool Source #

max :: Normalization -> Normalization -> Normalization Source #

min :: Normalization -> Normalization -> Normalization Source #

data Pad Source #

Constructors

Zero |
One |
Background |

#### Instances

Instances details

Bounded Pad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods minBound :: Pad Source # maxBound :: Pad Source #
Enum Pad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods succ :: Pad -> Pad Source # pred :: Pad -> Pad Source # toEnum :: Int -> Pad Source # fromEnum :: Pad -> Int Source # enumFrom :: Pad -> [Pad] Source # enumFromThen :: Pad -> Pad -> [Pad] Source # enumFromTo :: Pad -> Pad -> [Pad] Source # enumFromThenTo :: Pad -> Pad -> Pad -> [Pad] Source #
Read Pad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods readsPrec :: Int -> ReadS Pad Source # readList :: ReadS [Pad] Source # readPrec :: ReadPrec Pad Source # readListPrec :: ReadPrec [Pad] Source #
Show Pad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods showsPrec :: Int -> Pad -> ShowS Source # show :: Pad -> String Source # showList :: [Pad] -> ShowS Source #
Eq Pad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods (==) :: Pad -> Pad -> Bool Source # (/=) :: Pad -> Pad -> Bool Source #
Ord Pad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods compare :: Pad -> Pad -> Ordering Source # (<) :: Pad -> Pad -> Bool Source # (<=) :: Pad -> Pad -> Bool Source # (>) :: Pad -> Pad -> Bool Source # (>=) :: Pad -> Pad -> Bool Source # max :: Pad -> Pad -> Pad Source # min :: Pad -> Pad -> Pad Source #

data StringPad Source #

Constructors

NullTerm |
NullPad |
SpacePad |
StringPad_Reserved3 |
StringPad_Reserved4 |
StringPad_Reserved5 |
StringPad_Reserved6 |
StringPad_Reserved7 |
StringPad_Reserved8 |
StringPad_Reserved9 |
StringPad_Reserved10 |
StringPad_Reserved11 |
StringPad_Reserved12 |
StringPad_Reserved13 |
StringPad_Reserved14 |
StringPad_Reserved15 |

#### Instances

Instances details

Bounded StringPad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods minBound :: StringPad Source # maxBound :: StringPad Source #
Enum StringPad Source # |

Instance details

Defined in Bindings.HDF5.Datatype.Internal

Methods

succ :: StringPad -> StringPad Source #

pred :: StringPad -> StringPad Source #

toEnum :: Int -> StringPad Source #

fromEnum :: StringPad -> Int Source #

enumFrom :: StringPad -> [StringPad] Source #

enumFromThen :: StringPad -> StringPad -> [StringPad] Source #

enumFromTo :: StringPad -> StringPad -> [StringPad] Source #

enumFromThenTo :: StringPad -> StringPad -> StringPad -> [StringPad] Source #

Read StringPad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods readsPrec :: Int -> ReadS StringPad Source # readList :: ReadS [StringPad] Source # readPrec :: ReadPrec StringPad Source # readListPrec :: ReadPrec [StringPad] Source #
Show StringPad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods showsPrec :: Int -> StringPad -> ShowS Source # show :: StringPad -> String Source # showList :: [StringPad] -> ShowS Source #
Eq StringPad Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods (==) :: StringPad -> StringPad -> Bool Source # (/=) :: StringPad -> StringPad -> Bool Source #
Ord StringPad Source # |

Instance details

Defined in Bindings.HDF5.Datatype.Internal

Methods

compare :: StringPad -> StringPad -> Ordering Source #

(<) :: StringPad -> StringPad -> Bool Source #

(<=) :: StringPad -> StringPad -> Bool Source #

(>) :: StringPad -> StringPad -> Bool Source #

(>=) :: StringPad -> StringPad -> Bool Source #

max :: StringPad -> StringPad -> StringPad Source #

min :: StringPad -> StringPad -> StringPad Source #

class Storable t => NativeType t where Source #

Methods

nativeTypeId :: Tagged t Datatype Source #

#### Instances

Instances details

NativeType CChar Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CChar Datatype Source #
NativeType CDouble Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CDouble Datatype Source #
NativeType CFloat Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CFloat Datatype Source #
NativeType CInt Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CInt Datatype Source #
NativeType CLLong Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CLLong Datatype Source #
NativeType CLong Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CLong Datatype Source #
NativeType CSChar Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CSChar Datatype Source #
NativeType CShort Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CShort Datatype Source #
NativeType CUChar Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CUChar Datatype Source #
NativeType CUInt Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CUInt Datatype Source #
NativeType CULLong Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CULLong Datatype Source #
NativeType CULong Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CULong Datatype Source #
NativeType CUShort Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged CUShort Datatype Source #
NativeType Int16 Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Int16 Datatype Source #
NativeType Int32 Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Int32 Datatype Source #
NativeType Int64 Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Int64 Datatype Source #
NativeType Int8 Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Int8 Datatype Source #
NativeType Word16 Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Word16 Datatype Source #
NativeType Word32 Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Word32 Datatype Source #
NativeType Word64 Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Word64 Datatype Source #
NativeType Word8 Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Word8 Datatype Source #
NativeType HAddr Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged HAddr Datatype Source #
NativeType HSSize Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged HSSize Datatype Source #
NativeType HSize Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged HSize Datatype Source #
NativeType HBool_t Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged HBool_t Datatype Source #
NativeType HErr_t Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged HErr_t Datatype Source #
NativeType Double Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Double Datatype Source #
NativeType Float Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Float Datatype Source #
NativeType Int Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Int Datatype Source #
NativeType Word Source # |
Instance details Defined in Bindings.HDF5.Datatype.Internal Methods nativeTypeId :: Tagged Word Datatype Source #

nativeTypeOf :: NativeType t => t -> Datatype Source #

nativeTypeOf1 :: NativeType t => f t -> Datatype Source #

createTypeID :: Class -> CSize -> IO Datatype Source #

copyTypeID :: Datatype -> IO Datatype Source #

closeTypeID :: Datatype -> IO () Source #

typeIDsEqual :: Datatype -> Datatype -> IO Bool Source #

lockTypeID :: Datatype -> IO () Source #

commitTypeID :: Location t => t -> ByteString -> Datatype -> Maybe LCPL -> Maybe TCPL -> Maybe TAPL -> IO () Source #

openTypeID :: Location t => t -> ByteString -> Maybe TAPL -> IO Datatype Source #

commitTypeIDAnonymously :: Location t => t -> Datatype -> Maybe TCPL -> Maybe TAPL -> IO () Source #

getTypeCreationPList :: Datatype -> IO TCPL Source #

committedTypeID :: Datatype -> IO Bool Source #

encodeTypeID :: Datatype -> IO ByteString Source #

decodeTypeID :: ByteString -> IO Datatype Source #

insertCompoundTypeMember :: Datatype -> ByteString -> CSize -> Datatype -> IO () Source #

packCompoundType :: Datatype -> IO () Source #

createVLenType :: Datatype -> IO Datatype Source #

createArrayType :: Datatype -> [HSize] -> IO Datatype Source #

getArrayTypeNDims :: Datatype -> IO CInt Source #

getArrayTypeDims :: Datatype -> IO [HSize] Source #

setOpaqueTypeTag :: Datatype -> ByteString -> IO () Source #

getOpaqueTypeTag :: Datatype -> IO ByteString Source #

getSuperType :: Datatype -> IO Datatype Source #

getTypeClass :: Datatype -> IO Class Source #

detectTypeClass :: Datatype -> Class -> IO Bool Source #

getTypeSize :: Datatype -> IO CSize Source #

getByteOrder :: Datatype -> IO (Maybe ByteOrder) Source #

getTypePrecision :: Datatype -> IO CSize Source #

getTypeOffset :: Datatype -> IO CInt Source #

getTypePad :: Datatype -> IO (Pad, Pad) Source #

getFloatTypeFields :: Datatype -> IO (CSize, CSize, CSize, CSize, CSize) Source #

getFloatTypeEBias :: Datatype -> IO CSize Source #

getFloatTypeNormalization :: Datatype -> IO (Maybe Normalization) Source #

getFloatTypeInternalPad :: Datatype -> IO Pad Source #

getStringPad :: Datatype -> IO StringPad Source #

getTypeNMembers :: Datatype -> IO CInt Source #

getMemberName :: Datatype -> CUInt -> IO ByteString Source #

getMemberIndex :: Datatype -> ByteString -> IO CInt Source #

setTypeSize :: Datatype -> CSize -> IO () Source #

setByteOrder :: Datatype -> Maybe ByteOrder -> IO () Source #

setTypePrecision :: Datatype -> CSize -> IO () Source #

setTypeOffset :: Datatype -> CSize -> IO () Source #

setTypePad :: Datatype -> Pad -> Pad -> IO () Source #

setFloatTypeFields :: Datatype -> CSize -> CSize -> CSize -> CSize -> CSize -> IO () Source #

setFloatTypeEBias :: Datatype -> CSize -> IO () Source #