OpenAFP-1.4.3: IBM AFP document format parser and generator
OpenAFP.Prelude.Instances
Contents
apply :: (Chunk c, Rec r) => c -> (r -> t) -> t Source #
applyAFP :: forall x. N3 -> AFP_ -> (forall a. Rec a => a -> x) -> x Source #
applyMCF :: forall x. N0 -> MCF_ -> (forall a. Rec a => a -> x) -> x Source #
Methods
recGet :: Get T_ Source #
recPut :: T_ -> Put Source #
recSizeOf :: T_ -> Int Source #
recView :: T_ -> ViewRecord Source #
recType :: T_ -> Int Source #
recGet :: Get MCF Source #
recPut :: MCF -> Put Source #
recSizeOf :: MCF -> Int Source #
recView :: MCF -> ViewRecord Source #
recType :: MCF -> Int Source #
recGet :: Get MCF_ Source #
recPut :: MCF_ -> Put Source #
recSizeOf :: MCF_ -> Int Source #
recView :: MCF_ -> ViewRecord Source #
recType :: MCF_ -> Int Source #
recGet :: Get MCF1 Source #
recPut :: MCF1 -> Put Source #
recSizeOf :: MCF1 -> Int Source #
recView :: MCF1 -> ViewRecord Source #
recType :: MCF1 -> Int Source #
recGet :: Get MCF1_Data Source #
recPut :: MCF1_Data -> Put Source #
recSizeOf :: MCF1_Data -> Int Source #
recView :: MCF1_Data -> ViewRecord Source #
recType :: MCF1_Data -> Int Source #
recGet :: Get MDD Source #
recPut :: MDD -> Put Source #
recSizeOf :: MDD -> Int Source #
recView :: MDD -> ViewRecord Source #
recType :: MDD -> Int Source #
recGet :: Get MDR Source #
recPut :: MDR -> Put Source #
recSizeOf :: MDR -> Int Source #
recView :: MDR -> ViewRecord Source #
recType :: MDR -> Int Source #
recGet :: Get MFC Source #
recPut :: MFC -> Put Source #
recSizeOf :: MFC -> Int Source #
recView :: MFC -> ViewRecord Source #
recType :: MFC -> Int Source #
recGet :: Get MGO Source #
recPut :: MGO -> Put Source #
recSizeOf :: MGO -> Int Source #
recView :: MGO -> ViewRecord Source #
recType :: MGO -> Int Source #
recGet :: Get MIO Source #
recPut :: MIO -> Put Source #
recSizeOf :: MIO -> Int Source #
recView :: MIO -> ViewRecord Source #
recType :: MIO -> Int Source #
recGet :: Get MMC Source #
recPut :: MMC -> Put Source #
recSizeOf :: MMC -> Int Source #
recView :: MMC -> ViewRecord Source #
recType :: MMC -> Int Source #
recGet :: Get MMO Source #
recPut :: MMO -> Put Source #
recSizeOf :: MMO -> Int Source #
recView :: MMO -> ViewRecord Source #
recType :: MMO -> Int Source #
recGet :: Get MMT Source #
recPut :: MMT -> Put Source #
recSizeOf :: MMT -> Int Source #
recView :: MMT -> ViewRecord Source #
recType :: MMT -> Int Source #
recGet :: Get MPG Source #
recPut :: MPG -> Put Source #
recSizeOf :: MPG -> Int Source #
recView :: MPG -> ViewRecord Source #
recType :: MPG -> Int Source #
recGet :: Get MPO Source #
recPut :: MPO -> Put Source #
recSizeOf :: MPO -> Int Source #
recView :: MPO -> ViewRecord Source #
recType :: MPO -> Int Source #
recGet :: Get MPS Source #
recPut :: MPS -> Put Source #
recSizeOf :: MPS -> Int Source #
recView :: MPS -> ViewRecord Source #
recType :: MPS -> Int Source #
recGet :: Get MSU Source #
recPut :: MSU -> Put Source #
recSizeOf :: MSU -> Int Source #
recView :: MSU -> ViewRecord Source #
recType :: MSU -> Int Source #
recGet :: Get NOP Source #
recPut :: NOP -> Put Source #
recSizeOf :: NOP -> Int Source #
recView :: NOP -> ViewRecord Source #
recType :: NOP -> Int Source #
recGet :: Get OBD Source #
recPut :: OBD -> Put Source #
recSizeOf :: OBD -> Int Source #
recView :: OBD -> ViewRecord Source #
recType :: OBD -> Int Source #
recGet :: Get OBP Source #
recPut :: OBP -> Put Source #
recSizeOf :: OBP -> Int Source #
recView :: OBP -> ViewRecord Source #
recType :: OBP -> Int Source #
recGet :: Get OCD Source #
recPut :: OCD -> Put Source #
recSizeOf :: OCD -> Int Source #
recView :: OCD -> ViewRecord Source #
recType :: OCD -> Int Source #
recGet :: Get PFC Source #
recPut :: PFC -> Put Source #
recSizeOf :: PFC -> Int Source #
recView :: PFC -> ViewRecord Source #
recType :: PFC -> Int Source #
recGet :: Get PGD Source #
recPut :: PGD -> Put Source #
recSizeOf :: PGD -> Int Source #
recView :: PGD -> ViewRecord Source #
recType :: PGD -> Int Source #
recGet :: Get PGP Source #
recPut :: PGP -> Put Source #
recSizeOf :: PGP -> Int Source #
recView :: PGP -> ViewRecord Source #
recType :: PGP -> Int Source #
recGet :: Get PGP1 Source #
recPut :: PGP1 -> Put Source #
recSizeOf :: PGP1 -> Int Source #
recView :: PGP1 -> ViewRecord Source #
recType :: PGP1 -> Int Source #
recGet :: Get PMC Source #
recPut :: PMC -> Put Source #
recSizeOf :: PMC -> Int Source #
recView :: PMC -> ViewRecord Source #
recType :: PMC -> Int Source #
recGet :: Get PTD Source #
recPut :: PTD -> Put Source #
recSizeOf :: PTD -> Int Source #
recView :: PTD -> ViewRecord Source #
recType :: PTD -> Int Source #
recGet :: Get PTD1 Source #
recPut :: PTD1 -> Put Source #
recSizeOf :: PTD1 -> Int Source #
recView :: PTD1 -> ViewRecord Source #
recType :: PTD1 -> Int Source #
recGet :: Get TLE Source #
recPut :: TLE -> Put Source #
recSizeOf :: TLE -> Int Source #
recView :: TLE -> ViewRecord Source #
recType :: TLE -> Int Source #
recGet :: Get MCF_T Source #
recPut :: MCF_T -> Put Source #
recSizeOf :: MCF_T -> Int Source #
recView :: MCF_T -> ViewRecord Source #
recType :: MCF_T -> Int Source #
Associated Types
type ChunkOf MCF :: * Source #
readChunks :: MCF -> [ChunkOf MCF] Source #
writeChunks :: Monad m => MCF -> m [ChunkOf MCF] -> m MCF Source #
type ChunkOf TLE :: * Source #
readChunks :: TLE -> [ChunkOf TLE] Source #
writeChunks :: Monad m => TLE -> m [ChunkOf TLE] -> m TLE Source #
type ChunkOf MCF_T :: * Source #
readChunks :: MCF_T -> [ChunkOf MCF_T] Source #
writeChunks :: Monad m => MCF_T -> m [ChunkOf MCF_T] -> m MCF_T Source #
type N MCF_ :: * Source #
type BufOf MCF_ :: * Source #
chunkApply :: N MCF_ -> MCF_ -> (forall a. Rec a => a -> x) -> x Source #
mkChunk :: N MCF_ -> BufOf MCF_ -> MCF_ Source #
chunkCon :: (N MCF_, BufOf MCF_) -> MCF_ Source #
chunkDecon :: MCF_ -> (N MCF_, BufOf MCF_) Source #
chunkType :: MCF_ -> ChunkType Source #
chunkTypeLookup :: MCF_ -> N MCF_ -> ChunkType Source #
packChunk :: MCF_ -> PStringLen Source #
chunkMapFiltersM_ :: Monad m => MCF_ -> [(ChunkType, MCF_ -> m [MCF_])] -> m () Source #
chunkMapFiltersM :: Monad m => MCF_ -> [(ChunkType, MCF_ -> m [MCF_])] -> m [MCF_] Source #
chunksMapFiltersM :: Monad m => [MCF_] -> [(ChunkType, MCF_ -> m [MCF_])] -> m [MCF_] Source #
chunksMapFiltersM_ :: Monad m => [MCF_] -> [(ChunkType, MCF_ -> m [MCF_])] -> m () Source #
decodeChunk :: Binary (Record r) => MCF_ -> r Source #
encodeChunk :: (Binary r, Storable r, Rec r) => r -> MCF_ Source #
type N AFP_ :: * Source #
type BufOf AFP_ :: * Source #
chunkApply :: N AFP_ -> AFP_ -> (forall a. Rec a => a -> x) -> x Source #
mkChunk :: N AFP_ -> BufOf AFP_ -> AFP_ Source #
chunkCon :: (N AFP_, BufOf AFP_) -> AFP_ Source #
chunkDecon :: AFP_ -> (N AFP_, BufOf AFP_) Source #
chunkType :: AFP_ -> ChunkType Source #
chunkTypeLookup :: AFP_ -> N AFP_ -> ChunkType Source #
packChunk :: AFP_ -> PStringLen Source #
chunkMapFiltersM_ :: Monad m => AFP_ -> [(ChunkType, AFP_ -> m [AFP_])] -> m () Source #
chunkMapFiltersM :: Monad m => AFP_ -> [(ChunkType, AFP_ -> m [AFP_])] -> m [AFP_] Source #
chunksMapFiltersM :: Monad m => [AFP_] -> [(ChunkType, AFP_ -> m [AFP_])] -> m [AFP_] Source #
chunksMapFiltersM_ :: Monad m => [AFP_] -> [(ChunkType, AFP_ -> m [AFP_])] -> m () Source #
decodeChunk :: Binary (Record r) => AFP_ -> r Source #
encodeChunk :: (Binary r, Storable r, Rec r) => r -> AFP_ Source #
type DataOf MCF1 :: * Source #
type RecOf MCF1_Data :: * Source #
readData :: MCF1 -> [Record MCF1_Data] Source #
writeData :: MCF1 -> [Record MCF1_Data] -> MCF1 Source #