{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances, ForeignFunctionInterface, IncoherentInstances, MultiParamTypeClasses, OverlappingInstances, TemplateHaskell, TypeFamilies, TypeSynonymInstances #-} module OGDF.FastSimpleHierarchyLayout.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.FastSimpleHierarchyLayout.RawType import OGDF.FastSimpleHierarchyLayout.FFI import OGDF.FastSimpleHierarchyLayout.Interface import OGDF.FastSimpleHierarchyLayout.Cast import OGDF.FastSimpleHierarchyLayout.RawType import OGDF.FastSimpleHierarchyLayout.Cast import OGDF.FastSimpleHierarchyLayout.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 () => IFastSimpleHierarchyLayout (FastSimpleHierarchyLayout) where instance () => IDeletable (FastSimpleHierarchyLayout) where delete :: FastSimpleHierarchyLayout -> IO () delete = (Ptr RawFastSimpleHierarchyLayout -> IO ()) -> FastSimpleHierarchyLayout -> IO () forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawFastSimpleHierarchyLayout -> IO () c_fastsimplehierarchylayout_delete instance () => IHierarchyLayoutModule (FastSimpleHierarchyLayout) where newFastSimpleHierarchyLayout :: () => IO FastSimpleHierarchyLayout newFastSimpleHierarchyLayout :: IO FastSimpleHierarchyLayout newFastSimpleHierarchyLayout = IO (Ptr RawFastSimpleHierarchyLayout) -> IO FastSimpleHierarchyLayout forall a ca. Castable a ca => IO ca -> IO a xformnull IO (Ptr RawFastSimpleHierarchyLayout) c_fastsimplehierarchylayout_newfastsimplehierarchylayout fastSimpleHierarchyLayout_layerDistance :: () => FastSimpleHierarchyLayout -> CDouble -> IO () fastSimpleHierarchyLayout_layerDistance :: FastSimpleHierarchyLayout -> CDouble -> IO () fastSimpleHierarchyLayout_layerDistance = (Ptr RawFastSimpleHierarchyLayout -> CDouble -> IO ()) -> FastSimpleHierarchyLayout -> 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 RawFastSimpleHierarchyLayout -> CDouble -> IO () c_fastsimplehierarchylayout_fastsimplehierarchylayout_layerdistance fastSimpleHierarchyLayout_nodeDistance :: () => FastSimpleHierarchyLayout -> CDouble -> IO () fastSimpleHierarchyLayout_nodeDistance :: FastSimpleHierarchyLayout -> CDouble -> IO () fastSimpleHierarchyLayout_nodeDistance = (Ptr RawFastSimpleHierarchyLayout -> CDouble -> IO ()) -> FastSimpleHierarchyLayout -> 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 RawFastSimpleHierarchyLayout -> CDouble -> IO () c_fastsimplehierarchylayout_fastsimplehierarchylayout_nodedistance fastSimpleHierarchyLayout_downward :: () => FastSimpleHierarchyLayout -> CBool -> IO () fastSimpleHierarchyLayout_downward :: FastSimpleHierarchyLayout -> CBool -> IO () fastSimpleHierarchyLayout_downward = (Ptr RawFastSimpleHierarchyLayout -> CBool -> IO ()) -> FastSimpleHierarchyLayout -> 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 RawFastSimpleHierarchyLayout -> CBool -> IO () c_fastsimplehierarchylayout_fastsimplehierarchylayout_downward fastSimpleHierarchyLayout_leftToRight :: () => FastSimpleHierarchyLayout -> CBool -> IO () fastSimpleHierarchyLayout_leftToRight :: FastSimpleHierarchyLayout -> CBool -> IO () fastSimpleHierarchyLayout_leftToRight = (Ptr RawFastSimpleHierarchyLayout -> CBool -> IO ()) -> FastSimpleHierarchyLayout -> 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 RawFastSimpleHierarchyLayout -> CBool -> IO () c_fastsimplehierarchylayout_fastsimplehierarchylayout_lefttoright fastSimpleHierarchyLayout_balanced :: () => FastSimpleHierarchyLayout -> CBool -> IO () fastSimpleHierarchyLayout_balanced :: FastSimpleHierarchyLayout -> CBool -> IO () fastSimpleHierarchyLayout_balanced = (Ptr RawFastSimpleHierarchyLayout -> CBool -> IO ()) -> FastSimpleHierarchyLayout -> 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 RawFastSimpleHierarchyLayout -> CBool -> IO () c_fastsimplehierarchylayout_fastsimplehierarchylayout_balanced