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

Safe Haskell | None
Language | Haskell2010

Bindings.HDF5.Link

# Documentation

createHardLink :: (Location src, Location dst) => src -> ByteString -> dst -> ByteString -> Maybe LCPL -> Maybe LAPL -> IO () Source #

createSoftLink :: Location dst => ByteString -> dst -> ByteString -> Maybe LCPL -> Maybe LAPL -> IO () Source #

createExternalLink :: Location loc => ByteString -> ByteString -> loc -> ByteString -> Maybe LCPL -> Maybe LAPL -> IO () Source #

getLinkNameByIdx :: Location loc => loc -> ByteString -> IndexType -> IterOrder -> HSize -> Maybe LAPL -> IO ByteString Source #

doesLinkExist :: Location loc => loc -> ByteString -> Maybe LAPL -> IO Bool Source #

moveLink :: (Location src, Location dst) => src -> ByteString -> dst -> ByteString -> Maybe LCPL -> Maybe LAPL -> IO () Source #

copyLink :: (Location src, Location dst) => src -> ByteString -> dst -> ByteString -> Maybe LCPL -> Maybe LAPL -> IO () Source #

deleteLink :: Location t => t -> ByteString -> Maybe LAPL -> IO () Source #

data LinkType Source #

Constructors

External |
Hard |
Soft |
OtherLinkType !H5L_type_t |

#### Instances

Instances details

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

data LinkInfo Source #

Constructors

LinkInfo |

Fields

- linkType :: LinkType
- linkCOrderValid :: Bool
- linkCOrder :: Int64
- linkCSet :: CSet
- linkValSize :: CSize

#### Instances

Instances details

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

getLinkInfo :: Location loc => loc -> ByteString -> Maybe LAPL -> IO LinkInfo Source #

getSymLinkVal :: Location loc => loc -> ByteString -> Maybe LAPL -> IO ByteString Source #

iterateLinks :: Location t => t -> IndexType -> IterOrder -> Maybe HSize -> (Group -> ByteString -> LinkInfo -> IO HErr_t) -> IO HSize Source #

iterateLinksByName :: Location t => t -> ByteString -> IndexType -> IterOrder -> Maybe HSize -> Maybe LAPL -> (Group -> ByteString -> LinkInfo -> IO HErr_t) -> IO HSize Source #

visitLinks :: Location t => t -> IndexType -> IterOrder -> (Group -> ByteString -> LinkInfo -> IO HErr_t) -> IO () Source #

visitLinksByName :: Location t => t -> ByteString -> IndexType -> IterOrder -> Maybe LAPL -> (Group -> ByteString -> LinkInfo -> IO HErr_t) -> IO () Source #