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

Safe Haskell | None
Language | Haskell2010

Bindings.HDF5.File

# Documentation

data AccFlags Source #

Constructors

ReadOnly |
ReadWrite |
Truncate |
FailIfExists |
Debug |
Create |

#### Instances

Instances details

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

Instance details

Defined in Bindings.HDF5.File

Methods

succ :: AccFlags -> AccFlags Source #

pred :: AccFlags -> AccFlags Source #

toEnum :: Int -> AccFlags Source #

fromEnum :: AccFlags -> Int Source #

enumFrom :: AccFlags -> [AccFlags] Source #

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

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

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

Read AccFlags Source # |
Instance details Defined in Bindings.HDF5.File Methods readsPrec :: Int -> ReadS AccFlags Source # readList :: ReadS [AccFlags] Source # readPrec :: ReadPrec AccFlags Source # readListPrec :: ReadPrec [AccFlags] Source #
Show AccFlags Source # |
Instance details Defined in Bindings.HDF5.File Methods showsPrec :: Int -> AccFlags -> ShowS Source # show :: AccFlags -> String Source # showList :: [AccFlags] -> ShowS Source #
Eq AccFlags Source # |
Instance details Defined in Bindings.HDF5.File Methods (==) :: AccFlags -> AccFlags -> Bool Source # (/=) :: AccFlags -> AccFlags -> Bool Source #
Ord AccFlags Source # |
Instance details Defined in Bindings.HDF5.File Methods compare :: AccFlags -> AccFlags -> Ordering Source # (<) :: AccFlags -> AccFlags -> Bool Source # (<=) :: AccFlags -> AccFlags -> Bool Source # (>) :: AccFlags -> AccFlags -> Bool Source # (>=) :: AccFlags -> AccFlags -> Bool Source # max :: AccFlags -> AccFlags -> AccFlags Source # min :: AccFlags -> AccFlags -> AccFlags Source #
Storable [AccFlags] Source # |

Instance details

Defined in Bindings.HDF5.File

Methods

sizeOf :: [AccFlags] -> Int Source #

alignment :: [AccFlags] -> Int Source #

peekElemOff :: Ptr [AccFlags] -> Int -> IO [AccFlags] Source #

pokeElemOff :: Ptr [AccFlags] -> Int -> [AccFlags] -> IO () Source #

peekByteOff :: Ptr b -> Int -> IO [AccFlags] Source #

pokeByteOff :: Ptr b -> Int -> [AccFlags] -> IO () Source #

peek :: Ptr [AccFlags] -> IO [AccFlags] Source #

poke :: Ptr [AccFlags] -> [AccFlags] -> IO () Source #

data ObjType Source #

Constructors

Files |
Datasets |
Groups |
Datatypes |
Attrs |
All |

#### Instances

Instances details

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

Instance details

Defined in Bindings.HDF5.File

Methods

succ :: ObjType -> ObjType Source #

pred :: ObjType -> ObjType Source #

toEnum :: Int -> ObjType Source #

fromEnum :: ObjType -> Int Source #

enumFrom :: ObjType -> [ObjType] Source #

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

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

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

Read ObjType Source # |
Instance details Defined in Bindings.HDF5.File Methods readsPrec :: Int -> ReadS ObjType Source # readList :: ReadS [ObjType] Source # readPrec :: ReadPrec ObjType Source # readListPrec :: ReadPrec [ObjType] Source #
Show ObjType Source # |
Instance details Defined in Bindings.HDF5.File Methods showsPrec :: Int -> ObjType -> ShowS Source # show :: ObjType -> String Source # showList :: [ObjType] -> ShowS Source #
Eq ObjType Source # |
Instance details Defined in Bindings.HDF5.File Methods (==) :: ObjType -> ObjType -> Bool Source # (/=) :: ObjType -> ObjType -> Bool Source #
Ord ObjType Source # |
Instance details Defined in Bindings.HDF5.File Methods compare :: ObjType -> ObjType -> Ordering Source # (<) :: ObjType -> ObjType -> Bool Source # (<=) :: ObjType -> ObjType -> Bool Source # (>) :: ObjType -> ObjType -> Bool Source # (>=) :: ObjType -> ObjType -> Bool Source # max :: ObjType -> ObjType -> ObjType Source # min :: ObjType -> ObjType -> ObjType Source #
Storable [ObjType] Source # |

Instance details

Defined in Bindings.HDF5.File

Methods

sizeOf :: [ObjType] -> Int Source #

alignment :: [ObjType] -> Int Source #

peekElemOff :: Ptr [ObjType] -> Int -> IO [ObjType] Source #

pokeElemOff :: Ptr [ObjType] -> Int -> [ObjType] -> IO () Source #

peekByteOff :: Ptr b -> Int -> IO [ObjType] Source #

pokeByteOff :: Ptr b -> Int -> [ObjType] -> IO () Source #

peek :: Ptr [ObjType] -> IO [ObjType] Source #

poke :: Ptr [ObjType] -> [ObjType] -> IO () Source #

data Scope Source #

Constructors

Local |
Global |

#### Instances

Instances details

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

isHDF5 :: ByteString -> IO Bool Source #

data File Source #

#### Instances

Instances details

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

createFile :: ByteString -> [AccFlags] -> Maybe FCPL -> Maybe FAPL -> IO File Source #

openFile :: ByteString -> [AccFlags] -> Maybe FAPL -> IO File Source #

reopenFile :: File -> IO File Source #

flushFile :: File -> Scope -> IO () Source #

closeFile :: File -> IO () Source #

mountFile :: Location loc => loc -> ByteString -> File -> Maybe FMPL -> IO () Source #

unmountFile :: Location loc => loc -> ByteString -> IO () Source #

getFileSize :: File -> IO HSize Source #

getFileCreatePlist :: File -> IO FCPL Source #

getFileAccessPlist :: File -> IO FAPL Source #

data FileInfo Source #

Constructors

FileInfo |

Fields

- superExtSize :: !HSize
- sohmHdrSize :: !HSize
- sohmMsgsInfo :: !IH_Info

#### Instances

Instances details

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

getFileInfo :: Object obj => obj -> IO FileInfo Source #

getFileIntent :: File -> IO [AccFlags] Source #

getFileName :: File -> IO ByteString Source #

getFileObjCount :: Maybe File -> Bool -> [ObjType] -> IO CSize Source #

getOpenObjects :: Maybe File -> Bool -> [ObjType] -> IO (Vector ObjectId) Source #

getFileFreespace :: File -> IO HSize Source #