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

Safe Haskell | None
Language | Haskell2010

Bindings.HDF5.Dataset

# Documentation

data Dataset Source #

#### Instances

Instances details

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

createDataset :: Location loc => loc -> ByteString -> Datatype -> Dataspace -> Maybe LCPL -> Maybe DCPL -> Maybe DAPL -> IO Dataset Source #

createAnonymousDataset :: Location loc => loc -> Datatype -> Dataspace -> Maybe DCPL -> Maybe DAPL -> IO Dataset Source #

openDataset :: Location loc => loc -> ByteString -> Maybe DAPL -> IO Dataset Source #

closeDataset :: Dataset -> IO () Source #

getDatasetSpace :: Dataset -> IO Dataspace Source #

data SpaceStatus Source #

Constructors

NotAllocated |
Allocated |
PartAllocated |

#### Instances

Instances details

Bounded SpaceStatus Source # |
Instance details Defined in Bindings.HDF5.Dataset Methods minBound :: SpaceStatus Source # maxBound :: SpaceStatus Source #
Enum SpaceStatus Source # |

Instance details

Defined in Bindings.HDF5.Dataset

Methods

succ :: SpaceStatus -> SpaceStatus Source #

pred :: SpaceStatus -> SpaceStatus Source #

toEnum :: Int -> SpaceStatus Source #

fromEnum :: SpaceStatus -> Int Source #

enumFrom :: SpaceStatus -> [SpaceStatus] Source #

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

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

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

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

Instance details

Defined in Bindings.HDF5.Dataset

Methods

compare :: SpaceStatus -> SpaceStatus -> Ordering Source #

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

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

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

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

max :: SpaceStatus -> SpaceStatus -> SpaceStatus Source #

min :: SpaceStatus -> SpaceStatus -> SpaceStatus Source #

getDatasetSpaceStatus :: Dataset -> IO SpaceStatus Source #

getDatasetType :: Dataset -> IO Datatype Source #

getDatasetCreatePList :: Dataset -> IO DCPL Source #

getDatasetAccessPList :: Dataset -> IO DAPL Source #

getDatasetStorageSize :: Dataset -> IO HSize Source #

getDatasetOffset :: Dataset -> IO HAddr Source #

readDataset :: NativeType t => Dataset -> Maybe Dataspace -> Maybe DXPL -> IO (Vector t) Source #

readDatasetInto :: NativeType t => Dataset -> Maybe Dataspace -> Maybe Dataspace -> Maybe DXPL -> MVector RealWorld t -> IO () Source #

writeDataset :: NativeType t => Dataset -> Maybe Dataspace -> Maybe Dataspace -> Maybe DXPL -> Vector t -> IO () Source #

setDatasetExtent :: Dataset -> [HSize] -> IO () Source #

fillSelection :: (NativeType a, NativeType b) => a -> MVector RealWorld b -> Dataspace -> IO () Source #