fficxx-0.5.1: automatic C++ binding generation

Copyright(c) 2011-2018 Ian-Woo Kim
LicenseBSD3
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

FFICXX.Generate.Type.Class

Description

 
Synopsis

Documentation

data IsConst Source #

const flag

Constructors

Const 
NoConst 
Instances
Show IsConst Source # 
Instance details

Defined in FFICXX.Generate.Type.Class

data TemplateArgType Source #

Argument type which can be used as an template argument like float in vectorfloat. For now, this distinguishes Class and non-Class.

data Types Source #

Constructors

Void 
SelfType 
CT CTypes IsConst 
CPT CPPTypes IsConst 
TemplateApp TemplateAppInfo

like vectorfloat*

TemplateAppRef TemplateAppInfo

like vectorfloat&

TemplateAppMove TemplateAppInfo

like unique_ptrfloat (using std::move)

TemplateType TemplateClass

template self? TODO: clarify this.

TemplateParam String 
TemplateParamPointer String

this is A* with templateA

Instances
Show Types Source # 
Instance details

Defined in FFICXX.Generate.Type.Class

Methods

showsPrec :: Int -> Types -> ShowS #

show :: Types -> String #

showList :: [Types] -> ShowS #

type Args = [(Types, String)] Source #

data Variable Source #

Constructors

Variable 

Fields

Instances
Show Variable Source # 
Instance details

Defined in FFICXX.Generate.Type.Class

data Selfness Source #

Constructors

Self 
NoSelf 

isAbstractClass :: Class -> Bool Source #

Check abstract class

data Accessor Source #

Constructors

Getter 
Setter 
Instances
Eq Accessor Source # 
Instance details

Defined in FFICXX.Generate.Type.Class

Show Accessor Source # 
Instance details

Defined in FFICXX.Generate.Type.Class