Q3AttributeSet_Add
You can use theQ3AttributeSet_Addfunction to add an attribute to an attribute set.
TQ3Status Q3AttributeSet_Add ( TQ3AttributeSet attributeSet, TQ3AttributeType type, const void *data);
attributeSet- An attribute set.
type- An attribute type.
data- A pointer to the attribute's data.
DESCRIPTION
TheQ3AttributeSet_Addfunction adds the attribute specified by thetypeanddataparameters to the attribute set specified by theattributeSetparameter. The attribute set must already exist when you callQ3AttributeSet_Add. If that attribute set already contains an attribute of the specified type,Q3AttributeSet_Addreplaces that attribute with the one specified by thetypeanddataparameters. Note that the attribute data is copied into the attribute set. Accordingly, you can reuse thedataparameter once you have calledQ3AttributeSet_Add.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help