{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, 
             FlexibleInstances, TypeSynonymInstances, UndecidableInstances, 
             EmptyDataDecls, IncoherentInstances #-}


module HROOT.Class where

import Foreign.C            
import Foreign.Ptr
import Foreign.ForeignPtr

import System.IO.Unsafe

import HROOT.Type
import HROOT.Function

class ITObject a where
    getName :: a -> IO String 
    draw :: a -> String -> IO () 
    saveAs :: a -> String -> String -> IO () 
    write :: a -> String -> Int -> Int -> IO Int 

class ITNamed a where
    setTitle :: a -> String -> IO () 

class ITFormula a where
    getParameter :: a -> Int -> IO Double 
    setParameter :: a -> Int -> Double -> IO () 

class ITAtt3D a where

class ITAttAxis a where
    setLabelColor :: a -> Int -> IO () 
    setLabelSize :: a -> Double -> IO () 
    setTickLength :: a -> Double -> IO () 
    setTitleOffset :: a -> Double -> IO () 
    setNdivisions :: a -> Int -> Int -> IO () 

class ITAttBBox a where

class ITAttCanvas a where

class ITAttFill a where
    setFillColor :: a -> Int -> IO () 
    setFillStyle :: a -> Int -> IO () 

class ITAttImage a where

class ITAttLine a where
    setLineColor :: a -> Int -> IO () 

class ITAttMarker a where

class ITAttPad a where

class ITAttParticle a where

class ITAttText a where
    setTextColor :: a -> Int -> IO () 
    setTextAlign :: a -> Int -> IO () 
    setTextSize :: a -> Double -> IO () 

class ITHStack a where

class ITF1 a where

class ITGraph a where

class ITGraphAsymmErrors a where

class ITCutG a where

class ITGraphBentErrors a where

class ITGraphErrors a where

class ITGraphPolar a where

class ITGraphQQ a where

class ITEllipse a where

class ITArc a where

class ITCrown a where

class ITLine a where

class ITArrow a where

class ITGaxis a where

class ITShape a where

class ITBRIK a where

class ITTUBE a where

class ITPCON a where

class ITPolyLineShape a where

class ITSPHE a where

class ITXTRU a where

class ITBox a where

class ITPave a where

class ITPaveText a where

class ITDiamond a where

class ITPaveStats a where

class ITPavesText a where

class ITLegend a where

class ITPaveLabel a where

class ITPaveClass a where

class ITWbox a where
    setBorderMode :: a -> Int -> IO () 

class ITFrame a where

class ITSliderBox a where

class ITTree a where

class ITChain a where

class ITNtuple a where

class ITNtupleD a where

class ITTreeSQL a where

class ITPolyLine a where

class ITCurlyLine a where

class ITCurlyArc a where

class ITEfficiency a where

class ITAxis a where

class ITLatex a where

class ITText a where

class ITDirectory a where
    close :: a -> String -> IO () 

class ITDirectoryFile a where

class ITFile a where

class ITBranch a where

class ITVirtualTreePlayer a where

class ITTreePlayer a where

class ITArray a where

class ITArrayC a where

class ITArrayD a where

class ITArrayF a where

class ITArrayI a where

class ITArrayL a where

class ITArrayL64 a where

class ITArrayS a where

class ITH1 a where
    getXaxis :: a -> IO TAxis 
    getYaxis :: a -> IO TAxis 
    getZaxis :: a -> IO TAxis 
    add :: (ITH1 c0, FPtr c0) => a -> c0 -> Double -> IO () 
    fill1 :: a -> Double -> IO Int 

class ITH2 a where
    fill2 :: a -> Double -> Double -> IO Int 

class ITH3 a where

class ITH1C a where

class ITH1D a where

class ITH1F a where

class ITH1I a where

class ITH1S a where

class ITH2C a where

class ITH2D a where

class ITH2F a where

class ITH2I a where

class ITH2Poly a where

class ITH2S a where

class ITH3C a where

class ITH3D a where

class ITH3F a where

class ITH3I a where

class ITH3S a where

class ITQObject a where

class ITVirtualPad a where
    getFrame :: a -> IO TFrame 
    range :: a -> Double -> Double -> Double -> Double -> IO () 

class ITPad a where

class ITButton a where

class ITGroupButton a where

class ITCanvas a where

class ITDialogCanvas a where

class ITInspectCanvas a where

class ITEvePad a where

class ITSlider a where

class ITApplication a where
    run :: a -> Int -> IO () 

class ITRint a where

instance (ITObject a, FPtr a) => Castable a (Ptr RawTObject) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITNamed a, FPtr a) => Castable a (Ptr RawTNamed) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITFormula a, FPtr a) => Castable a (Ptr RawTFormula) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAtt3D a, FPtr a) => Castable a (Ptr RawTAtt3D) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttAxis a, FPtr a) => Castable a (Ptr RawTAttAxis) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttBBox a, FPtr a) => Castable a (Ptr RawTAttBBox) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttCanvas a, FPtr a) => Castable a (Ptr RawTAttCanvas) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttFill a, FPtr a) => Castable a (Ptr RawTAttFill) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttImage a, FPtr a) => Castable a (Ptr RawTAttImage) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttLine a, FPtr a) => Castable a (Ptr RawTAttLine) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttMarker a, FPtr a) => Castable a (Ptr RawTAttMarker) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttPad a, FPtr a) => Castable a (Ptr RawTAttPad) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttParticle a, FPtr a) => Castable a (Ptr RawTAttParticle) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAttText a, FPtr a) => Castable a (Ptr RawTAttText) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITHStack a, FPtr a) => Castable a (Ptr RawTHStack) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITF1 a, FPtr a) => Castable a (Ptr RawTF1) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraph a, FPtr a) => Castable a (Ptr RawTGraph) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphAsymmErrors a, FPtr a) => Castable a (Ptr RawTGraphAsymmErrors) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCutG a, FPtr a) => Castable a (Ptr RawTCutG) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphBentErrors a, FPtr a) => Castable a (Ptr RawTGraphBentErrors) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphErrors a, FPtr a) => Castable a (Ptr RawTGraphErrors) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphPolar a, FPtr a) => Castable a (Ptr RawTGraphPolar) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGraphQQ a, FPtr a) => Castable a (Ptr RawTGraphQQ) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITEllipse a, FPtr a) => Castable a (Ptr RawTEllipse) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArc a, FPtr a) => Castable a (Ptr RawTArc) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCrown a, FPtr a) => Castable a (Ptr RawTCrown) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITLine a, FPtr a) => Castable a (Ptr RawTLine) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrow a, FPtr a) => Castable a (Ptr RawTArrow) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGaxis a, FPtr a) => Castable a (Ptr RawTGaxis) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITShape a, FPtr a) => Castable a (Ptr RawTShape) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITBRIK a, FPtr a) => Castable a (Ptr RawTBRIK) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITTUBE a, FPtr a) => Castable a (Ptr RawTTUBE) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPCON a, FPtr a) => Castable a (Ptr RawTPCON) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPolyLineShape a, FPtr a) => Castable a (Ptr RawTPolyLineShape) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITSPHE a, FPtr a) => Castable a (Ptr RawTSPHE) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITXTRU a, FPtr a) => Castable a (Ptr RawTXTRU) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITBox a, FPtr a) => Castable a (Ptr RawTBox) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPave a, FPtr a) => Castable a (Ptr RawTPave) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPaveText a, FPtr a) => Castable a (Ptr RawTPaveText) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITDiamond a, FPtr a) => Castable a (Ptr RawTDiamond) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPaveStats a, FPtr a) => Castable a (Ptr RawTPaveStats) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPavesText a, FPtr a) => Castable a (Ptr RawTPavesText) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITLegend a, FPtr a) => Castable a (Ptr RawTLegend) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPaveLabel a, FPtr a) => Castable a (Ptr RawTPaveLabel) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPaveClass a, FPtr a) => Castable a (Ptr RawTPaveClass) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITWbox a, FPtr a) => Castable a (Ptr RawTWbox) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITFrame a, FPtr a) => Castable a (Ptr RawTFrame) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITSliderBox a, FPtr a) => Castable a (Ptr RawTSliderBox) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITTree a, FPtr a) => Castable a (Ptr RawTTree) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITChain a, FPtr a) => Castable a (Ptr RawTChain) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITNtuple a, FPtr a) => Castable a (Ptr RawTNtuple) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITNtupleD a, FPtr a) => Castable a (Ptr RawTNtupleD) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITTreeSQL a, FPtr a) => Castable a (Ptr RawTTreeSQL) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPolyLine a, FPtr a) => Castable a (Ptr RawTPolyLine) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCurlyLine a, FPtr a) => Castable a (Ptr RawTCurlyLine) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCurlyArc a, FPtr a) => Castable a (Ptr RawTCurlyArc) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITEfficiency a, FPtr a) => Castable a (Ptr RawTEfficiency) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITAxis a, FPtr a) => Castable a (Ptr RawTAxis) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITLatex a, FPtr a) => Castable a (Ptr RawTLatex) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITText a, FPtr a) => Castable a (Ptr RawTText) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITDirectory a, FPtr a) => Castable a (Ptr RawTDirectory) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITDirectoryFile a, FPtr a) => Castable a (Ptr RawTDirectoryFile) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITFile a, FPtr a) => Castable a (Ptr RawTFile) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITBranch a, FPtr a) => Castable a (Ptr RawTBranch) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITVirtualTreePlayer a, FPtr a) => Castable a (Ptr RawTVirtualTreePlayer) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITTreePlayer a, FPtr a) => Castable a (Ptr RawTTreePlayer) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArray a, FPtr a) => Castable a (Ptr RawTArray) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayC a, FPtr a) => Castable a (Ptr RawTArrayC) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayD a, FPtr a) => Castable a (Ptr RawTArrayD) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayF a, FPtr a) => Castable a (Ptr RawTArrayF) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayI a, FPtr a) => Castable a (Ptr RawTArrayI) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayL a, FPtr a) => Castable a (Ptr RawTArrayL) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayL64 a, FPtr a) => Castable a (Ptr RawTArrayL64) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITArrayS a, FPtr a) => Castable a (Ptr RawTArrayS) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1 a, FPtr a) => Castable a (Ptr RawTH1) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2 a, FPtr a) => Castable a (Ptr RawTH2) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3 a, FPtr a) => Castable a (Ptr RawTH3) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1C a, FPtr a) => Castable a (Ptr RawTH1C) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1D a, FPtr a) => Castable a (Ptr RawTH1D) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1F a, FPtr a) => Castable a (Ptr RawTH1F) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1I a, FPtr a) => Castable a (Ptr RawTH1I) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH1S a, FPtr a) => Castable a (Ptr RawTH1S) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2C a, FPtr a) => Castable a (Ptr RawTH2C) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2D a, FPtr a) => Castable a (Ptr RawTH2D) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2F a, FPtr a) => Castable a (Ptr RawTH2F) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2I a, FPtr a) => Castable a (Ptr RawTH2I) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2Poly a, FPtr a) => Castable a (Ptr RawTH2Poly) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH2S a, FPtr a) => Castable a (Ptr RawTH2S) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3C a, FPtr a) => Castable a (Ptr RawTH3C) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3D a, FPtr a) => Castable a (Ptr RawTH3D) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3F a, FPtr a) => Castable a (Ptr RawTH3F) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3I a, FPtr a) => Castable a (Ptr RawTH3I) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITH3S a, FPtr a) => Castable a (Ptr RawTH3S) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITQObject a, FPtr a) => Castable a (Ptr RawTQObject) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITVirtualPad a, FPtr a) => Castable a (Ptr RawTVirtualPad) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITPad a, FPtr a) => Castable a (Ptr RawTPad) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITButton a, FPtr a) => Castable a (Ptr RawTButton) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITGroupButton a, FPtr a) => Castable a (Ptr RawTGroupButton) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITCanvas a, FPtr a) => Castable a (Ptr RawTCanvas) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITDialogCanvas a, FPtr a) => Castable a (Ptr RawTDialogCanvas) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITInspectCanvas a, FPtr a) => Castable a (Ptr RawTInspectCanvas) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITEvePad a, FPtr a) => Castable a (Ptr RawTEvePad) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITSlider a, FPtr a) => Castable a (Ptr RawTSlider) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITApplication a, FPtr a) => Castable a (Ptr RawTApplication) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance (ITRint a, FPtr a) => Castable a (Ptr RawTRint) where
  cast = unsafeForeignPtrToPtr . castForeignPtr . get_fptr
  uncast = cast_fptr_to_obj . castForeignPtr . unsafePerformIO . newForeignPtr_ 

instance ITObject TObject where
  getName = xform0 c_tobject_getname
  draw = xform1 c_tobject_draw
  saveAs = xform2 c_tobject_saveas
  write = xform3 c_tobject_write

instance ITNamed TNamed where
  setTitle = xform1 c_tnamed_settitle

instance ITFormula TFormula where
  getParameter = xform1 c_tformula_getparameter
  setParameter = xform2 c_tformula_setparameter

instance ITAtt3D TAtt3D where

instance ITAttAxis TAttAxis where
  setLabelColor = xform1 c_tattaxis_setlabelcolor
  setLabelSize = xform1 c_tattaxis_setlabelsize
  setTickLength = xform1 c_tattaxis_setticklength
  setTitleOffset = xform1 c_tattaxis_settitleoffset
  setNdivisions = xform2 c_tattaxis_setndivisions

instance ITAttBBox TAttBBox where

instance ITAttCanvas TAttCanvas where

instance ITAttFill TAttFill where
  setFillColor = xform1 c_tattfill_setfillcolor
  setFillStyle = xform1 c_tattfill_setfillstyle

instance ITAttImage TAttImage where

instance ITAttLine TAttLine where
  setLineColor = xform1 c_tattline_setlinecolor

instance ITAttMarker TAttMarker where

instance ITAttPad TAttPad where

instance ITAttParticle TAttParticle where

instance ITAttText TAttText where
  setTextColor = xform1 c_tatttext_settextcolor
  setTextAlign = xform1 c_tatttext_settextalign
  setTextSize = xform1 c_tatttext_settextsize

instance ITHStack THStack where

instance ITF1 TF1 where

instance ITGraph TGraph where

instance ITGraphAsymmErrors TGraphAsymmErrors where

instance ITCutG TCutG where

instance ITGraphBentErrors TGraphBentErrors where

instance ITGraphErrors TGraphErrors where

instance ITGraphPolar TGraphPolar where

instance ITGraphQQ TGraphQQ where

instance ITEllipse TEllipse where

instance ITArc TArc where

instance ITCrown TCrown where

instance ITLine TLine where

instance ITArrow TArrow where

instance ITGaxis TGaxis where

instance ITShape TShape where

instance ITBRIK TBRIK where

instance ITTUBE TTUBE where

instance ITPCON TPCON where

instance ITPolyLineShape TPolyLineShape where

instance ITSPHE TSPHE where

instance ITXTRU TXTRU where

instance ITBox TBox where

instance ITPave TPave where

instance ITPaveText TPaveText where

instance ITDiamond TDiamond where

instance ITPaveStats TPaveStats where

instance ITPavesText TPavesText where

instance ITLegend TLegend where

instance ITPaveLabel TPaveLabel where

instance ITPaveClass TPaveClass where

instance ITWbox TWbox where
  setBorderMode = xform1 c_twbox_setbordermode

instance ITFrame TFrame where

instance ITSliderBox TSliderBox where

instance ITTree TTree where

instance ITChain TChain where

instance ITNtuple TNtuple where

instance ITNtupleD TNtupleD where

instance ITTreeSQL TTreeSQL where

instance ITPolyLine TPolyLine where

instance ITCurlyLine TCurlyLine where

instance ITCurlyArc TCurlyArc where

instance ITEfficiency TEfficiency where

instance ITAxis TAxis where

instance ITLatex TLatex where

instance ITText TText where

instance ITDirectory TDirectory where
  close = xform1 c_tdirectory_close

instance ITDirectoryFile TDirectoryFile where

instance ITFile TFile where

instance ITBranch TBranch where

instance ITVirtualTreePlayer TVirtualTreePlayer where

instance ITTreePlayer TTreePlayer where

instance ITArray TArray where

instance ITArrayC TArrayC where

instance ITArrayD TArrayD where

instance ITArrayF TArrayF where

instance ITArrayI TArrayI where

instance ITArrayL TArrayL where

instance ITArrayL64 TArrayL64 where

instance ITArrayS TArrayS where

instance ITH1 TH1 where
  getXaxis = xform0 c_th1_getxaxis
  getYaxis = xform0 c_th1_getyaxis
  getZaxis = xform0 c_th1_getzaxis
  add = xform2 c_th1_add
  fill1 = xform1 c_th1_fill1

instance ITH2 TH2 where
  fill2 = xform2 c_th2_fill2

instance ITH3 TH3 where

instance ITH1C TH1C where

instance ITH1D TH1D where

instance ITH1F TH1F where

instance ITH1I TH1I where

instance ITH1S TH1S where

instance ITH2C TH2C where

instance ITH2D TH2D where

instance ITH2F TH2F where

instance ITH2I TH2I where

instance ITH2Poly TH2Poly where

instance ITH2S TH2S where

instance ITH3C TH3C where

instance ITH3D TH3D where

instance ITH3F TH3F where

instance ITH3I TH3I where

instance ITH3S TH3S where

instance ITQObject TQObject where

instance ITVirtualPad TVirtualPad where
  getFrame = xform0 c_tvirtualpad_getframe
  range = xform4 c_tvirtualpad_range

instance ITPad TPad where

instance ITButton TButton where

instance ITGroupButton TGroupButton where

instance ITCanvas TCanvas where

instance ITDialogCanvas TDialogCanvas where

instance ITInspectCanvas TInspectCanvas where

instance ITEvePad TEvePad where

instance ITSlider TSlider where

instance ITApplication TApplication where
  run = xform1 c_tapplication_run

instance ITRint TRint where

instance ITApplication TRint where
  run = xform1 c_trint_run

instance ITArray TH3S where
instance ITArray TH3I where
instance ITArray TH3F where
instance ITArray TH3D where
instance ITArray TH3C where
instance ITArray TH2S where
instance ITArray TH2I where
instance ITArray TH2F where
instance ITArray TH2D where
instance ITArray TH2C where
instance ITArray TH1S where
instance ITArray TH1I where
instance ITArray TH1F where
instance ITArray TH1D where
instance ITArray TH1C where
instance ITArray TArrayS where
instance ITArray TArrayL64 where
instance ITArray TArrayL where
instance ITArray TArrayI where
instance ITArray TArrayF where
instance ITArray TArrayD where
instance ITArray TArrayC where

instance ITArrayC TH3C where
instance ITArrayC TH2C where
instance ITArrayC TH1C where

instance ITArrayD TH3D where
instance ITArrayD TH2D where
instance ITArrayD TH1D where

instance ITArrayF TH3F where
instance ITArrayF TH2F where
instance ITArrayF TH1F where

instance ITArrayI TH3I where
instance ITArrayI TH2I where
instance ITArrayI TH1I where

instance ITArrayS TH3S where
instance ITArrayS TH2S where
instance ITArrayS TH1S where

instance ITAtt3D TH3S where
instance ITAtt3D TH3I where
instance ITAtt3D TH3F where
instance ITAtt3D TH3D where
instance ITAtt3D TH3C where
instance ITAtt3D TH3 where
instance ITAtt3D TXTRU where
instance ITAtt3D TSPHE where
instance ITAtt3D TPolyLineShape where
instance ITAtt3D TPCON where
instance ITAtt3D TTUBE where
instance ITAtt3D TBRIK where
instance ITAtt3D TShape where

instance ITAttAxis TAxis where
  setLabelColor = xform1 c_taxis_setlabelcolor
  setLabelSize = xform1 c_taxis_setlabelsize
  setTickLength = xform1 c_taxis_setticklength
  setTitleOffset = xform1 c_taxis_settitleoffset
  setNdivisions = xform2 c_taxis_setndivisions

instance ITAttFill TSlider where
  setFillColor = xform1 c_tslider_setfillcolor
  setFillStyle = xform1 c_tslider_setfillstyle
instance ITAttFill TEvePad where
  setFillColor = xform1 c_tevepad_setfillcolor
  setFillStyle = xform1 c_tevepad_setfillstyle
instance ITAttFill TInspectCanvas where
  setFillColor = xform1 c_tinspectcanvas_setfillcolor
  setFillStyle = xform1 c_tinspectcanvas_setfillstyle
instance ITAttFill TDialogCanvas where
  setFillColor = xform1 c_tdialogcanvas_setfillcolor
  setFillStyle = xform1 c_tdialogcanvas_setfillstyle
instance ITAttFill TCanvas where
  setFillColor = xform1 c_tcanvas_setfillcolor
  setFillStyle = xform1 c_tcanvas_setfillstyle
instance ITAttFill TGroupButton where
  setFillColor = xform1 c_tgroupbutton_setfillcolor
  setFillStyle = xform1 c_tgroupbutton_setfillstyle
instance ITAttFill TButton where
  setFillColor = xform1 c_tbutton_setfillcolor
  setFillStyle = xform1 c_tbutton_setfillstyle
instance ITAttFill TPad where
  setFillColor = xform1 c_tpad_setfillcolor
  setFillStyle = xform1 c_tpad_setfillstyle
instance ITAttFill TVirtualPad where
  setFillColor = xform1 c_tvirtualpad_setfillcolor
  setFillStyle = xform1 c_tvirtualpad_setfillstyle
instance ITAttFill TH3S where
  setFillColor = xform1 c_th3s_setfillcolor
  setFillStyle = xform1 c_th3s_setfillstyle
instance ITAttFill TH3I where
  setFillColor = xform1 c_th3i_setfillcolor
  setFillStyle = xform1 c_th3i_setfillstyle
instance ITAttFill TH3F where
  setFillColor = xform1 c_th3f_setfillcolor
  setFillStyle = xform1 c_th3f_setfillstyle
instance ITAttFill TH3D where
  setFillColor = xform1 c_th3d_setfillcolor
  setFillStyle = xform1 c_th3d_setfillstyle
instance ITAttFill TH3C where
  setFillColor = xform1 c_th3c_setfillcolor
  setFillStyle = xform1 c_th3c_setfillstyle
instance ITAttFill TH2S where
  setFillColor = xform1 c_th2s_setfillcolor
  setFillStyle = xform1 c_th2s_setfillstyle
instance ITAttFill TH2Poly where
  setFillColor = xform1 c_th2poly_setfillcolor
  setFillStyle = xform1 c_th2poly_setfillstyle
instance ITAttFill TH2I where
  setFillColor = xform1 c_th2i_setfillcolor
  setFillStyle = xform1 c_th2i_setfillstyle
instance ITAttFill TH2F where
  setFillColor = xform1 c_th2f_setfillcolor
  setFillStyle = xform1 c_th2f_setfillstyle
instance ITAttFill TH2D where
  setFillColor = xform1 c_th2d_setfillcolor
  setFillStyle = xform1 c_th2d_setfillstyle
instance ITAttFill TH2C where
  setFillColor = xform1 c_th2c_setfillcolor
  setFillStyle = xform1 c_th2c_setfillstyle
instance ITAttFill TH1S where
  setFillColor = xform1 c_th1s_setfillcolor
  setFillStyle = xform1 c_th1s_setfillstyle
instance ITAttFill TH1I where
  setFillColor = xform1 c_th1i_setfillcolor
  setFillStyle = xform1 c_th1i_setfillstyle
instance ITAttFill TH1F where
  setFillColor = xform1 c_th1f_setfillcolor
  setFillStyle = xform1 c_th1f_setfillstyle
instance ITAttFill TH1D where
  setFillColor = xform1 c_th1d_setfillcolor
  setFillStyle = xform1 c_th1d_setfillstyle
instance ITAttFill TH1C where
  setFillColor = xform1 c_th1c_setfillcolor
  setFillStyle = xform1 c_th1c_setfillstyle
instance ITAttFill TH3 where
  setFillColor = xform1 c_th3_setfillcolor
  setFillStyle = xform1 c_th3_setfillstyle
instance ITAttFill TH2 where
  setFillColor = xform1 c_th2_setfillcolor
  setFillStyle = xform1 c_th2_setfillstyle
instance ITAttFill TH1 where
  setFillColor = xform1 c_th1_setfillcolor
  setFillStyle = xform1 c_th1_setfillstyle
instance ITAttFill TBranch where
  setFillColor = xform1 c_tbranch_setfillcolor
  setFillStyle = xform1 c_tbranch_setfillstyle
instance ITAttFill TEfficiency where
  setFillColor = xform1 c_tefficiency_setfillcolor
  setFillStyle = xform1 c_tefficiency_setfillstyle
instance ITAttFill TCurlyArc where
  setFillColor = xform1 c_tcurlyarc_setfillcolor
  setFillStyle = xform1 c_tcurlyarc_setfillstyle
instance ITAttFill TCurlyLine where
  setFillColor = xform1 c_tcurlyline_setfillcolor
  setFillStyle = xform1 c_tcurlyline_setfillstyle
instance ITAttFill TPolyLine where
  setFillColor = xform1 c_tpolyline_setfillcolor
  setFillStyle = xform1 c_tpolyline_setfillstyle
instance ITAttFill TTreeSQL where
  setFillColor = xform1 c_ttreesql_setfillcolor
  setFillStyle = xform1 c_ttreesql_setfillstyle
instance ITAttFill TNtupleD where
  setFillColor = xform1 c_tntupled_setfillcolor
  setFillStyle = xform1 c_tntupled_setfillstyle
instance ITAttFill TNtuple where
  setFillColor = xform1 c_tntuple_setfillcolor
  setFillStyle = xform1 c_tntuple_setfillstyle
instance ITAttFill TChain where
  setFillColor = xform1 c_tchain_setfillcolor
  setFillStyle = xform1 c_tchain_setfillstyle
instance ITAttFill TTree where
  setFillColor = xform1 c_ttree_setfillcolor
  setFillStyle = xform1 c_ttree_setfillstyle
instance ITAttFill TSliderBox where
  setFillColor = xform1 c_tsliderbox_setfillcolor
  setFillStyle = xform1 c_tsliderbox_setfillstyle
instance ITAttFill TFrame where
  setFillColor = xform1 c_tframe_setfillcolor
  setFillStyle = xform1 c_tframe_setfillstyle
instance ITAttFill TWbox where
  setFillColor = xform1 c_twbox_setfillcolor
  setFillStyle = xform1 c_twbox_setfillstyle
instance ITAttFill TPaveClass where
  setFillColor = xform1 c_tpaveclass_setfillcolor
  setFillStyle = xform1 c_tpaveclass_setfillstyle
instance ITAttFill TPaveLabel where
  setFillColor = xform1 c_tpavelabel_setfillcolor
  setFillStyle = xform1 c_tpavelabel_setfillstyle
instance ITAttFill TLegend where
  setFillColor = xform1 c_tlegend_setfillcolor
  setFillStyle = xform1 c_tlegend_setfillstyle
instance ITAttFill TPavesText where
  setFillColor = xform1 c_tpavestext_setfillcolor
  setFillStyle = xform1 c_tpavestext_setfillstyle
instance ITAttFill TPaveStats where
  setFillColor = xform1 c_tpavestats_setfillcolor
  setFillStyle = xform1 c_tpavestats_setfillstyle
instance ITAttFill TDiamond where
  setFillColor = xform1 c_tdiamond_setfillcolor
  setFillStyle = xform1 c_tdiamond_setfillstyle
instance ITAttFill TPaveText where
  setFillColor = xform1 c_tpavetext_setfillcolor
  setFillStyle = xform1 c_tpavetext_setfillstyle
instance ITAttFill TPave where
  setFillColor = xform1 c_tpave_setfillcolor
  setFillStyle = xform1 c_tpave_setfillstyle
instance ITAttFill TBox where
  setFillColor = xform1 c_tbox_setfillcolor
  setFillStyle = xform1 c_tbox_setfillstyle
instance ITAttFill TXTRU where
  setFillColor = xform1 c_txtru_setfillcolor
  setFillStyle = xform1 c_txtru_setfillstyle
instance ITAttFill TSPHE where
  setFillColor = xform1 c_tsphe_setfillcolor
  setFillStyle = xform1 c_tsphe_setfillstyle
instance ITAttFill TPolyLineShape where
  setFillColor = xform1 c_tpolylineshape_setfillcolor
  setFillStyle = xform1 c_tpolylineshape_setfillstyle
instance ITAttFill TPCON where
  setFillColor = xform1 c_tpcon_setfillcolor
  setFillStyle = xform1 c_tpcon_setfillstyle
instance ITAttFill TTUBE where
  setFillColor = xform1 c_ttube_setfillcolor
  setFillStyle = xform1 c_ttube_setfillstyle
instance ITAttFill TBRIK where
  setFillColor = xform1 c_tbrik_setfillcolor
  setFillStyle = xform1 c_tbrik_setfillstyle
instance ITAttFill TShape where
  setFillColor = xform1 c_tshape_setfillcolor
  setFillStyle = xform1 c_tshape_setfillstyle
instance ITAttFill TArrow where
  setFillColor = xform1 c_tarrow_setfillcolor
  setFillStyle = xform1 c_tarrow_setfillstyle
instance ITAttFill TCrown where
  setFillColor = xform1 c_tcrown_setfillcolor
  setFillStyle = xform1 c_tcrown_setfillstyle
instance ITAttFill TArc where
  setFillColor = xform1 c_tarc_setfillcolor
  setFillStyle = xform1 c_tarc_setfillstyle
instance ITAttFill TEllipse where
  setFillColor = xform1 c_tellipse_setfillcolor
  setFillStyle = xform1 c_tellipse_setfillstyle
instance ITAttFill TGraphQQ where
  setFillColor = xform1 c_tgraphqq_setfillcolor
  setFillStyle = xform1 c_tgraphqq_setfillstyle
instance ITAttFill TGraphPolar where
  setFillColor = xform1 c_tgraphpolar_setfillcolor
  setFillStyle = xform1 c_tgraphpolar_setfillstyle
instance ITAttFill TGraphErrors where
  setFillColor = xform1 c_tgrapherrors_setfillcolor
  setFillStyle = xform1 c_tgrapherrors_setfillstyle
instance ITAttFill TGraphBentErrors where
  setFillColor = xform1 c_tgraphbenterrors_setfillcolor
  setFillStyle = xform1 c_tgraphbenterrors_setfillstyle
instance ITAttFill TCutG where
  setFillColor = xform1 c_tcutg_setfillcolor
  setFillStyle = xform1 c_tcutg_setfillstyle
instance ITAttFill TGraphAsymmErrors where
  setFillColor = xform1 c_tgraphasymmerrors_setfillcolor
  setFillStyle = xform1 c_tgraphasymmerrors_setfillstyle
instance ITAttFill TGraph where
  setFillColor = xform1 c_tgraph_setfillcolor
  setFillStyle = xform1 c_tgraph_setfillstyle
instance ITAttFill TF1 where
  setFillColor = xform1 c_tf1_setfillcolor
  setFillStyle = xform1 c_tf1_setfillstyle

instance ITAttLine TSlider where
  setLineColor = xform1 c_tslider_setlinecolor
instance ITAttLine TEvePad where
  setLineColor = xform1 c_tevepad_setlinecolor
instance ITAttLine TInspectCanvas where
  setLineColor = xform1 c_tinspectcanvas_setlinecolor
instance ITAttLine TDialogCanvas where
  setLineColor = xform1 c_tdialogcanvas_setlinecolor
instance ITAttLine TCanvas where
  setLineColor = xform1 c_tcanvas_setlinecolor
instance ITAttLine TGroupButton where
  setLineColor = xform1 c_tgroupbutton_setlinecolor
instance ITAttLine TButton where
  setLineColor = xform1 c_tbutton_setlinecolor
instance ITAttLine TPad where
  setLineColor = xform1 c_tpad_setlinecolor
instance ITAttLine TVirtualPad where
  setLineColor = xform1 c_tvirtualpad_setlinecolor
instance ITAttLine TH3S where
  setLineColor = xform1 c_th3s_setlinecolor
instance ITAttLine TH3I where
  setLineColor = xform1 c_th3i_setlinecolor
instance ITAttLine TH3F where
  setLineColor = xform1 c_th3f_setlinecolor
instance ITAttLine TH3D where
  setLineColor = xform1 c_th3d_setlinecolor
instance ITAttLine TH3C where
  setLineColor = xform1 c_th3c_setlinecolor
instance ITAttLine TH2S where
  setLineColor = xform1 c_th2s_setlinecolor
instance ITAttLine TH2Poly where
  setLineColor = xform1 c_th2poly_setlinecolor
instance ITAttLine TH2I where
  setLineColor = xform1 c_th2i_setlinecolor
instance ITAttLine TH2F where
  setLineColor = xform1 c_th2f_setlinecolor
instance ITAttLine TH2D where
  setLineColor = xform1 c_th2d_setlinecolor
instance ITAttLine TH2C where
  setLineColor = xform1 c_th2c_setlinecolor
instance ITAttLine TH1S where
  setLineColor = xform1 c_th1s_setlinecolor
instance ITAttLine TH1I where
  setLineColor = xform1 c_th1i_setlinecolor
instance ITAttLine TH1F where
  setLineColor = xform1 c_th1f_setlinecolor
instance ITAttLine TH1D where
  setLineColor = xform1 c_th1d_setlinecolor
instance ITAttLine TH1C where
  setLineColor = xform1 c_th1c_setlinecolor
instance ITAttLine TH3 where
  setLineColor = xform1 c_th3_setlinecolor
instance ITAttLine TH2 where
  setLineColor = xform1 c_th2_setlinecolor
instance ITAttLine TH1 where
  setLineColor = xform1 c_th1_setlinecolor
instance ITAttLine TLatex where
  setLineColor = xform1 c_tlatex_setlinecolor
instance ITAttLine TEfficiency where
  setLineColor = xform1 c_tefficiency_setlinecolor
instance ITAttLine TCurlyArc where
  setLineColor = xform1 c_tcurlyarc_setlinecolor
instance ITAttLine TCurlyLine where
  setLineColor = xform1 c_tcurlyline_setlinecolor
instance ITAttLine TPolyLine where
  setLineColor = xform1 c_tpolyline_setlinecolor
instance ITAttLine TTreeSQL where
  setLineColor = xform1 c_ttreesql_setlinecolor
instance ITAttLine TNtupleD where
  setLineColor = xform1 c_tntupled_setlinecolor
instance ITAttLine TNtuple where
  setLineColor = xform1 c_tntuple_setlinecolor
instance ITAttLine TChain where
  setLineColor = xform1 c_tchain_setlinecolor
instance ITAttLine TTree where
  setLineColor = xform1 c_ttree_setlinecolor
instance ITAttLine TSliderBox where
  setLineColor = xform1 c_tsliderbox_setlinecolor
instance ITAttLine TFrame where
  setLineColor = xform1 c_tframe_setlinecolor
instance ITAttLine TWbox where
  setLineColor = xform1 c_twbox_setlinecolor
instance ITAttLine TPaveClass where
  setLineColor = xform1 c_tpaveclass_setlinecolor
instance ITAttLine TPaveLabel where
  setLineColor = xform1 c_tpavelabel_setlinecolor
instance ITAttLine TLegend where
  setLineColor = xform1 c_tlegend_setlinecolor
instance ITAttLine TPavesText where
  setLineColor = xform1 c_tpavestext_setlinecolor
instance ITAttLine TPaveStats where
  setLineColor = xform1 c_tpavestats_setlinecolor
instance ITAttLine TDiamond where
  setLineColor = xform1 c_tdiamond_setlinecolor
instance ITAttLine TPaveText where
  setLineColor = xform1 c_tpavetext_setlinecolor
instance ITAttLine TPave where
  setLineColor = xform1 c_tpave_setlinecolor
instance ITAttLine TBox where
  setLineColor = xform1 c_tbox_setlinecolor
instance ITAttLine TXTRU where
  setLineColor = xform1 c_txtru_setlinecolor
instance ITAttLine TSPHE where
  setLineColor = xform1 c_tsphe_setlinecolor
instance ITAttLine TPolyLineShape where
  setLineColor = xform1 c_tpolylineshape_setlinecolor
instance ITAttLine TPCON where
  setLineColor = xform1 c_tpcon_setlinecolor
instance ITAttLine TTUBE where
  setLineColor = xform1 c_ttube_setlinecolor
instance ITAttLine TBRIK where
  setLineColor = xform1 c_tbrik_setlinecolor
instance ITAttLine TShape where
  setLineColor = xform1 c_tshape_setlinecolor
instance ITAttLine TGaxis where
  setLineColor = xform1 c_tgaxis_setlinecolor
instance ITAttLine TArrow where
  setLineColor = xform1 c_tarrow_setlinecolor
instance ITAttLine TLine where
  setLineColor = xform1 c_tline_setlinecolor
instance ITAttLine TCrown where
  setLineColor = xform1 c_tcrown_setlinecolor
instance ITAttLine TArc where
  setLineColor = xform1 c_tarc_setlinecolor
instance ITAttLine TEllipse where
  setLineColor = xform1 c_tellipse_setlinecolor
instance ITAttLine TGraphQQ where
  setLineColor = xform1 c_tgraphqq_setlinecolor
instance ITAttLine TGraphPolar where
  setLineColor = xform1 c_tgraphpolar_setlinecolor
instance ITAttLine TGraphErrors where
  setLineColor = xform1 c_tgrapherrors_setlinecolor
instance ITAttLine TGraphBentErrors where
  setLineColor = xform1 c_tgraphbenterrors_setlinecolor
instance ITAttLine TCutG where
  setLineColor = xform1 c_tcutg_setlinecolor
instance ITAttLine TGraphAsymmErrors where
  setLineColor = xform1 c_tgraphasymmerrors_setlinecolor
instance ITAttLine TGraph where
  setLineColor = xform1 c_tgraph_setlinecolor
instance ITAttLine TF1 where
  setLineColor = xform1 c_tf1_setlinecolor

instance ITAttMarker TH3S where
instance ITAttMarker TH3I where
instance ITAttMarker TH3F where
instance ITAttMarker TH3D where
instance ITAttMarker TH3C where
instance ITAttMarker TH2S where
instance ITAttMarker TH2Poly where
instance ITAttMarker TH2I where
instance ITAttMarker TH2F where
instance ITAttMarker TH2D where
instance ITAttMarker TH2C where
instance ITAttMarker TH1S where
instance ITAttMarker TH1I where
instance ITAttMarker TH1F where
instance ITAttMarker TH1D where
instance ITAttMarker TH1C where
instance ITAttMarker TH3 where
instance ITAttMarker TH2 where
instance ITAttMarker TH1 where
instance ITAttMarker TEfficiency where
instance ITAttMarker TTreeSQL where
instance ITAttMarker TNtupleD where
instance ITAttMarker TNtuple where
instance ITAttMarker TChain where
instance ITAttMarker TTree where
instance ITAttMarker TPolyLineShape where
instance ITAttMarker TGraphQQ where
instance ITAttMarker TGraphPolar where
instance ITAttMarker TGraphErrors where
instance ITAttMarker TGraphBentErrors where
instance ITAttMarker TCutG where
instance ITAttMarker TGraphAsymmErrors where
instance ITAttMarker TGraph where

instance ITAttPad TSlider where
instance ITAttPad TEvePad where
instance ITAttPad TInspectCanvas where
instance ITAttPad TDialogCanvas where
instance ITAttPad TCanvas where
instance ITAttPad TGroupButton where
instance ITAttPad TButton where
instance ITAttPad TPad where
instance ITAttPad TVirtualPad where

instance ITAttText TInspectCanvas where
  setTextColor = xform1 c_tinspectcanvas_settextcolor
  setTextAlign = xform1 c_tinspectcanvas_settextalign
  setTextSize = xform1 c_tinspectcanvas_settextsize
instance ITAttText TDialogCanvas where
  setTextColor = xform1 c_tdialogcanvas_settextcolor
  setTextAlign = xform1 c_tdialogcanvas_settextalign
  setTextSize = xform1 c_tdialogcanvas_settextsize
instance ITAttText TGroupButton where
  setTextColor = xform1 c_tgroupbutton_settextcolor
  setTextAlign = xform1 c_tgroupbutton_settextalign
  setTextSize = xform1 c_tgroupbutton_settextsize
instance ITAttText TButton where
  setTextColor = xform1 c_tbutton_settextcolor
  setTextAlign = xform1 c_tbutton_settextalign
  setTextSize = xform1 c_tbutton_settextsize
instance ITAttText TText where
  setTextColor = xform1 c_ttext_settextcolor
  setTextAlign = xform1 c_ttext_settextalign
  setTextSize = xform1 c_ttext_settextsize
instance ITAttText TLatex where
  setTextColor = xform1 c_tlatex_settextcolor
  setTextAlign = xform1 c_tlatex_settextalign
  setTextSize = xform1 c_tlatex_settextsize
instance ITAttText TPaveClass where
  setTextColor = xform1 c_tpaveclass_settextcolor
  setTextAlign = xform1 c_tpaveclass_settextalign
  setTextSize = xform1 c_tpaveclass_settextsize
instance ITAttText TPaveLabel where
  setTextColor = xform1 c_tpavelabel_settextcolor
  setTextAlign = xform1 c_tpavelabel_settextalign
  setTextSize = xform1 c_tpavelabel_settextsize
instance ITAttText TLegend where
  setTextColor = xform1 c_tlegend_settextcolor
  setTextAlign = xform1 c_tlegend_settextalign
  setTextSize = xform1 c_tlegend_settextsize
instance ITAttText TPavesText where
  setTextColor = xform1 c_tpavestext_settextcolor
  setTextAlign = xform1 c_tpavestext_settextalign
  setTextSize = xform1 c_tpavestext_settextsize
instance ITAttText TPaveStats where
  setTextColor = xform1 c_tpavestats_settextcolor
  setTextAlign = xform1 c_tpavestats_settextalign
  setTextSize = xform1 c_tpavestats_settextsize
instance ITAttText TDiamond where
  setTextColor = xform1 c_tdiamond_settextcolor
  setTextAlign = xform1 c_tdiamond_settextalign
  setTextSize = xform1 c_tdiamond_settextsize
instance ITAttText TPaveText where
  setTextColor = xform1 c_tpavetext_settextcolor
  setTextAlign = xform1 c_tpavetext_settextalign
  setTextSize = xform1 c_tpavetext_settextsize
instance ITAttText TGaxis where
  setTextColor = xform1 c_tgaxis_settextcolor
  setTextAlign = xform1 c_tgaxis_settextalign
  setTextSize = xform1 c_tgaxis_settextsize

instance ITBox TSliderBox where
instance ITBox TFrame where
instance ITBox TWbox where
instance ITBox TPaveClass where
instance ITBox TPaveLabel where
instance ITBox TLegend where
instance ITBox TPavesText where
instance ITBox TPaveStats where
instance ITBox TDiamond where
instance ITBox TPaveText where
instance ITBox TPave where

instance ITButton TGroupButton where

instance ITCanvas TInspectCanvas where
instance ITCanvas TDialogCanvas where

instance ITCurlyLine TCurlyArc where

instance ITDirectory TFile where
  close = xform1 c_tfile_close
instance ITDirectory TDirectoryFile where
  close = xform1 c_tdirectoryfile_close

instance ITDirectoryFile TFile where

instance ITEllipse TCrown where
instance ITEllipse TArc where

instance ITFormula TF1 where
  getParameter = xform1 c_tf1_getparameter
  setParameter = xform2 c_tf1_setparameter

instance ITGraph TGraphQQ where
instance ITGraph TGraphPolar where
instance ITGraph TGraphErrors where
instance ITGraph TGraphBentErrors where
instance ITGraph TCutG where
instance ITGraph TGraphAsymmErrors where

instance ITGraphErrors TGraphPolar where

instance ITH1 TH3S where
  getXaxis = xform0 c_th3s_getxaxis
  getYaxis = xform0 c_th3s_getyaxis
  getZaxis = xform0 c_th3s_getzaxis
  add = xform2 c_th3s_add
  fill1 = xform1 c_th3s_fill1
instance ITH1 TH3I where
  getXaxis = xform0 c_th3i_getxaxis
  getYaxis = xform0 c_th3i_getyaxis
  getZaxis = xform0 c_th3i_getzaxis
  add = xform2 c_th3i_add
  fill1 = xform1 c_th3i_fill1
instance ITH1 TH3F where
  getXaxis = xform0 c_th3f_getxaxis
  getYaxis = xform0 c_th3f_getyaxis
  getZaxis = xform0 c_th3f_getzaxis
  add = xform2 c_th3f_add
  fill1 = xform1 c_th3f_fill1
instance ITH1 TH3D where
  getXaxis = xform0 c_th3d_getxaxis
  getYaxis = xform0 c_th3d_getyaxis
  getZaxis = xform0 c_th3d_getzaxis
  add = xform2 c_th3d_add
  fill1 = xform1 c_th3d_fill1
instance ITH1 TH3C where
  getXaxis = xform0 c_th3c_getxaxis
  getYaxis = xform0 c_th3c_getyaxis
  getZaxis = xform0 c_th3c_getzaxis
  add = xform2 c_th3c_add
  fill1 = xform1 c_th3c_fill1
instance ITH1 TH2S where
  getXaxis = xform0 c_th2s_getxaxis
  getYaxis = xform0 c_th2s_getyaxis
  getZaxis = xform0 c_th2s_getzaxis
  add = xform2 c_th2s_add
  fill1 = xform1 c_th2s_fill1
instance ITH1 TH2Poly where
  getXaxis = xform0 c_th2poly_getxaxis
  getYaxis = xform0 c_th2poly_getyaxis
  getZaxis = xform0 c_th2poly_getzaxis
  add = xform2 c_th2poly_add
  fill1 = xform1 c_th2poly_fill1
instance ITH1 TH2I where
  getXaxis = xform0 c_th2i_getxaxis
  getYaxis = xform0 c_th2i_getyaxis
  getZaxis = xform0 c_th2i_getzaxis
  add = xform2 c_th2i_add
  fill1 = xform1 c_th2i_fill1
instance ITH1 TH2F where
  getXaxis = xform0 c_th2f_getxaxis
  getYaxis = xform0 c_th2f_getyaxis
  getZaxis = xform0 c_th2f_getzaxis
  add = xform2 c_th2f_add
  fill1 = xform1 c_th2f_fill1
instance ITH1 TH2D where
  getXaxis = xform0 c_th2d_getxaxis
  getYaxis = xform0 c_th2d_getyaxis
  getZaxis = xform0 c_th2d_getzaxis
  add = xform2 c_th2d_add
  fill1 = xform1 c_th2d_fill1
instance ITH1 TH2C where
  getXaxis = xform0 c_th2c_getxaxis
  getYaxis = xform0 c_th2c_getyaxis
  getZaxis = xform0 c_th2c_getzaxis
  add = xform2 c_th2c_add
  fill1 = xform1 c_th2c_fill1
instance ITH1 TH1S where
  getXaxis = xform0 c_th1s_getxaxis
  getYaxis = xform0 c_th1s_getyaxis
  getZaxis = xform0 c_th1s_getzaxis
  add = xform2 c_th1s_add
  fill1 = xform1 c_th1s_fill1
instance ITH1 TH1I where
  getXaxis = xform0 c_th1i_getxaxis
  getYaxis = xform0 c_th1i_getyaxis
  getZaxis = xform0 c_th1i_getzaxis
  add = xform2 c_th1i_add
  fill1 = xform1 c_th1i_fill1
instance ITH1 TH1F where
  getXaxis = xform0 c_th1f_getxaxis
  getYaxis = xform0 c_th1f_getyaxis
  getZaxis = xform0 c_th1f_getzaxis
  add = xform2 c_th1f_add
  fill1 = xform1 c_th1f_fill1
instance ITH1 TH1D where
  getXaxis = xform0 c_th1d_getxaxis
  getYaxis = xform0 c_th1d_getyaxis
  getZaxis = xform0 c_th1d_getzaxis
  add = xform2 c_th1d_add
  fill1 = xform1 c_th1d_fill1
instance ITH1 TH1C where
  getXaxis = xform0 c_th1c_getxaxis
  getYaxis = xform0 c_th1c_getyaxis
  getZaxis = xform0 c_th1c_getzaxis
  add = xform2 c_th1c_add
  fill1 = xform1 c_th1c_fill1
instance ITH1 TH3 where
  getXaxis = xform0 c_th3_getxaxis
  getYaxis = xform0 c_th3_getyaxis
  getZaxis = xform0 c_th3_getzaxis
  add = xform2 c_th3_add
  fill1 = xform1 c_th3_fill1
instance ITH1 TH2 where
  getXaxis = xform0 c_th2_getxaxis
  getYaxis = xform0 c_th2_getyaxis
  getZaxis = xform0 c_th2_getzaxis
  add = xform2 c_th2_add
  fill1 = xform1 c_th2_fill1

instance ITH2 TH2S where
  fill2 = xform2 c_th2s_fill2
instance ITH2 TH2Poly where
  fill2 = xform2 c_th2poly_fill2
instance ITH2 TH2I where
  fill2 = xform2 c_th2i_fill2
instance ITH2 TH2F where
  fill2 = xform2 c_th2f_fill2
instance ITH2 TH2D where
  fill2 = xform2 c_th2d_fill2
instance ITH2 TH2C where
  fill2 = xform2 c_th2c_fill2

instance ITH3 TH3S where
instance ITH3 TH3I where
instance ITH3 TH3F where
instance ITH3 TH3D where
instance ITH3 TH3C where

instance ITLine TGaxis where
instance ITLine TArrow where

instance ITNamed TH3S where
  setTitle = xform1 c_th3s_settitle
instance ITNamed TH3I where
  setTitle = xform1 c_th3i_settitle
instance ITNamed TH3F where
  setTitle = xform1 c_th3f_settitle
instance ITNamed TH3D where
  setTitle = xform1 c_th3d_settitle
instance ITNamed TH3C where
  setTitle = xform1 c_th3c_settitle
instance ITNamed TH2S where
  setTitle = xform1 c_th2s_settitle
instance ITNamed TH2Poly where
  setTitle = xform1 c_th2poly_settitle
instance ITNamed TH2I where
  setTitle = xform1 c_th2i_settitle
instance ITNamed TH2F where
  setTitle = xform1 c_th2f_settitle
instance ITNamed TH2D where
  setTitle = xform1 c_th2d_settitle
instance ITNamed TH2C where
  setTitle = xform1 c_th2c_settitle
instance ITNamed TH1S where
  setTitle = xform1 c_th1s_settitle
instance ITNamed TH1I where
  setTitle = xform1 c_th1i_settitle
instance ITNamed TH1F where
  setTitle = xform1 c_th1f_settitle
instance ITNamed TH1D where
  setTitle = xform1 c_th1d_settitle
instance ITNamed TH1C where
  setTitle = xform1 c_th1c_settitle
instance ITNamed TH3 where
  setTitle = xform1 c_th3_settitle
instance ITNamed TH2 where
  setTitle = xform1 c_th2_settitle
instance ITNamed TH1 where
  setTitle = xform1 c_th1_settitle
instance ITNamed TBranch where
  setTitle = xform1 c_tbranch_settitle
instance ITNamed TFile where
  setTitle = xform1 c_tfile_settitle
instance ITNamed TDirectoryFile where
  setTitle = xform1 c_tdirectoryfile_settitle
instance ITNamed TDirectory where
  setTitle = xform1 c_tdirectory_settitle
instance ITNamed TText where
  setTitle = xform1 c_ttext_settitle
instance ITNamed TLatex where
  setTitle = xform1 c_tlatex_settitle
instance ITNamed TAxis where
  setTitle = xform1 c_taxis_settitle
instance ITNamed TEfficiency where
  setTitle = xform1 c_tefficiency_settitle
instance ITNamed TTreeSQL where
  setTitle = xform1 c_ttreesql_settitle
instance ITNamed TNtupleD where
  setTitle = xform1 c_tntupled_settitle
instance ITNamed TNtuple where
  setTitle = xform1 c_tntuple_settitle
instance ITNamed TChain where
  setTitle = xform1 c_tchain_settitle
instance ITNamed TTree where
  setTitle = xform1 c_ttree_settitle
instance ITNamed TXTRU where
  setTitle = xform1 c_txtru_settitle
instance ITNamed TSPHE where
  setTitle = xform1 c_tsphe_settitle
instance ITNamed TPolyLineShape where
  setTitle = xform1 c_tpolylineshape_settitle
instance ITNamed TPCON where
  setTitle = xform1 c_tpcon_settitle
instance ITNamed TTUBE where
  setTitle = xform1 c_ttube_settitle
instance ITNamed TBRIK where
  setTitle = xform1 c_tbrik_settitle
instance ITNamed TShape where
  setTitle = xform1 c_tshape_settitle
instance ITNamed TGraphQQ where
  setTitle = xform1 c_tgraphqq_settitle
instance ITNamed TGraphPolar where
  setTitle = xform1 c_tgraphpolar_settitle
instance ITNamed TGraphErrors where
  setTitle = xform1 c_tgrapherrors_settitle
instance ITNamed TGraphBentErrors where
  setTitle = xform1 c_tgraphbenterrors_settitle
instance ITNamed TCutG where
  setTitle = xform1 c_tcutg_settitle
instance ITNamed TGraphAsymmErrors where
  setTitle = xform1 c_tgraphasymmerrors_settitle
instance ITNamed TGraph where
  setTitle = xform1 c_tgraph_settitle
instance ITNamed THStack where
  setTitle = xform1 c_thstack_settitle
instance ITNamed TAttParticle where
  setTitle = xform1 c_tattparticle_settitle

instance ITObject TRint where
  getName = xform0 c_trint_getname
  draw = xform1 c_trint_draw
  saveAs = xform2 c_trint_saveas
  write = xform3 c_trint_write
instance ITObject TApplication where
  getName = xform0 c_tapplication_getname
  draw = xform1 c_tapplication_draw
  saveAs = xform2 c_tapplication_saveas
  write = xform3 c_tapplication_write
instance ITObject TSlider where
  getName = xform0 c_tslider_getname
  draw = xform1 c_tslider_draw
  saveAs = xform2 c_tslider_saveas
  write = xform3 c_tslider_write
instance ITObject TEvePad where
  getName = xform0 c_tevepad_getname
  draw = xform1 c_tevepad_draw
  saveAs = xform2 c_tevepad_saveas
  write = xform3 c_tevepad_write
instance ITObject TInspectCanvas where
  getName = xform0 c_tinspectcanvas_getname
  draw = xform1 c_tinspectcanvas_draw
  saveAs = xform2 c_tinspectcanvas_saveas
  write = xform3 c_tinspectcanvas_write
instance ITObject TDialogCanvas where
  getName = xform0 c_tdialogcanvas_getname
  draw = xform1 c_tdialogcanvas_draw
  saveAs = xform2 c_tdialogcanvas_saveas
  write = xform3 c_tdialogcanvas_write
instance ITObject TCanvas where
  getName = xform0 c_tcanvas_getname
  draw = xform1 c_tcanvas_draw
  saveAs = xform2 c_tcanvas_saveas
  write = xform3 c_tcanvas_write
instance ITObject TGroupButton where
  getName = xform0 c_tgroupbutton_getname
  draw = xform1 c_tgroupbutton_draw
  saveAs = xform2 c_tgroupbutton_saveas
  write = xform3 c_tgroupbutton_write
instance ITObject TButton where
  getName = xform0 c_tbutton_getname
  draw = xform1 c_tbutton_draw
  saveAs = xform2 c_tbutton_saveas
  write = xform3 c_tbutton_write
instance ITObject TPad where
  getName = xform0 c_tpad_getname
  draw = xform1 c_tpad_draw
  saveAs = xform2 c_tpad_saveas
  write = xform3 c_tpad_write
instance ITObject TVirtualPad where
  getName = xform0 c_tvirtualpad_getname
  draw = xform1 c_tvirtualpad_draw
  saveAs = xform2 c_tvirtualpad_saveas
  write = xform3 c_tvirtualpad_write
instance ITObject TH3S where
  getName = xform0 c_th3s_getname
  draw = xform1 c_th3s_draw
  saveAs = xform2 c_th3s_saveas
  write = xform3 c_th3s_write
instance ITObject TH3I where
  getName = xform0 c_th3i_getname
  draw = xform1 c_th3i_draw
  saveAs = xform2 c_th3i_saveas
  write = xform3 c_th3i_write
instance ITObject TH3F where
  getName = xform0 c_th3f_getname
  draw = xform1 c_th3f_draw
  saveAs = xform2 c_th3f_saveas
  write = xform3 c_th3f_write
instance ITObject TH3D where
  getName = xform0 c_th3d_getname
  draw = xform1 c_th3d_draw
  saveAs = xform2 c_th3d_saveas
  write = xform3 c_th3d_write
instance ITObject TH3C where
  getName = xform0 c_th3c_getname
  draw = xform1 c_th3c_draw
  saveAs = xform2 c_th3c_saveas
  write = xform3 c_th3c_write
instance ITObject TH2S where
  getName = xform0 c_th2s_getname
  draw = xform1 c_th2s_draw
  saveAs = xform2 c_th2s_saveas
  write = xform3 c_th2s_write
instance ITObject TH2Poly where
  getName = xform0 c_th2poly_getname
  draw = xform1 c_th2poly_draw
  saveAs = xform2 c_th2poly_saveas
  write = xform3 c_th2poly_write
instance ITObject TH2I where
  getName = xform0 c_th2i_getname
  draw = xform1 c_th2i_draw
  saveAs = xform2 c_th2i_saveas
  write = xform3 c_th2i_write
instance ITObject TH2F where
  getName = xform0 c_th2f_getname
  draw = xform1 c_th2f_draw
  saveAs = xform2 c_th2f_saveas
  write = xform3 c_th2f_write
instance ITObject TH2D where
  getName = xform0 c_th2d_getname
  draw = xform1 c_th2d_draw
  saveAs = xform2 c_th2d_saveas
  write = xform3 c_th2d_write
instance ITObject TH2C where
  getName = xform0 c_th2c_getname
  draw = xform1 c_th2c_draw
  saveAs = xform2 c_th2c_saveas
  write = xform3 c_th2c_write
instance ITObject TH1S where
  getName = xform0 c_th1s_getname
  draw = xform1 c_th1s_draw
  saveAs = xform2 c_th1s_saveas
  write = xform3 c_th1s_write
instance ITObject TH1I where
  getName = xform0 c_th1i_getname
  draw = xform1 c_th1i_draw
  saveAs = xform2 c_th1i_saveas
  write = xform3 c_th1i_write
instance ITObject TH1F where
  getName = xform0 c_th1f_getname
  draw = xform1 c_th1f_draw
  saveAs = xform2 c_th1f_saveas
  write = xform3 c_th1f_write
instance ITObject TH1D where
  getName = xform0 c_th1d_getname
  draw = xform1 c_th1d_draw
  saveAs = xform2 c_th1d_saveas
  write = xform3 c_th1d_write
instance ITObject TH1C where
  getName = xform0 c_th1c_getname
  draw = xform1 c_th1c_draw
  saveAs = xform2 c_th1c_saveas
  write = xform3 c_th1c_write
instance ITObject TH3 where
  getName = xform0 c_th3_getname
  draw = xform1 c_th3_draw
  saveAs = xform2 c_th3_saveas
  write = xform3 c_th3_write
instance ITObject TH2 where
  getName = xform0 c_th2_getname
  draw = xform1 c_th2_draw
  saveAs = xform2 c_th2_saveas
  write = xform3 c_th2_write
instance ITObject TH1 where
  getName = xform0 c_th1_getname
  draw = xform1 c_th1_draw
  saveAs = xform2 c_th1_saveas
  write = xform3 c_th1_write
instance ITObject TTreePlayer where
  getName = xform0 c_ttreeplayer_getname
  draw = xform1 c_ttreeplayer_draw
  saveAs = xform2 c_ttreeplayer_saveas
  write = xform3 c_ttreeplayer_write
instance ITObject TVirtualTreePlayer where
  getName = xform0 c_tvirtualtreeplayer_getname
  draw = xform1 c_tvirtualtreeplayer_draw
  saveAs = xform2 c_tvirtualtreeplayer_saveas
  write = xform3 c_tvirtualtreeplayer_write
instance ITObject TBranch where
  getName = xform0 c_tbranch_getname
  draw = xform1 c_tbranch_draw
  saveAs = xform2 c_tbranch_saveas
  write = xform3 c_tbranch_write
instance ITObject TFile where
  getName = xform0 c_tfile_getname
  draw = xform1 c_tfile_draw
  saveAs = xform2 c_tfile_saveas
  write = xform3 c_tfile_write
instance ITObject TDirectoryFile where
  getName = xform0 c_tdirectoryfile_getname
  draw = xform1 c_tdirectoryfile_draw
  saveAs = xform2 c_tdirectoryfile_saveas
  write = xform3 c_tdirectoryfile_write
instance ITObject TDirectory where
  getName = xform0 c_tdirectory_getname
  draw = xform1 c_tdirectory_draw
  saveAs = xform2 c_tdirectory_saveas
  write = xform3 c_tdirectory_write
instance ITObject TText where
  getName = xform0 c_ttext_getname
  draw = xform1 c_ttext_draw
  saveAs = xform2 c_ttext_saveas
  write = xform3 c_ttext_write
instance ITObject TLatex where
  getName = xform0 c_tlatex_getname
  draw = xform1 c_tlatex_draw
  saveAs = xform2 c_tlatex_saveas
  write = xform3 c_tlatex_write
instance ITObject TAxis where
  getName = xform0 c_taxis_getname
  draw = xform1 c_taxis_draw
  saveAs = xform2 c_taxis_saveas
  write = xform3 c_taxis_write
instance ITObject TEfficiency where
  getName = xform0 c_tefficiency_getname
  draw = xform1 c_tefficiency_draw
  saveAs = xform2 c_tefficiency_saveas
  write = xform3 c_tefficiency_write
instance ITObject TCurlyArc where
  getName = xform0 c_tcurlyarc_getname
  draw = xform1 c_tcurlyarc_draw
  saveAs = xform2 c_tcurlyarc_saveas
  write = xform3 c_tcurlyarc_write
instance ITObject TCurlyLine where
  getName = xform0 c_tcurlyline_getname
  draw = xform1 c_tcurlyline_draw
  saveAs = xform2 c_tcurlyline_saveas
  write = xform3 c_tcurlyline_write
instance ITObject TPolyLine where
  getName = xform0 c_tpolyline_getname
  draw = xform1 c_tpolyline_draw
  saveAs = xform2 c_tpolyline_saveas
  write = xform3 c_tpolyline_write
instance ITObject TTreeSQL where
  getName = xform0 c_ttreesql_getname
  draw = xform1 c_ttreesql_draw
  saveAs = xform2 c_ttreesql_saveas
  write = xform3 c_ttreesql_write
instance ITObject TNtupleD where
  getName = xform0 c_tntupled_getname
  draw = xform1 c_tntupled_draw
  saveAs = xform2 c_tntupled_saveas
  write = xform3 c_tntupled_write
instance ITObject TNtuple where
  getName = xform0 c_tntuple_getname
  draw = xform1 c_tntuple_draw
  saveAs = xform2 c_tntuple_saveas
  write = xform3 c_tntuple_write
instance ITObject TChain where
  getName = xform0 c_tchain_getname
  draw = xform1 c_tchain_draw
  saveAs = xform2 c_tchain_saveas
  write = xform3 c_tchain_write
instance ITObject TTree where
  getName = xform0 c_ttree_getname
  draw = xform1 c_ttree_draw
  saveAs = xform2 c_ttree_saveas
  write = xform3 c_ttree_write
instance ITObject TSliderBox where
  getName = xform0 c_tsliderbox_getname
  draw = xform1 c_tsliderbox_draw
  saveAs = xform2 c_tsliderbox_saveas
  write = xform3 c_tsliderbox_write
instance ITObject TFrame where
  getName = xform0 c_tframe_getname
  draw = xform1 c_tframe_draw
  saveAs = xform2 c_tframe_saveas
  write = xform3 c_tframe_write
instance ITObject TWbox where
  getName = xform0 c_twbox_getname
  draw = xform1 c_twbox_draw
  saveAs = xform2 c_twbox_saveas
  write = xform3 c_twbox_write
instance ITObject TPaveClass where
  getName = xform0 c_tpaveclass_getname
  draw = xform1 c_tpaveclass_draw
  saveAs = xform2 c_tpaveclass_saveas
  write = xform3 c_tpaveclass_write
instance ITObject TPaveLabel where
  getName = xform0 c_tpavelabel_getname
  draw = xform1 c_tpavelabel_draw
  saveAs = xform2 c_tpavelabel_saveas
  write = xform3 c_tpavelabel_write
instance ITObject TLegend where
  getName = xform0 c_tlegend_getname
  draw = xform1 c_tlegend_draw
  saveAs = xform2 c_tlegend_saveas
  write = xform3 c_tlegend_write
instance ITObject TPavesText where
  getName = xform0 c_tpavestext_getname
  draw = xform1 c_tpavestext_draw
  saveAs = xform2 c_tpavestext_saveas
  write = xform3 c_tpavestext_write
instance ITObject TPaveStats where
  getName = xform0 c_tpavestats_getname
  draw = xform1 c_tpavestats_draw
  saveAs = xform2 c_tpavestats_saveas
  write = xform3 c_tpavestats_write
instance ITObject TDiamond where
  getName = xform0 c_tdiamond_getname
  draw = xform1 c_tdiamond_draw
  saveAs = xform2 c_tdiamond_saveas
  write = xform3 c_tdiamond_write
instance ITObject TPaveText where
  getName = xform0 c_tpavetext_getname
  draw = xform1 c_tpavetext_draw
  saveAs = xform2 c_tpavetext_saveas
  write = xform3 c_tpavetext_write
instance ITObject TPave where
  getName = xform0 c_tpave_getname
  draw = xform1 c_tpave_draw
  saveAs = xform2 c_tpave_saveas
  write = xform3 c_tpave_write
instance ITObject TBox where
  getName = xform0 c_tbox_getname
  draw = xform1 c_tbox_draw
  saveAs = xform2 c_tbox_saveas
  write = xform3 c_tbox_write
instance ITObject TXTRU where
  getName = xform0 c_txtru_getname
  draw = xform1 c_txtru_draw
  saveAs = xform2 c_txtru_saveas
  write = xform3 c_txtru_write
instance ITObject TSPHE where
  getName = xform0 c_tsphe_getname
  draw = xform1 c_tsphe_draw
  saveAs = xform2 c_tsphe_saveas
  write = xform3 c_tsphe_write
instance ITObject TPolyLineShape where
  getName = xform0 c_tpolylineshape_getname
  draw = xform1 c_tpolylineshape_draw
  saveAs = xform2 c_tpolylineshape_saveas
  write = xform3 c_tpolylineshape_write
instance ITObject TPCON where
  getName = xform0 c_tpcon_getname
  draw = xform1 c_tpcon_draw
  saveAs = xform2 c_tpcon_saveas
  write = xform3 c_tpcon_write
instance ITObject TTUBE where
  getName = xform0 c_ttube_getname
  draw = xform1 c_ttube_draw
  saveAs = xform2 c_ttube_saveas
  write = xform3 c_ttube_write
instance ITObject TBRIK where
  getName = xform0 c_tbrik_getname
  draw = xform1 c_tbrik_draw
  saveAs = xform2 c_tbrik_saveas
  write = xform3 c_tbrik_write
instance ITObject TShape where
  getName = xform0 c_tshape_getname
  draw = xform1 c_tshape_draw
  saveAs = xform2 c_tshape_saveas
  write = xform3 c_tshape_write
instance ITObject TGaxis where
  getName = xform0 c_tgaxis_getname
  draw = xform1 c_tgaxis_draw
  saveAs = xform2 c_tgaxis_saveas
  write = xform3 c_tgaxis_write
instance ITObject TArrow where
  getName = xform0 c_tarrow_getname
  draw = xform1 c_tarrow_draw
  saveAs = xform2 c_tarrow_saveas
  write = xform3 c_tarrow_write
instance ITObject TLine where
  getName = xform0 c_tline_getname
  draw = xform1 c_tline_draw
  saveAs = xform2 c_tline_saveas
  write = xform3 c_tline_write
instance ITObject TCrown where
  getName = xform0 c_tcrown_getname
  draw = xform1 c_tcrown_draw
  saveAs = xform2 c_tcrown_saveas
  write = xform3 c_tcrown_write
instance ITObject TArc where
  getName = xform0 c_tarc_getname
  draw = xform1 c_tarc_draw
  saveAs = xform2 c_tarc_saveas
  write = xform3 c_tarc_write
instance ITObject TEllipse where
  getName = xform0 c_tellipse_getname
  draw = xform1 c_tellipse_draw
  saveAs = xform2 c_tellipse_saveas
  write = xform3 c_tellipse_write
instance ITObject TGraphQQ where
  getName = xform0 c_tgraphqq_getname
  draw = xform1 c_tgraphqq_draw
  saveAs = xform2 c_tgraphqq_saveas
  write = xform3 c_tgraphqq_write
instance ITObject TGraphPolar where
  getName = xform0 c_tgraphpolar_getname
  draw = xform1 c_tgraphpolar_draw
  saveAs = xform2 c_tgraphpolar_saveas
  write = xform3 c_tgraphpolar_write
instance ITObject TGraphErrors where
  getName = xform0 c_tgrapherrors_getname
  draw = xform1 c_tgrapherrors_draw
  saveAs = xform2 c_tgrapherrors_saveas
  write = xform3 c_tgrapherrors_write
instance ITObject TGraphBentErrors where
  getName = xform0 c_tgraphbenterrors_getname
  draw = xform1 c_tgraphbenterrors_draw
  saveAs = xform2 c_tgraphbenterrors_saveas
  write = xform3 c_tgraphbenterrors_write
instance ITObject TCutG where
  getName = xform0 c_tcutg_getname
  draw = xform1 c_tcutg_draw
  saveAs = xform2 c_tcutg_saveas
  write = xform3 c_tcutg_write
instance ITObject TGraphAsymmErrors where
  getName = xform0 c_tgraphasymmerrors_getname
  draw = xform1 c_tgraphasymmerrors_draw
  saveAs = xform2 c_tgraphasymmerrors_saveas
  write = xform3 c_tgraphasymmerrors_write
instance ITObject TGraph where
  getName = xform0 c_tgraph_getname
  draw = xform1 c_tgraph_draw
  saveAs = xform2 c_tgraph_saveas
  write = xform3 c_tgraph_write
instance ITObject THStack where
  getName = xform0 c_thstack_getname
  draw = xform1 c_thstack_draw
  saveAs = xform2 c_thstack_saveas
  write = xform3 c_thstack_write
instance ITObject TAttParticle where
  getName = xform0 c_tattparticle_getname
  draw = xform1 c_tattparticle_draw
  saveAs = xform2 c_tattparticle_saveas
  write = xform3 c_tattparticle_write
instance ITObject TNamed where
  getName = xform0 c_tnamed_getname
  draw = xform1 c_tnamed_draw
  saveAs = xform2 c_tnamed_saveas
  write = xform3 c_tnamed_write

instance ITPad TSlider where
instance ITPad TEvePad where
instance ITPad TInspectCanvas where
instance ITPad TDialogCanvas where
instance ITPad TCanvas where
instance ITPad TGroupButton where
instance ITPad TButton where

instance ITPave TPaveClass where
instance ITPave TPaveLabel where
instance ITPave TLegend where
instance ITPave TPavesText where
instance ITPave TPaveStats where
instance ITPave TDiamond where
instance ITPave TPaveText where

instance ITPaveLabel TPaveClass where

instance ITPaveText TPavesText where
instance ITPaveText TPaveStats where
instance ITPaveText TDiamond where

instance ITPolyLine TCurlyArc where
instance ITPolyLine TCurlyLine where

instance ITQObject TRint where
instance ITQObject TApplication where
instance ITQObject TSlider where
instance ITQObject TEvePad where
instance ITQObject TInspectCanvas where
instance ITQObject TDialogCanvas where
instance ITQObject TCanvas where
instance ITQObject TGroupButton where
instance ITQObject TButton where
instance ITQObject TPad where
instance ITQObject TVirtualPad where

instance ITShape TXTRU where
instance ITShape TSPHE where
instance ITShape TPolyLineShape where
instance ITShape TPCON where
instance ITShape TTUBE where
instance ITShape TBRIK where

instance ITText TLatex where

instance ITTree TTreeSQL where
instance ITTree TNtupleD where
instance ITTree TNtuple where
instance ITTree TChain where

instance ITVirtualPad TSlider where
  getFrame = xform0 c_tslider_getframe
  range = xform4 c_tslider_range
instance ITVirtualPad TEvePad where
  getFrame = xform0 c_tevepad_getframe
  range = xform4 c_tevepad_range
instance ITVirtualPad TInspectCanvas where
  getFrame = xform0 c_tinspectcanvas_getframe
  range = xform4 c_tinspectcanvas_range
instance ITVirtualPad TDialogCanvas where
  getFrame = xform0 c_tdialogcanvas_getframe
  range = xform4 c_tdialogcanvas_range
instance ITVirtualPad TCanvas where
  getFrame = xform0 c_tcanvas_getframe
  range = xform4 c_tcanvas_range
instance ITVirtualPad TGroupButton where
  getFrame = xform0 c_tgroupbutton_getframe
  range = xform4 c_tgroupbutton_range
instance ITVirtualPad TButton where
  getFrame = xform0 c_tbutton_getframe
  range = xform4 c_tbutton_range
instance ITVirtualPad TPad where
  getFrame = xform0 c_tpad_getframe
  range = xform4 c_tpad_range

instance ITVirtualTreePlayer TTreePlayer where

instance ITWbox TSliderBox where
  setBorderMode = xform1 c_tsliderbox_setbordermode
instance ITWbox TFrame where
  setBorderMode = xform1 c_tframe_setbordermode

newTObject :: IO TObject
newTObject = xformnull c_tobject_newtobject

newTNamed :: String -> String -> IO TNamed
newTNamed = xform1 c_tnamed_newtnamed

newTFormula :: String -> String -> IO TFormula
newTFormula = xform1 c_tformula_newtformula



newTAttAxis :: IO TAttAxis
newTAttAxis = xformnull c_tattaxis_newtattaxis



newTAttCanvas :: IO TAttCanvas
newTAttCanvas = xformnull c_tattcanvas_newtattcanvas

newTAttFill :: Int -> Int -> IO TAttFill
newTAttFill = xform1 c_tattfill_newtattfill



newTAttLine :: Int -> Int -> Int -> IO TAttLine
newTAttLine = xform2 c_tattline_newtattline

newTAttMarker :: Int -> Int -> Int -> IO TAttMarker
newTAttMarker = xform2 c_tattmarker_newtattmarker

newTAttPad :: IO TAttPad
newTAttPad = xformnull c_tattpad_newtattpad



newTAttText :: Int -> Double -> Int -> Int -> Double -> IO TAttText
newTAttText = xform4 c_tatttext_newtatttext

newTHStack :: String -> String -> IO THStack
newTHStack = xform1 c_thstack_newthstack

newTF1 :: String -> String -> Double -> Double -> IO TF1
newTF1 = xform3 c_tf1_newtf1

newTGraph :: Int -> [Double] -> [Double] -> IO TGraph
newTGraph = xform2 c_tgraph_newtgraph

newTGraphAsymmErrors :: Int -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> IO TGraphAsymmErrors
newTGraphAsymmErrors = xform6 c_tgraphasymmerrors_newtgraphasymmerrors

newTCutG :: String -> Int -> [Double] -> [Double] -> IO TCutG
newTCutG = xform3 c_tcutg_newtcutg

newTGraphBentErrors :: Int -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> [Double] -> IO TGraphBentErrors
newTGraphBentErrors = xform10 c_tgraphbenterrors_newtgraphbenterrors

newTGraphErrors :: Int -> [Double] -> [Double] -> [Double] -> [Double] -> IO TGraphErrors
newTGraphErrors = xform4 c_tgrapherrors_newtgrapherrors

newTGraphPolar :: Int -> [Double] -> [Double] -> [Double] -> [Double] -> IO TGraphPolar
newTGraphPolar = xform4 c_tgraphpolar_newtgraphpolar

newTGraphQQ :: Int -> [Double] -> Int -> [Double] -> IO TGraphQQ
newTGraphQQ = xform3 c_tgraphqq_newtgraphqq

newTEllipse :: Double -> Double -> Double -> Double -> Double -> Double -> Double -> IO TEllipse
newTEllipse = xform6 c_tellipse_newtellipse

newTArc :: Double -> Double -> Double -> Double -> Double -> IO TArc
newTArc = xform4 c_tarc_newtarc

newTCrown :: Double -> Double -> Double -> Double -> Double -> Double -> IO TCrown
newTCrown = xform5 c_tcrown_newtcrown

newTLine :: Double -> Double -> Double -> Double -> IO TLine
newTLine = xform3 c_tline_newtline

newTArrow :: Double -> Double -> Double -> Double -> Double -> String -> IO TArrow
newTArrow = xform5 c_tarrow_newtarrow

newTGaxis :: Double -> Double -> Double -> Double -> Double -> Double -> Int -> String -> Double -> IO TGaxis
newTGaxis = xform8 c_tgaxis_newtgaxis

newTShape :: String -> String -> String -> IO TShape
newTShape = xform2 c_tshape_newtshape

newTBRIK :: String -> String -> String -> Double -> Double -> Double -> IO TBRIK
newTBRIK = xform5 c_tbrik_newtbrik

newTTUBE :: String -> String -> String -> Double -> Double -> Double -> Double -> IO TTUBE
newTTUBE = xform6 c_ttube_newttube

newTPCON :: String -> String -> String -> Double -> Double -> Int -> IO TPCON
newTPCON = xform5 c_tpcon_newtpcon



newTSPHE :: String -> String -> String -> Double -> Double -> Double -> Double -> Double -> Double -> IO TSPHE
newTSPHE = xform8 c_tsphe_newtsphe

newTXTRU :: String -> String -> String -> Int -> Int -> IO TXTRU
newTXTRU = xform4 c_txtru_newtxtru

newTBox :: Double -> Double -> Double -> Double -> IO TBox
newTBox = xform3 c_tbox_newtbox

newTPave :: Double -> Double -> Double -> Double -> Int -> String -> IO TPave
newTPave = xform5 c_tpave_newtpave

newTPaveText :: Double -> Double -> Double -> Double -> String -> IO TPaveText
newTPaveText = xform4 c_tpavetext_newtpavetext

newTDiamond :: Double -> Double -> Double -> Double -> IO TDiamond
newTDiamond = xform3 c_tdiamond_newtdiamond

newTPaveStats :: Double -> Double -> Double -> Double -> String -> IO TPaveStats
newTPaveStats = xform4 c_tpavestats_newtpavestats

newTPavesText :: Double -> Double -> Double -> Double -> Int -> String -> IO TPavesText
newTPavesText = xform5 c_tpavestext_newtpavestext

newTLegend :: Double -> Double -> Double -> Double -> String -> String -> IO TLegend
newTLegend = xform5 c_tlegend_newtlegend

newTPaveLabel :: Double -> Double -> Double -> Double -> String -> String -> IO TPaveLabel
newTPaveLabel = xform5 c_tpavelabel_newtpavelabel



newTWbox :: Double -> Double -> Double -> Double -> Int -> Int -> Int -> IO TWbox
newTWbox = xform6 c_twbox_newtwbox

newTFrame :: Double -> Double -> Double -> Double -> IO TFrame
newTFrame = xform3 c_tframe_newtframe

newTSliderBox :: Double -> Double -> Double -> Double -> Int -> Int -> Int -> IO TSliderBox
newTSliderBox = xform6 c_tsliderbox_newtsliderbox

newTTree :: String -> String -> Int -> IO TTree
newTTree = xform2 c_ttree_newttree

newTChain :: String -> String -> IO TChain
newTChain = xform1 c_tchain_newtchain

newTNtuple :: String -> String -> String -> Int -> IO TNtuple
newTNtuple = xform3 c_tntuple_newtntuple

newTNtupleD :: String -> String -> String -> Int -> IO TNtupleD
newTNtupleD = xform3 c_tntupled_newtntupled



newTPolyLine :: Int -> [Double] -> [Double] -> String -> IO TPolyLine
newTPolyLine = xform3 c_tpolyline_newtpolyline

newTCurlyLine :: Double -> Double -> Double -> Double -> Double -> Double -> IO TCurlyLine
newTCurlyLine = xform5 c_tcurlyline_newtcurlyline

newTCurlyArc :: Double -> Double -> Double -> Double -> Double -> Double -> Double -> IO TCurlyArc
newTCurlyArc = xform6 c_tcurlyarc_newtcurlyarc





newTLatex :: Double -> Double -> String -> IO TLatex
newTLatex = xform2 c_tlatex_newtlatex







newTFile :: String -> String -> String -> Int -> IO TFile
newTFile = xform3 c_tfile_newtfile

































newTH1F :: String -> String -> Int -> Double -> Double -> IO TH1F
newTH1F = xform4 c_th1f_newth1f









newTH2F :: String -> String -> Int -> Double -> Double -> Int -> Double -> Double -> IO TH2F
newTH2F = xform7 c_th2f_newth2f



























newTCanvas :: String -> String -> Int -> Int -> IO TCanvas
newTCanvas = xform3 c_tcanvas_newtcanvas









newTApplication :: String -> [Int] -> [String] -> IO TApplication
newTApplication = xform2 c_tapplication_newtapplication

newTRint :: String -> [Int] -> [String] -> IO TRint
newTRint = xform2 c_trint_newtrint



























































tLatexDrawLatex :: TLatex -> Double -> Double -> String -> IO TLatex
tLatexDrawLatex = xform3 c_tlatex_tlatexdrawlatex