{-# LANGUAGE ForeignFunctionInterface, TypeFamilies,
  MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances,
  EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-}
module HROOT.Hist.TH2D.RawType where
import Foreign.Ptr
import FFICXX.Runtime.Cast

data RawTH2D

newtype TH2D = TH2D (Ptr RawTH2D)
                 deriving (TH2D -> TH2D -> Bool
(TH2D -> TH2D -> Bool) -> (TH2D -> TH2D -> Bool) -> Eq TH2D
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: TH2D -> TH2D -> Bool
== :: TH2D -> TH2D -> Bool
$c/= :: TH2D -> TH2D -> Bool
/= :: TH2D -> TH2D -> Bool
Eq, Eq TH2D
Eq TH2D
-> (TH2D -> TH2D -> Ordering)
-> (TH2D -> TH2D -> Bool)
-> (TH2D -> TH2D -> Bool)
-> (TH2D -> TH2D -> Bool)
-> (TH2D -> TH2D -> Bool)
-> (TH2D -> TH2D -> TH2D)
-> (TH2D -> TH2D -> TH2D)
-> Ord TH2D
TH2D -> TH2D -> Bool
TH2D -> TH2D -> Ordering
TH2D -> TH2D -> TH2D
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: TH2D -> TH2D -> Ordering
compare :: TH2D -> TH2D -> Ordering
$c< :: TH2D -> TH2D -> Bool
< :: TH2D -> TH2D -> Bool
$c<= :: TH2D -> TH2D -> Bool
<= :: TH2D -> TH2D -> Bool
$c> :: TH2D -> TH2D -> Bool
> :: TH2D -> TH2D -> Bool
$c>= :: TH2D -> TH2D -> Bool
>= :: TH2D -> TH2D -> Bool
$cmax :: TH2D -> TH2D -> TH2D
max :: TH2D -> TH2D -> TH2D
$cmin :: TH2D -> TH2D -> TH2D
min :: TH2D -> TH2D -> TH2D
Ord, Int -> TH2D -> ShowS
[TH2D] -> ShowS
TH2D -> String
(Int -> TH2D -> ShowS)
-> (TH2D -> String) -> ([TH2D] -> ShowS) -> Show TH2D
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> TH2D -> ShowS
showsPrec :: Int -> TH2D -> ShowS
$cshow :: TH2D -> String
show :: TH2D -> String
$cshowList :: [TH2D] -> ShowS
showList :: [TH2D] -> ShowS
Show)

instance () => FPtr (TH2D) where
        type Raw TH2D = RawTH2D
        get_fptr :: TH2D -> Ptr (Raw TH2D)
get_fptr (TH2D Ptr RawTH2D
ptr) = Ptr (Raw TH2D)
Ptr RawTH2D
ptr
        cast_fptr_to_obj :: Ptr (Raw TH2D) -> TH2D
cast_fptr_to_obj = Ptr (Raw TH2D) -> TH2D
Ptr RawTH2D -> TH2D
TH2D