background image
C H A P T E R 1 1
Data Storage and Retrieval
11-72
Summary of Data Storage
store
:IsValid()
SetDefaultStore(
newDefaultStore
)
store
:SetInfo(
slotSymbol
,
value
)
store
:TotalSize()
store
:UsedSize()
Soups
11
These functions and methods allow you to work with soup-level data such as
frames, soup indexes, soup information frames, and soup signatures.
Creating Soups
RegUnionSoup(
appSymbol
,
soupDef
);
UnRegUnionSoup(
name
,
appSymbol
);
store
:CreateSoupXmit(
soupName
,
indexArray
,
changeSym
)
CreateSoupFromSoupDef(
soupDef
,
store
,
changeSym
)
uSoup
:GetMember(
store
)
Adding and Copying Entries
uSoup
:AddToDefaultStoreXmit(
frame
,
changeSym
)
uSoup
:AddToStoreXmit(
frame
,
store
,
changeSym
)
soupOrUsoup
:AddFlushedXmit(
frameOrEntry
,
changeSym
)
soup
:AddXmit(
frame
,
changeSym
)
soup
:CopyEntriesXmit(
destSoup
,
changeSym
)
Retrieving Entries
soupOrUSoup
:Query(
querySpec
)
Change Notification
RegSoupChange(
soupName
,
callbackID
,
callBackFn
)
UnRegSoupChange(
soupName
,
callbackID
)
XmitSoupChange(
soupName
,
appSymbol
,
changeType
,
changeData
)
Manipulating Tags
soup
:HasTags()
soup
:GetTags()
soupOrUsoup
:ModifyTagXmit(
oldTag
,
newTag
,
changeSym
)
soupOrUsoup
:RemoveTagsXmit(
tags
,
changeSym
)
soupOrUsoup
:AddTagsXmit(
tags
,
changeSym
)
Additional Functions and Methods
soupOrUsoup
:AddIndexXmit(
indexSpec
,
changeSym
)
soup
:GetIndexes()
soup
:GetInfo(
slotSymbol
)
soupOrUsoup
:GetName()
soup
:GetSignature()
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна