{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances, ForeignFunctionInterface, IncoherentInstances, MultiParamTypeClasses, OverlappingInstances, TemplateHaskell, TypeFamilies, TypeSynonymInstances #-} module OGDF.FMMMLayout.Implementation where import Data.Monoid import Data.Word import Data.Int import Foreign.C import Foreign.Ptr import Language.Haskell.TH import Language.Haskell.TH.Syntax import System.IO.Unsafe import FFICXX.Runtime.Cast import FFICXX.Runtime.CodeGen.Cxx import FFICXX.Runtime.TH import OGDF.FMMMLayout.RawType import OGDF.FMMMLayout.FFI import OGDF.FMMMLayout.Interface import OGDF.FMMMLayout.Cast import OGDF.FMMMLayout.RawType import OGDF.FMMMLayout.Cast import OGDF.FMMMLayout.Interface import OGDF.GraphAttributes.RawType import OGDF.GraphAttributes.Cast import OGDF.GraphAttributes.Interface import STD.Deletable.RawType import STD.Deletable.Cast import STD.Deletable.Interface import OGDF.LayoutModule.RawType import OGDF.LayoutModule.Cast import OGDF.LayoutModule.Interface instance () => IFMMMLayout (FMMMLayout) where instance () => IDeletable (FMMMLayout) where delete :: FMMMLayout -> IO () delete = (Ptr RawFMMMLayout -> IO ()) -> FMMMLayout -> IO () forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawFMMMLayout -> IO () c_fmmmlayout_delete instance () => ILayoutModule (FMMMLayout) where call :: forall c0. (IGraphAttributes c0, FPtr c0) => FMMMLayout -> c0 -> IO () call = (Ptr RawFMMMLayout -> Ptr RawGraphAttributes -> IO ()) -> FMMMLayout -> c0 -> IO () forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawFMMMLayout -> Ptr RawGraphAttributes -> IO () c_fmmmlayout_call newFMMMLayout :: () => IO FMMMLayout newFMMMLayout :: IO FMMMLayout newFMMMLayout = IO (Ptr RawFMMMLayout) -> IO FMMMLayout forall a ca. Castable a ca => IO ca -> IO a xformnull IO (Ptr RawFMMMLayout) c_fmmmlayout_newfmmmlayout fMMMLayout_useHighLevelOptions :: () => FMMMLayout -> CBool -> IO () fMMMLayout_useHighLevelOptions :: FMMMLayout -> CBool -> IO () fMMMLayout_useHighLevelOptions = (Ptr RawFMMMLayout -> CBool -> IO ()) -> FMMMLayout -> CBool -> IO () forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawFMMMLayout -> CBool -> IO () c_fmmmlayout_fmmmlayout_usehighleveloptions fMMMLayout_unitEdgeLength :: () => FMMMLayout -> CDouble -> IO () fMMMLayout_unitEdgeLength :: FMMMLayout -> CDouble -> IO () fMMMLayout_unitEdgeLength = (Ptr RawFMMMLayout -> CDouble -> IO ()) -> FMMMLayout -> CDouble -> IO () forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawFMMMLayout -> CDouble -> IO () c_fmmmlayout_fmmmlayout_unitedgelength fMMMLayout_newInitialPlacement :: () => FMMMLayout -> CBool -> IO () fMMMLayout_newInitialPlacement :: FMMMLayout -> CBool -> IO () fMMMLayout_newInitialPlacement = (Ptr RawFMMMLayout -> CBool -> IO ()) -> FMMMLayout -> CBool -> IO () forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawFMMMLayout -> CBool -> IO () c_fmmmlayout_fmmmlayout_newinitialplacement