Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RtDictSchema Struct Reference
[RtDict]

Collaboration diagram for RtDictSchema:

Collaboration graph

Data Fields

const RwCharname
RwUInt32 dictChunkType
RwUInt32 entryChunkType
RwUInt32 compatibilityVersion
RwSList * dictionaries
RtDictcurrent
RtDictEntryAddRefCallBackaddRefCB
RtDictEntryDestroyCallBackdestroyCB
RtDictEntryGetNameCallBackgetNameCB
RtDictEntryStreamGetSizeCallBackstreamGetSizeCB
RtDictEntryStreamReadCallBackstreamReadCB
RtDictStreamReadCompatibilityCallBackstreamReadCompatibilityCB
RtDictEntryStreamWriteCallBackstreamWriteCB

Detailed Description

Defines the layout and management functions for a dictionary, or set of dictionaries. Maintains a 'current' dictionary for each layout. Provides a way of creating, or streaming in, dictionaries.

See also:
RtDict


Field Documentation

RtDictEntryAddRefCallBack* addRefCB
 

Callback used to register that the dictionary has a reference to an entry

RwUInt32 compatibilityVersion
 

Used for inner version checking when streaming in dictionaries. If < the dictionary's version is less than this, streamReadCompatibilityCB < will be used for reading in the contents.

RtDict* current
 

Current dictionary of this layout type

RtDictEntryDestroyCallBack* destroyCB
 

Callback used to register that the dictionary no longer has a reference to an entry

RwUInt32 dictChunkType
 

Chunk type of the dictionary in a stream

RwSList* dictionaries
 

List of dictionaries that have been created using this layout

RwUInt32 entryChunkType
 

Chunk type of the dictionary entries in a stream

RtDictEntryGetNameCallBack* getNameCB
 

Callback used to obtain the name of an entry

const RwChar* name
 

Name of the schema. Handy for debugging.

RtDictEntryStreamGetSizeCallBack* streamGetSizeCB
 

Callback used to obtain the size of an entry

RtDictEntryStreamReadCallBack* streamReadCB
 

Callback used to stream in an entry

RtDictStreamReadCompatibilityCallBack* streamReadCompatibilityCB
 

Callback used to stream in an old version of the dictionary. For internal use; may be set to NULL

RtDictEntryStreamWriteCallBack* streamWriteCB
 

Callback used to stream out an entry


Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:45 2004. Send Feedback