Important: The information in this document is obsolete and should not be used for new development.
Attributes Masks
The Collection Manager provides four convenient attributes masks that you can use when specifying attributes for any of the attribute-related Collection Manager functions:
enum { noCollectionAttributes = 0x00000000, allCollectionAttributes = 0xFFFFFFFF, userCollectionAttributes = 0x0000FFFF, defaultCollectionAttributes = 0x40000000 };Constant descriptions
You can also use the attribute bit masks, described on page 5-52, as masks for individual attributes.
- noCollectionAttributes
- Specifies a mask in which all collection attributes are clear. You might use this constant when clearing all the attributes of an item or when testing whether all of an item's attributes are clear.
- allCollectionAttributes
- Specifies a mask in which all collection attributes are set. You might use this constant as a mask to indicate that you want to edit or test every attribute of an item, or you might use it to set every attribute of an item.
- userCollectionAttributes
- Specifies a mask in which the user attributes are set and the reserved attributes are clear. You might use this constant as a mask to indicate that you want to edit or test only the user attributes of an item, or you might use it to set every user attribute of an item.
- defaultCollectionAttributes
- Specifies a mask in which the persistent attribute is set and all other attributes are clear. You might use this constant when testing to see if an item's attributes have been edited.
For more information about collection item attributes, see "Collection Items" beginning on page 5-8.-