stdcxx-0.7.0.0: Binding to Standard Template Library C++
Safe HaskellSafe-Inferred
LanguageHaskell2010

STD.Map.Template

Documentation

data RawMap tpk tpv Source #

Instances

Instances details
Castable (Map tpk tpv) (Ptr (RawMap tpk tpv)) Source # 
Instance details

Defined in STD.Map.Template

Methods

cast :: Map tpk tpv -> (Ptr (RawMap tpk tpv) -> IO r) -> IO r #

uncast :: Ptr (RawMap tpk tpv) -> (Map tpk tpv -> IO r) -> IO r #

newtype Map tpk tpv Source #

Constructors

Map (Ptr (RawMap tpk tpv)) 

Instances

Instances details
FPtr (Map tpk tpv) Source # 
Instance details

Defined in STD.Map.Template

Associated Types

type Raw (Map tpk tpv) #

Methods

get_fptr :: Map tpk tpv -> Ptr (Raw (Map tpk tpv)) #

cast_fptr_to_obj :: Ptr (Raw (Map tpk tpv)) -> Map tpk tpv #

Castable (Map tpk tpv) (Ptr (RawMap tpk tpv)) Source # 
Instance details

Defined in STD.Map.Template

Methods

cast :: Map tpk tpv -> (Ptr (RawMap tpk tpv) -> IO r) -> IO r #

uncast :: Ptr (RawMap tpk tpv) -> (Map tpk tpv -> IO r) -> IO r #

type Raw (Map tpk tpv) Source # 
Instance details

Defined in STD.Map.Template

type Raw (Map tpk tpv) = RawMap tpk tpv

class IMap tpk tpv where Source #

Methods

newMap :: IO (Map tpk tpv) Source #

begin :: Map tpk tpv -> IO (MapIterator tpk tpv) Source #

end :: Map tpk tpv -> IO (MapIterator tpk tpv) Source #

insert :: Map tpk tpv -> Pair tpk tpv -> IO () Source #

size :: Map tpk tpv -> IO CInt Source #

deleteMap :: Map tpk tpv -> IO () Source #