|
| #define | NewCollectionFlattenUPP(userRoutine) |
| |
| #define | NewCollectionExceptionUPP(userRoutine) |
| |
|
#define | DisposeCollectionFlattenUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
|
#define | DisposeCollectionExceptionUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| |
| #define | InvokeCollectionFlattenUPP(size, data, refCon, userUPP) |
| |
| #define | InvokeCollectionExceptionUPP(c, status, userUPP) |
| |
| #define | NewCollectionFlattenProc(userRoutine) NewCollectionFlattenUPP(userRoutine) |
| |
|
#define | NewCollectionExceptionProc(userRoutine) NewCollectionExceptionUPP(userRoutine) |
| |
|
#define | CallCollectionFlattenProc(userRoutine, size, data, refCon) InvokeCollectionFlattenUPP(size, data, refCon, userRoutine) |
| |
|
#define | CallCollectionExceptionProc(userRoutine, c, status) InvokeCollectionExceptionUPP(c, status, userRoutine) |
| |
|
| enum | {
kCollectionDontWantTag = 0L
, kCollectionDontWantId = 0L
, kCollectionDontWantSize = 0L
, kCollectionDontWantAttributes = 0L
,
kCollectionDontWantIndex = 0L
, kCollectionDontWantData = 0L
} |
| |
| enum | { kCollectionNoAttributes = 0x00000000
, kCollectionAllAttributes = (long)0xFFFFFFFF
, kCollectionUserAttributes = 0x0000FFFF
, kCollectionDefaultAttributes
} |
| |
| enum | {
kCollectionUser0Bit = 0
, kCollectionUser1Bit = 1
, kCollectionUser2Bit = 2
, kCollectionUser3Bit = 3
,
kCollectionUser4Bit = 4
, kCollectionUser5Bit = 5
, kCollectionUser6Bit = 6
, kCollectionUser7Bit = 7
,
kCollectionUser8Bit = 8
, kCollectionUser9Bit = 9
, kCollectionUser10Bit = 10
, kCollectionUser11Bit = 11
,
kCollectionUser12Bit = 12
, kCollectionUser13Bit = 13
, kCollectionUser14Bit = 14
, kCollectionUser15Bit = 15
,
kCollectionReserved0Bit = 16
, kCollectionReserved1Bit = 17
, kCollectionReserved2Bit = 18
, kCollectionReserved3Bit = 19
,
kCollectionReserved4Bit = 20
, kCollectionReserved5Bit = 21
, kCollectionReserved6Bit = 22
, kCollectionReserved7Bit = 23
,
kCollectionReserved8Bit = 24
, kCollectionReserved9Bit = 25
, kCollectionReserved10Bit = 26
, kCollectionReserved11Bit = 27
,
kCollectionReserved12Bit = 28
, kCollectionReserved13Bit = 29
, kCollectionPersistenceBit = 30
, kCollectionLockBit = 31
} |
| |
| enum | {
kCollectionUser0Mask = 1L << kCollectionUser0Bit
, kCollectionUser1Mask = 1L << kCollectionUser1Bit
, kCollectionUser2Mask = 1L << kCollectionUser2Bit
, kCollectionUser3Mask = 1L << kCollectionUser3Bit
,
kCollectionUser4Mask = 1L << kCollectionUser4Bit
, kCollectionUser5Mask = 1L << kCollectionUser5Bit
, kCollectionUser6Mask = 1L << kCollectionUser6Bit
, kCollectionUser7Mask = 1L << kCollectionUser7Bit
,
kCollectionUser8Mask = 1L << kCollectionUser8Bit
, kCollectionUser9Mask = 1L << kCollectionUser9Bit
, kCollectionUser10Mask = 1L << kCollectionUser10Bit
, kCollectionUser11Mask = 1L << kCollectionUser11Bit
,
kCollectionUser12Mask = 1L << kCollectionUser12Bit
, kCollectionUser13Mask = 1L << kCollectionUser13Bit
, kCollectionUser14Mask = 1L << kCollectionUser14Bit
, kCollectionUser15Mask = 1L << kCollectionUser15Bit
,
kCollectionReserved0Mask = 1L << kCollectionReserved0Bit
, kCollectionReserved1Mask = 1L << kCollectionReserved1Bit
, kCollectionReserved2Mask = 1L << kCollectionReserved2Bit
, kCollectionReserved3Mask = 1L << kCollectionReserved3Bit
,
kCollectionReserved4Mask = 1L << kCollectionReserved4Bit
, kCollectionReserved5Mask = 1L << kCollectionReserved5Bit
, kCollectionReserved6Mask = 1L << kCollectionReserved6Bit
, kCollectionReserved7Mask = 1L << kCollectionReserved7Bit
,
kCollectionReserved8Mask = 1L << kCollectionReserved8Bit
, kCollectionReserved9Mask = 1L << kCollectionReserved9Bit
, kCollectionReserved10Mask = 1L << kCollectionReserved10Bit
, kCollectionReserved11Mask = 1L << kCollectionReserved11Bit
,
kCollectionReserved12Mask = 1L << kCollectionReserved12Bit
, kCollectionReserved13Mask = 1L << kCollectionReserved13Bit
, kCollectionPersistenceMask = 1L << kCollectionPersistenceBit
, kCollectionLockMask = 1L << kCollectionLockBit
} |
| |
| enum | { uppCollectionFlattenProcInfo = 0x00000FE0
} |
| |
| enum | { uppCollectionExceptionProcInfo = 0x000002E0
} |
| |
|
|
typedef | CALLBACK_API (OSErr, CollectionFlattenProcPtr)(SInt32 size |
| |
|
typedef | CALLBACK_API (OSErr, CollectionExceptionProcPtr)(Collection c |
| |
|
typedef | STACK_UPP_TYPE (CollectionFlattenProcPtr) CollectionFlattenUPP |
| |
|
typedef | STACK_UPP_TYPE (CollectionExceptionProcPtr) CollectionExceptionUPP |
| |
| CollectionFlattenUPP | NewCollectionFlattenUPP (CollectionFlattenProcPtr userRoutine) |
| |
| CollectionExceptionUPP | NewCollectionExceptionUPP (CollectionExceptionProcPtr userRoutine) |
| |
| void | DisposeCollectionFlattenUPP (CollectionFlattenUPP userUPP) |
| |
| void | DisposeCollectionExceptionUPP (CollectionExceptionUPP userUPP) |
| |
| OSErr | InvokeCollectionFlattenUPP (SInt32 size, void *data, void *refCon, CollectionFlattenUPP userUPP) |
| |
| OSErr | InvokeCollectionExceptionUPP (Collection c, OSErr status, CollectionExceptionUPP userUPP) |
| |
| Collection | NewCollection (void) |
| |
| void | DisposeCollection (Collection c) |
| |
| Collection | CloneCollection (Collection c) |
| |
| SInt32 | CountCollectionOwners (Collection c) |
| |
| OSStatus | RetainCollection (Collection c) |
| |
| OSStatus | ReleaseCollection (Collection c) |
| |
| ItemCount | GetCollectionRetainCount (Collection c) |
| |
| Collection | CopyCollection (Collection srcCollection, Collection dstCollection) |
| |
| SInt32 | GetCollectionDefaultAttributes (Collection c) |
| |
| void | SetCollectionDefaultAttributes (Collection c, SInt32 whichAttributes, SInt32 newAttributes) |
| |
| SInt32 | CountCollectionItems (Collection c) |
| |
| OSErr | AddCollectionItem (Collection c, CollectionTag tag, SInt32 id, SInt32 itemSize, const void *itemData) |
| |
| OSErr | GetCollectionItem (Collection c, CollectionTag tag, SInt32 id, SInt32 *itemSize, void *itemData) |
| |
| OSErr | RemoveCollectionItem (Collection c, CollectionTag tag, SInt32 id) |
| |
| OSErr | SetCollectionItemInfo (Collection c, CollectionTag tag, SInt32 id, SInt32 whichAttributes, SInt32 newAttributes) |
| |
| OSErr | GetCollectionItemInfo (Collection c, CollectionTag tag, SInt32 id, SInt32 *index, SInt32 *itemSize, SInt32 *attributes) |
| |
| OSErr | ReplaceIndexedCollectionItem (Collection c, SInt32 index, SInt32 itemSize, const void *itemData) |
| |
| OSErr | GetIndexedCollectionItem (Collection c, SInt32 index, SInt32 *itemSize, void *itemData) |
| |
| OSErr | RemoveIndexedCollectionItem (Collection c, SInt32 index) |
| |
| OSErr | SetIndexedCollectionItemInfo (Collection c, SInt32 index, SInt32 whichAttributes, SInt32 newAttributes) |
| |
| OSErr | GetIndexedCollectionItemInfo (Collection c, SInt32 index, CollectionTag *tag, SInt32 *id, SInt32 *itemSize, SInt32 *attributes) |
| |
| Boolean | CollectionTagExists (Collection c, CollectionTag tag) |
| |
| SInt32 | CountCollectionTags (Collection c) |
| |
| OSErr | GetIndexedCollectionTag (Collection c, SInt32 tagIndex, CollectionTag *tag) |
| |
| SInt32 | CountTaggedCollectionItems (Collection c, CollectionTag tag) |
| |
| OSErr | GetTaggedCollectionItem (Collection c, CollectionTag tag, SInt32 whichItem, SInt32 *itemSize, void *itemData) |
| |
| OSErr | GetTaggedCollectionItemInfo (Collection c, CollectionTag tag, SInt32 whichItem, SInt32 *id, SInt32 *index, SInt32 *itemSize, SInt32 *attributes) |
| |
| void | PurgeCollection (Collection c, SInt32 whichAttributes, SInt32 matchingAttributes) |
| |
| void | PurgeCollectionTag (Collection c, CollectionTag tag) |
| |
| void | EmptyCollection (Collection c) |
| |
| OSErr | FlattenCollection (Collection c, CollectionFlattenUPP flattenProc, void *refCon) |
| |
| OSErr | FlattenPartialCollection (Collection c, CollectionFlattenUPP flattenProc, void *refCon, SInt32 whichAttributes, SInt32 matchingAttributes) |
| |
| OSErr | UnflattenCollection (Collection c, CollectionFlattenUPP flattenProc, void *refCon) |
| |
| CollectionExceptionUPP | GetCollectionExceptionProc (Collection c) |
| |
| void | SetCollectionExceptionProc (Collection c, CollectionExceptionUPP exceptionProc) |
| |
| Collection | GetNewCollection (SInt16 collectionID) |
| |
| OSErr | AddCollectionItemHdl (Collection aCollection, CollectionTag tag, SInt32 id, Handle itemData) |
| |
| OSErr | GetCollectionItemHdl (Collection aCollection, CollectionTag tag, SInt32 id, Handle itemData) |
| |
| OSErr | ReplaceIndexedCollectionItemHdl (Collection aCollection, SInt32 index, Handle itemData) |
| |
| OSErr | GetIndexedCollectionItemHdl (Collection aCollection, SInt32 index, Handle itemData) |
| |
| OSErr | FlattenCollectionToHdl (Collection aCollection, Handle flattened) |
| |
| OSErr | UnflattenCollectionFromHdl (Collection aCollection, Handle flattened) |
| |
Collection Manager Interfaces.
- Introduced In: Carbon
- Avaliable From: Universal Interfaces 3.4.1
- Copyright: © 1989-2001 by Apple Computer, Inc., all rights reserved
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/