{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances,
  ForeignFunctionInterface, IncoherentInstances,
  MultiParamTypeClasses, OverlappingInstances, TemplateHaskell,
  TypeFamilies, TypeSynonymInstances #-}
module HROOT.Hist.TFitResult.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 HROOT.Hist.TFitResult.RawType
import HROOT.Hist.TFitResult.FFI
import HROOT.Hist.TFitResult.Interface
import HROOT.Hist.TFitResult.Cast
import HROOT.Hist.TFitResult.RawType
import HROOT.Hist.TFitResult.Cast
import HROOT.Hist.TFitResult.Interface
import HROOT.Core.TClass.RawType
import HROOT.Core.TClass.Cast
import HROOT.Core.TClass.Interface
import HROOT.Core.TNamed.RawType
import HROOT.Core.TNamed.Cast
import HROOT.Core.TNamed.Interface
import HROOT.Core.TObject.RawType
import HROOT.Core.TObject.Cast
import HROOT.Core.TObject.Interface
import STD.Deletable.RawType
import STD.Deletable.Cast
import STD.Deletable.Interface

instance () => ITFitResult (TFitResult) where

instance () => ITNamed (TFitResult) where
        setName :: forall c0. Castable c0 CString => TFitResult -> c0 -> IO ()
setName = (Ptr RawTFitResult -> CString -> IO ())
-> TFitResult -> 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 RawTFitResult -> CString -> IO ()
c_tfitresult_setname
        setNameTitle :: forall c1 c0.
(Castable c1 CString, Castable c0 CString) =>
TFitResult -> c0 -> c1 -> IO ()
setNameTitle = (Ptr RawTFitResult -> CString -> CString -> IO ())
-> TFitResult -> c0 -> c1 -> IO ()
forall a ca x1 cx1 x2 cx2 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) =>
(ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y
xform2 Ptr RawTFitResult -> CString -> CString -> IO ()
c_tfitresult_setnametitle
        setTitle :: forall c0. Castable c0 CString => TFitResult -> c0 -> IO ()
setTitle = (Ptr RawTFitResult -> CString -> IO ())
-> TFitResult -> 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 RawTFitResult -> CString -> IO ()
c_tfitresult_settitle

instance () => ITObject (TFitResult) where
        clear :: forall c0. Castable c0 CString => TFitResult -> c0 -> IO ()
clear = (Ptr RawTFitResult -> CString -> IO ())
-> TFitResult -> 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 RawTFitResult -> CString -> IO ()
c_tfitresult_clear
        draw :: forall c0. Castable c0 CString => TFitResult -> c0 -> IO ()
draw = (Ptr RawTFitResult -> CString -> IO ())
-> TFitResult -> 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 RawTFitResult -> CString -> IO ()
c_tfitresult_draw
        findObject :: forall c0. Castable c0 CString => TFitResult -> c0 -> IO TObject
findObject = (Ptr RawTFitResult -> CString -> IO (Ptr RawTObject))
-> TFitResult -> c0 -> IO TObject
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 RawTFitResult -> CString -> IO (Ptr RawTObject)
c_tfitresult_findobject
        getName :: TFitResult -> IO CString
getName = (Ptr RawTFitResult -> IO CString) -> TFitResult -> IO CString
forall a ca y cy.
(Castable a ca, Castable y cy) =>
(ca -> IO cy) -> a -> IO y
xform0 Ptr RawTFitResult -> IO CString
c_tfitresult_getname
        isA :: TFitResult -> IO TClass
isA = (Ptr RawTFitResult -> IO (Ptr RawTClass))
-> TFitResult -> IO TClass
forall a ca y cy.
(Castable a ca, Castable y cy) =>
(ca -> IO cy) -> a -> IO y
xform0 Ptr RawTFitResult -> IO (Ptr RawTClass)
c_tfitresult_isa
        paint :: forall c0. Castable c0 CString => TFitResult -> c0 -> IO ()
paint = (Ptr RawTFitResult -> CString -> IO ())
-> TFitResult -> 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 RawTFitResult -> CString -> IO ()
c_tfitresult_paint
        printObj :: forall c0. Castable c0 CString => TFitResult -> c0 -> IO ()
printObj = (Ptr RawTFitResult -> CString -> IO ())
-> TFitResult -> 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 RawTFitResult -> CString -> IO ()
c_tfitresult_printobj
        saveAs :: forall c1 c0.
(Castable c1 CString, Castable c0 CString) =>
TFitResult -> c0 -> c1 -> IO ()
saveAs = (Ptr RawTFitResult -> CString -> CString -> IO ())
-> TFitResult -> c0 -> c1 -> IO ()
forall a ca x1 cx1 x2 cx2 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) =>
(ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y
xform2 Ptr RawTFitResult -> CString -> CString -> IO ()
c_tfitresult_saveas
        write :: forall c0.
Castable c0 CString =>
TFitResult -> c0 -> CInt -> CInt -> IO CInt
write = (Ptr RawTFitResult -> CString -> CInt -> CInt -> IO CInt)
-> TFitResult -> c0 -> CInt -> CInt -> IO CInt
forall a ca x1 cx1 x2 cx2 x3 cx3 y cy.
(Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable x3 cx3,
 Castable y cy) =>
(ca -> cx1 -> cx2 -> cx3 -> IO cy) -> a -> x1 -> x2 -> x3 -> IO y
xform3 Ptr RawTFitResult -> CString -> CInt -> CInt -> IO CInt
c_tfitresult_write
        write_ :: TFitResult -> IO CInt
write_ = (Ptr RawTFitResult -> IO CInt) -> TFitResult -> IO CInt
forall a ca y cy.
(Castable a ca, Castable y cy) =>
(ca -> IO cy) -> a -> IO y
xform0 Ptr RawTFitResult -> IO CInt
c_tfitresult_write_

instance () => IDeletable (TFitResult) where
        delete :: TFitResult -> IO ()
delete = (Ptr RawTFitResult -> IO ()) -> TFitResult -> IO ()
forall a ca y cy.
(Castable a ca, Castable y cy) =>
(ca -> IO cy) -> a -> IO y
xform0 Ptr RawTFitResult -> IO ()
c_tfitresult_delete