beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 506

background image

C H A P T E R 1 1

Data Storage and Retrieval

11-74

Summary of Data Storage

EntryIsResident(

entry

)

EntryModTime(

entry

)

EntryMoveXmit(

entry

,

newSoup

,

changeSym

)

EntryRemoveFromSoupXmit(

entry

,

changeSym

)

EntryReplaceXmit(

original

,

replacement, changeSym

)

EntrySize(

entry

)

EntrySoup(

entry

)

EntryStore(

entry

)

EntryTextSize(

entry

)

EntryUndoChangesXmit(

entry

,

changeSym

)

EntryUniqueId(

entry

)

FrameDirty(

frame

)

IsSameEntry(

entryOralias1

,

entryOralias2

)

Data Backup and Restore Functions

11

These functions are intended for use by special-purpose data backup and
restoration programs only. Many of them intentionally defeat the error-
checking features upon which the system relies to maintain values that identify
entries to the system and specify when they were last modified.

store

:Erase()

store

:GetAllInfo()

store

:GetSignature()

store

:SetName(

storeNameString

)

soup

:AddWithUniqueIdXmit(

entry

,

changeSym

)

soup

:GetAllInfo()

soup

:GetIndexesModTime()

soup

:GetInfoModTime()

soup

:GetNextUid()

soup

:SetSignature(

signature

)

soup

:SetAllInfoXmit (

frame

,

changeSym

)

EntryChangeWithModTimeXmit(

entry

,

changeSym

)

EntryReplaceWithModTimeXmit (

original

,

replacement

,

changeSym

)