Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Environment and Utilities /
Chapter 5 - Collection Manager / Collection Manager Reference
Data Types


Attribute Bit Numbers

The Collection Manager provides the attribute bit numbers enumeration to provide constant names for each of the bits in a collection item's attributes.

enum {
   collectionUser0Bit = 0,  /* for use by your application */
   collectionUser1Bit = 1,
   collectionUser2Bit = 2,
   collectionUser3Bit = 3,
   collectionUser4Bit = 4,
   collectionUser5Bit = 5,
   collectionUser6Bit = 6,
   collectionUser7Bit = 7,
   collectionUser8Bit = 8,
   collectionUser9Bit = 9,
   collectionUser10Bit = 10,
   collectionUser11Bit = 11,
   collectionUser12Bit = 12,
   collectionUser13Bit = 13,
   collectionUser14Bit = 14,
   collectionUser15Bit = 15,
   collectionReserved0Bit = 16,  /* reserved for use by Apple */
   collectionReserved1Bit = 17,
   collectionReserved2Bit = 18,
   collectionReserved3Bit = 19,
   collectionReserved4Bit = 20,
   collectionReserved5Bit = 21,
   collectionReserved6Bit = 22,
   collectionReserved7Bit = 23,
   collectionReserved8Bit = 24,
   collectionReserved9Bit = 25,
   collectionReserved10Bit = 26,
   collectionReserved11Bit = 27,
   collectionReserved12Bit = 28,
   collectionReserved13Bit = 29,
   collectionPersistenceBit = 30,  /* Currently defined */
   collectionLockBit = 31
};
The lower 16 bits of the attributes property of a collection item represent the user-defined attributes. You can use these attributes for any purpose suitable to your application.

The upper 16 bits are reserved for use by Apple Computer, Inc. Currently, the 2 high bits are defined: bit 30 represents the persistence attribute and bit 31 represents the lock attribute.

For more information about collection item attributes, see "Collection Items" beginning on page 5-8.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996