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

data RawOGRPointIterator

newtype OGRPointIterator = OGRPointIterator (Ptr
                                               RawOGRPointIterator)
                             deriving (OGRPointIterator -> OGRPointIterator -> Bool
(OGRPointIterator -> OGRPointIterator -> Bool)
-> (OGRPointIterator -> OGRPointIterator -> Bool)
-> Eq OGRPointIterator
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: OGRPointIterator -> OGRPointIterator -> Bool
== :: OGRPointIterator -> OGRPointIterator -> Bool
$c/= :: OGRPointIterator -> OGRPointIterator -> Bool
/= :: OGRPointIterator -> OGRPointIterator -> Bool
Eq, Eq OGRPointIterator
Eq OGRPointIterator
-> (OGRPointIterator -> OGRPointIterator -> Ordering)
-> (OGRPointIterator -> OGRPointIterator -> Bool)
-> (OGRPointIterator -> OGRPointIterator -> Bool)
-> (OGRPointIterator -> OGRPointIterator -> Bool)
-> (OGRPointIterator -> OGRPointIterator -> Bool)
-> (OGRPointIterator -> OGRPointIterator -> OGRPointIterator)
-> (OGRPointIterator -> OGRPointIterator -> OGRPointIterator)
-> Ord OGRPointIterator
OGRPointIterator -> OGRPointIterator -> Bool
OGRPointIterator -> OGRPointIterator -> Ordering
OGRPointIterator -> OGRPointIterator -> OGRPointIterator
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 :: OGRPointIterator -> OGRPointIterator -> Ordering
compare :: OGRPointIterator -> OGRPointIterator -> Ordering
$c< :: OGRPointIterator -> OGRPointIterator -> Bool
< :: OGRPointIterator -> OGRPointIterator -> Bool
$c<= :: OGRPointIterator -> OGRPointIterator -> Bool
<= :: OGRPointIterator -> OGRPointIterator -> Bool
$c> :: OGRPointIterator -> OGRPointIterator -> Bool
> :: OGRPointIterator -> OGRPointIterator -> Bool
$c>= :: OGRPointIterator -> OGRPointIterator -> Bool
>= :: OGRPointIterator -> OGRPointIterator -> Bool
$cmax :: OGRPointIterator -> OGRPointIterator -> OGRPointIterator
max :: OGRPointIterator -> OGRPointIterator -> OGRPointIterator
$cmin :: OGRPointIterator -> OGRPointIterator -> OGRPointIterator
min :: OGRPointIterator -> OGRPointIterator -> OGRPointIterator
Ord, Int -> OGRPointIterator -> ShowS
[OGRPointIterator] -> ShowS
OGRPointIterator -> String
(Int -> OGRPointIterator -> ShowS)
-> (OGRPointIterator -> String)
-> ([OGRPointIterator] -> ShowS)
-> Show OGRPointIterator
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> OGRPointIterator -> ShowS
showsPrec :: Int -> OGRPointIterator -> ShowS
$cshow :: OGRPointIterator -> String
show :: OGRPointIterator -> String
$cshowList :: [OGRPointIterator] -> ShowS
showList :: [OGRPointIterator] -> ShowS
Show)

instance () => FPtr (OGRPointIterator) where
        type Raw OGRPointIterator = RawOGRPointIterator
        get_fptr :: OGRPointIterator -> Ptr (Raw OGRPointIterator)
get_fptr (OGRPointIterator Ptr RawOGRPointIterator
ptr) = Ptr (Raw OGRPointIterator)
Ptr RawOGRPointIterator
ptr
        cast_fptr_to_obj :: Ptr (Raw OGRPointIterator) -> OGRPointIterator
cast_fptr_to_obj = Ptr (Raw OGRPointIterator) -> OGRPointIterator
Ptr RawOGRPointIterator -> OGRPointIterator
OGRPointIterator