hoppy-std-0.3.0: C++ FFI generator - Standard library bindings

Safe HaskellNone
LanguageHaskell2010

Foreign.Hoppy.Generator.Std.Set

Description

Bindings for std::set.

Synopsis

Documentation

data Options Source #

Options for instantiating the set classes.

Constructors

Options 

Fields

defaultOptions :: Options Source #

The default options have no additional ClassFeatures.

data Contents Source #

A set of instantiated set classes.

Constructors

Contents 

Fields

instantiate :: String -> Type -> Reqs -> Contents Source #

instantiate className t tReqs creates a set of bindings for an instantiation of std::set and associated types (e.g. iterators). In the result, the c_set class has an external name of className, and the iterator class is further suffixed with "Iterator".

instantiate' :: String -> Type -> Reqs -> Options -> Contents Source #

instantiate with additional options.

toExports :: Contents -> [Export] Source #

Converts an instantiation into a list of exports to be included in a module.