|
|
|
|
|
Description |
Module for handling terralib an haskell objects
|
|
Synopsis |
|
|
|
|
The Pointer class
|
|
class Pointer a where |
The class Pointer is a class for handling pointers to objects, ex: TePoint and TePointPtr
| | Methods | new :: a -> IO (Ptr a) | create a pointer from haskell object
| | fromPointer :: Ptr a -> IO a | create a haskell object from a pointer
| | delete :: Ptr a -> IO () | delete a pointer from memory
|
| | Instances | |
|
|
The Convert class
|
|
class Convert a b where |
The class Convert permit the converts from diferents objects
| | Methods | to :: a -> b | convert from a to b
| | from :: b -> a | convert from b to a
|
|
|
|
The Element class
|
|
class Element a b where |
| Methods | getElement :: Ptr a -> Int32 -> IO b |
| | Instances | |
|
|
The Size class
|
|
class Size a where |
| Methods | size :: Ptr a -> IO Int32 |
| | Instances | |
|
|
Produced by Haddock version 0.7 |