{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances, ForeignFunctionInterface, IncoherentInstances, MultiParamTypeClasses, OverlappingInstances, TemplateHaskell, TypeFamilies, TypeSynonymInstances #-} module OGDF.OptimalHierarchyLayout.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.OptimalHierarchyLayout.RawType import OGDF.OptimalHierarchyLayout.FFI import OGDF.OptimalHierarchyLayout.Interface import OGDF.OptimalHierarchyLayout.Cast import OGDF.OptimalHierarchyLayout.RawType import OGDF.OptimalHierarchyLayout.Cast import OGDF.OptimalHierarchyLayout.Interface import STD.Deletable.RawType import STD.Deletable.Cast import STD.Deletable.Interface import OGDF.HierarchyLayoutModule.RawType import OGDF.HierarchyLayoutModule.Cast import OGDF.HierarchyLayoutModule.Interface instance () => IOptimalHierarchyLayout (OptimalHierarchyLayout) where instance () => IDeletable (OptimalHierarchyLayout) where delete :: OptimalHierarchyLayout -> IO () delete = (Ptr RawOptimalHierarchyLayout -> IO ()) -> OptimalHierarchyLayout -> IO () forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOptimalHierarchyLayout -> IO () c_optimalhierarchylayout_delete instance () => IHierarchyLayoutModule (OptimalHierarchyLayout) where newOptimalHierarchyLayout :: () => IO OptimalHierarchyLayout newOptimalHierarchyLayout :: IO OptimalHierarchyLayout newOptimalHierarchyLayout = IO (Ptr RawOptimalHierarchyLayout) -> IO OptimalHierarchyLayout forall a ca. Castable a ca => IO ca -> IO a xformnull IO (Ptr RawOptimalHierarchyLayout) c_optimalhierarchylayout_newoptimalhierarchylayout optimalHierarchyLayout_layerDistance :: () => OptimalHierarchyLayout -> CDouble -> IO () optimalHierarchyLayout_layerDistance :: OptimalHierarchyLayout -> CDouble -> IO () optimalHierarchyLayout_layerDistance = (Ptr RawOptimalHierarchyLayout -> CDouble -> IO ()) -> OptimalHierarchyLayout -> 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 RawOptimalHierarchyLayout -> CDouble -> IO () c_optimalhierarchylayout_optimalhierarchylayout_layerdistance optimalHierarchyLayout_nodeDistance :: () => OptimalHierarchyLayout -> CDouble -> IO () optimalHierarchyLayout_nodeDistance :: OptimalHierarchyLayout -> CDouble -> IO () optimalHierarchyLayout_nodeDistance = (Ptr RawOptimalHierarchyLayout -> CDouble -> IO ()) -> OptimalHierarchyLayout -> 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 RawOptimalHierarchyLayout -> CDouble -> IO () c_optimalhierarchylayout_optimalhierarchylayout_nodedistance optimalHierarchyLayout_weightBalancing :: () => OptimalHierarchyLayout -> CDouble -> IO () optimalHierarchyLayout_weightBalancing :: OptimalHierarchyLayout -> CDouble -> IO () optimalHierarchyLayout_weightBalancing = (Ptr RawOptimalHierarchyLayout -> CDouble -> IO ()) -> OptimalHierarchyLayout -> 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 RawOptimalHierarchyLayout -> CDouble -> IO () c_optimalhierarchylayout_optimalhierarchylayout_weightbalancing