capnp-0.8.0.0: Cap'n Proto for Haskell
Safe HaskellNone
LanguageHaskell2010

Capnp.Gen.Capnp.Persistent

Documentation

newtype Persistent sturdyRef owner msg Source #

Constructors

Persistent'newtype_ (Maybe (Cap msg)) 

Instances

Instances details
ToPtr s (Persistent sturdyRef owner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> Persistent sturdyRef owner (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (Persistent sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (Persistent sturdyRef owner msg) Source #

newtype Persistent'SaveParams sturdyRef owner msg Source #

Instances

Instances details
ToStruct msg (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toStruct :: Persistent'SaveParams sturdyRef owner msg -> Struct msg Source #

FromStruct msg (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (Persistent'SaveParams sturdyRef owner msg) Source #

ToPtr s (Persistent'SaveParams sturdyRef owner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> Persistent'SaveParams sturdyRef owner (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (Persistent'SaveParams sturdyRef owner msg) Source #

Allocate s (Persistent'SaveParams sturdyRef owner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

new :: WriteCtx m s => MutMsg s -> m (Persistent'SaveParams sturdyRef owner (MutMsg s)) Source #

MutListElem s (Persistent'SaveParams sturdyRef owner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

setIndex :: RWCtx m s => Persistent'SaveParams sturdyRef owner (MutMsg s) -> Int -> List (MutMsg s) (Persistent'SaveParams sturdyRef owner (MutMsg s)) -> m () Source #

newList :: WriteCtx m s => MutMsg s -> Int -> m (List (MutMsg s) (Persistent'SaveParams sturdyRef owner (MutMsg s))) Source #

ListElem msg (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List msg (Persistent'SaveParams sturdyRef owner msg) Source #

Methods

listFromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (List msg (Persistent'SaveParams sturdyRef owner msg)) Source #

toUntypedList :: List msg (Persistent'SaveParams sturdyRef owner msg) -> List msg Source #

length :: List msg (Persistent'SaveParams sturdyRef owner msg) -> Int Source #

index :: ReadCtx m msg => Int -> List msg (Persistent'SaveParams sturdyRef owner msg) -> m (Persistent'SaveParams sturdyRef owner msg) Source #

MessageDefault (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

messageDefault :: InMessage (Persistent'SaveParams sturdyRef owner msg) -> Persistent'SaveParams sturdyRef owner msg Source #

HasMessage (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

type InMessage (Persistent'SaveParams sturdyRef owner msg) Source #

Methods

message :: Persistent'SaveParams sturdyRef owner msg -> InMessage (Persistent'SaveParams sturdyRef owner msg) Source #

newtype List msg (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype List msg (Persistent'SaveParams sturdyRef owner msg) = Persistent'SaveParams'List_ (ListOf msg (Struct msg))
type InMessage (Persistent'SaveParams sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

type InMessage (Persistent'SaveParams sturdyRef owner msg) = msg

get_Persistent'SaveParams'sealFor :: (ReadCtx m msg, FromPtr msg owner) => Persistent'SaveParams sturdyRef owner msg -> m owner Source #

set_Persistent'SaveParams'sealFor :: (RWCtx m s, ToPtr s owner) => Persistent'SaveParams sturdyRef owner (MutMsg s) -> owner -> m () Source #

newtype Persistent'SaveResults sturdyRef owner msg Source #

Instances

Instances details
ToStruct msg (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toStruct :: Persistent'SaveResults sturdyRef owner msg -> Struct msg Source #

FromStruct msg (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (Persistent'SaveResults sturdyRef owner msg) Source #

ToPtr s (Persistent'SaveResults sturdyRef owner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> Persistent'SaveResults sturdyRef owner (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (Persistent'SaveResults sturdyRef owner msg) Source #

Allocate s (Persistent'SaveResults sturdyRef owner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

new :: WriteCtx m s => MutMsg s -> m (Persistent'SaveResults sturdyRef owner (MutMsg s)) Source #

MutListElem s (Persistent'SaveResults sturdyRef owner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

setIndex :: RWCtx m s => Persistent'SaveResults sturdyRef owner (MutMsg s) -> Int -> List (MutMsg s) (Persistent'SaveResults sturdyRef owner (MutMsg s)) -> m () Source #

newList :: WriteCtx m s => MutMsg s -> Int -> m (List (MutMsg s) (Persistent'SaveResults sturdyRef owner (MutMsg s))) Source #

ListElem msg (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List msg (Persistent'SaveResults sturdyRef owner msg) Source #

Methods

listFromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (List msg (Persistent'SaveResults sturdyRef owner msg)) Source #

toUntypedList :: List msg (Persistent'SaveResults sturdyRef owner msg) -> List msg Source #

length :: List msg (Persistent'SaveResults sturdyRef owner msg) -> Int Source #

index :: ReadCtx m msg => Int -> List msg (Persistent'SaveResults sturdyRef owner msg) -> m (Persistent'SaveResults sturdyRef owner msg) Source #

MessageDefault (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

messageDefault :: InMessage (Persistent'SaveResults sturdyRef owner msg) -> Persistent'SaveResults sturdyRef owner msg Source #

HasMessage (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

type InMessage (Persistent'SaveResults sturdyRef owner msg) Source #

Methods

message :: Persistent'SaveResults sturdyRef owner msg -> InMessage (Persistent'SaveResults sturdyRef owner msg) Source #

newtype List msg (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype List msg (Persistent'SaveResults sturdyRef owner msg) = Persistent'SaveResults'List_ (ListOf msg (Struct msg))
type InMessage (Persistent'SaveResults sturdyRef owner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

type InMessage (Persistent'SaveResults sturdyRef owner msg) = msg

get_Persistent'SaveResults'sturdyRef :: (ReadCtx m msg, FromPtr msg sturdyRef) => Persistent'SaveResults sturdyRef owner msg -> m sturdyRef Source #

set_Persistent'SaveResults'sturdyRef :: (RWCtx m s, ToPtr s sturdyRef) => Persistent'SaveResults sturdyRef owner (MutMsg s) -> sturdyRef -> m () Source #

newtype RealmGateway internalRef externalRef internalOwner externalOwner msg Source #

Constructors

RealmGateway'newtype_ (Maybe (Cap msg)) 

Instances

Instances details
ToPtr s (RealmGateway internalRef externalRef internalOwner externalOwner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> RealmGateway internalRef externalRef internalOwner externalOwner (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (RealmGateway internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (RealmGateway internalRef externalRef internalOwner externalOwner msg) Source #

newtype RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg Source #

Instances

Instances details
ToStruct msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toStruct :: RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> Struct msg Source #

FromStruct msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source #

ToPtr s (RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source #

Allocate s (RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

new :: WriteCtx m s => MutMsg s -> m (RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s)) Source #

MutListElem s (RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

setIndex :: RWCtx m s => RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> Int -> List (MutMsg s) (RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s)) -> m () Source #

newList :: WriteCtx m s => MutMsg s -> Int -> m (List (MutMsg s) (RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s))) Source #

ListElem msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source #

Methods

listFromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (List msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg)) Source #

toUntypedList :: List msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) -> List msg Source #

length :: List msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) -> Int Source #

index :: ReadCtx m msg => Int -> List msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) -> m (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source #

MessageDefault (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

messageDefault :: InMessage (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) -> RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg Source #

HasMessage (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

type InMessage (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source #

Methods

message :: RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> InMessage (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source #

newtype List msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype List msg (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) = RealmGateway'import'params'List_ (ListOf msg (Struct msg))
type InMessage (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

type InMessage (RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg) = msg

get_RealmGateway'import'params'cap :: (ReadCtx m msg, FromPtr msg (Persistent externalRef externalOwner msg)) => RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> m (Persistent externalRef externalOwner msg) Source #

set_RealmGateway'import'params'cap :: (RWCtx m s, ToPtr s (Persistent externalRef externalOwner (MutMsg s))) => RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> Persistent externalRef externalOwner (MutMsg s) -> m () Source #

has_RealmGateway'import'params'cap :: ReadCtx m msg => RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> m Bool Source #

get_RealmGateway'import'params'params :: (ReadCtx m msg, FromPtr msg (Persistent'SaveParams internalRef internalOwner msg)) => RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> m (Persistent'SaveParams internalRef internalOwner msg) Source #

set_RealmGateway'import'params'params :: (RWCtx m s, ToPtr s (Persistent'SaveParams internalRef internalOwner (MutMsg s))) => RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> Persistent'SaveParams internalRef internalOwner (MutMsg s) -> m () Source #

has_RealmGateway'import'params'params :: ReadCtx m msg => RealmGateway'import'params internalRef externalRef internalOwner externalOwner msg -> m Bool Source #

new_RealmGateway'import'params'params :: RWCtx m s => RealmGateway'import'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> m (Persistent'SaveParams internalRef internalOwner (MutMsg s)) Source #

newtype RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg Source #

Instances

Instances details
ToStruct msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toStruct :: RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> Struct msg Source #

FromStruct msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromStruct :: ReadCtx m msg => Struct msg -> m (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source #

ToPtr s (RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

toPtr :: WriteCtx m s => MutMsg s -> RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> m (Maybe (Ptr (MutMsg s))) Source #

FromPtr msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

fromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source #

Allocate s (RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

new :: WriteCtx m s => MutMsg s -> m (RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s)) Source #

MutListElem s (RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s)) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

setIndex :: RWCtx m s => RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> Int -> List (MutMsg s) (RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s)) -> m () Source #

newList :: WriteCtx m s => MutMsg s -> Int -> m (List (MutMsg s) (RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s))) Source #

ListElem msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

data List msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source #

Methods

listFromPtr :: ReadCtx m msg => msg -> Maybe (Ptr msg) -> m (List msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg)) Source #

toUntypedList :: List msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) -> List msg Source #

length :: List msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) -> Int Source #

index :: ReadCtx m msg => Int -> List msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) -> m (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source #

MessageDefault (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Methods

messageDefault :: InMessage (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) -> RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg Source #

HasMessage (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

Associated Types

type InMessage (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source #

Methods

message :: RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> InMessage (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source #

newtype List msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

newtype List msg (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) = RealmGateway'export'params'List_ (ListOf msg (Struct msg))
type InMessage (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) Source # 
Instance details

Defined in Capnp.Gen.Capnp.Persistent

type InMessage (RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg) = msg

get_RealmGateway'export'params'cap :: (ReadCtx m msg, FromPtr msg (Persistent internalRef internalOwner msg)) => RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> m (Persistent internalRef internalOwner msg) Source #

set_RealmGateway'export'params'cap :: (RWCtx m s, ToPtr s (Persistent internalRef internalOwner (MutMsg s))) => RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> Persistent internalRef internalOwner (MutMsg s) -> m () Source #

has_RealmGateway'export'params'cap :: ReadCtx m msg => RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> m Bool Source #

get_RealmGateway'export'params'params :: (ReadCtx m msg, FromPtr msg (Persistent'SaveParams externalRef externalOwner msg)) => RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> m (Persistent'SaveParams externalRef externalOwner msg) Source #

set_RealmGateway'export'params'params :: (RWCtx m s, ToPtr s (Persistent'SaveParams externalRef externalOwner (MutMsg s))) => RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> Persistent'SaveParams externalRef externalOwner (MutMsg s) -> m () Source #

has_RealmGateway'export'params'params :: ReadCtx m msg => RealmGateway'export'params internalRef externalRef internalOwner externalOwner msg -> m Bool Source #

new_RealmGateway'export'params'params :: RWCtx m s => RealmGateway'export'params internalRef externalRef internalOwner externalOwner (MutMsg s) -> m (Persistent'SaveParams externalRef externalOwner (MutMsg s)) Source #