Important: The information in this document is obsolete and should not be used for new development.
Attribute Bit Masks
Using the attribute bit numbers, the Collection Manager provides convenient attribute masks for each of the attributes:
enum { collectionUser0Mask = 1L << collectionUser0Bit, collectionUser1Mask = 1L << collectionUser1Bit, collectionUser2Mask = 1L << collectionUser2Bit, collectionUser3Mask = 1L << collectionUser3Bit, collectionUser4Mask = 1L << collectionUser4Bit, collectionUser5Mask = 1L << collectionUser5Bit, collectionUser6Mask = 1L << collectionUser6Bit, collectionUser7Mask = 1L << collectionUser7Bit, collectionUser8Mask = 1L << collectionUser8Bit, collectionUser9Mask = 1L << collectionUser9Bit, collectionUser10Mask = 1L << collectionUser10Bit, collectionUser11Mask = 1L << collectionUser11Bit, collectionUser12Mask = 1L << collectionUser12Bit, collectionUser13Mask = 1L << collectionUser13Bit, collectionUser14Mask = 1L << collectionUser14Bit, collectionUser15Mask = 1L << collectionUser15Bit, collectionReserved0Mask = 1L << collectionReserved0Bit, collectionReserved1Mask = 1L << collectionReserved1Bit, collectionReserved2Mask = 1L << collectionReserved2Bit, collectionReserved3Mask = 1L << collectionReserved3Bit, collectionReserved4Mask = 1L << collectionReserved4Bit, collectionReserved5Mask = 1L << collectionReserved5Bit, collectionReserved6Mask = 1L << collectionReserved6Bit, collectionReserved7Mask = 1L << collectionReserved7Bit, collectionReserved8Mask = 1L << collectionReserved8Bit, collectionReserved9Mask = 1L << collectionReserved9Bit, collectionReserved10Mask = 1L << collectionReserved10Bit, collectionReserved11Mask = 1L << collectionReserved11Bit, collectionReserved12Mask = 1L << collectionReserved12Bit, collectionReserved13Mask = 1L << collectionReserved13Bit, collectionPersistenceMask = 1L << collectionPersistenceBit, collectionLockMask = 1L << collectionLockBit };You can use these attribute masks when testing or setting a particular collection item attribute.For more information about collection attributes, see "Collection Attributes" beginning on page 5-9.
For an example using these attributes, see "Getting and Setting the Attributes of an Item" beginning on page 5-24.