beautypg.com

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

Page 524

background image

C H A P T E R 1 2

Special-Purpose Objects for Data Storage and Retrieval

12-18

Summary of Special-Purpose Data Storage Objects

SafeFreezePackage(

pkgRef

)

SafeMovePackage(

pkgRef

,

destStore

)

SafeRemovePackage(

pkgRef

)

store

:SuckPackageFromBinary(

binary

,

paramFrame

)

store

:SuckPackageFromEndpoint(

endPoint

,

paramFrame

)

ThawPackage(

pkgRef

)

Store Parts (Package Stores)

12

GetPackageStore(

name

)

GetPackageStores()

Entry Aliases

12

IsEntryAlias(

object

)

MakeEntryAlias(

entry

)

ResolveEntryAlias(

alias

)

IsSameEntry(

entryOralias1

,

entryOralias2

)

Virtual Binary Objects (VBOs)

12

store

:NewVBO(

class

,

size

)

store

:NewCompressedVBO(

class

,

size

,

companderName

,

companderArgs

)

IsVBO(

vbo

)

GetVBOStore(

vbo

)

GetVBOStoredSize(

vbo

)

GetVBOCompander(

vbo

)

Mock Entries

12

EntryCachedObject(

mockEntry

)

EntryHandler(

mockEntry

)

EntrySetCachedObject(

mockEntry

,

newCachedObj

)

EntrySetHandler(

mockEntry

,

newHandler

)

IsMockEntry(

object

)

NewMockEntry(

handler

,

cachedObj

)

NewWeakArray(

length

)