This interface is used to describe the data type of a value stored in an AAFTaggedValue object. More...
Public Member Functions | |
HRESULT | Initialize ([in, ref] aafUID_constref id,[in, string] aafCharacter_constptr pName,[in, string] aafCharacter_constptr pDescription) |
Init all fields of a definition object. | |
HRESULT | AddParentProperty ([in] IAAFPropertyDef *pParentProperty) |
Add a property definition to the tagged value definition. | |
HRESULT | GetParentProperties ([out] IEnumAAFPropertyDefs **ppEnum) |
Writes an enumerator for the property definitions into *ppEnum. | |
HRESULT | CountParentProperties ([out] aafUInt32 *pNumProperties) |
Writes the total number of property definitions into *pNumProperties if, and only if, the method succeeds. | |
HRESULT | RemoveParentProperty ([in] IAAFPropertyDef *pParentProperty) |
Removes the given property definition. |
This interface is used to describe the data type of a value stored in an AAFTaggedValue object.
Objects that implement IAAFTaggedValueDefinition also implement the following interfaces:
HRESULT IAAFTaggedValueDefinition::AddParentProperty | ( | [in] IAAFPropertyDef * | pParentProperty | ) |
Add a property definition to the tagged value definition.
Return codes:
AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
pParentProperty | [in] Property definition to add. |
HRESULT IAAFTaggedValueDefinition::CountParentProperties | ( | [out] aafUInt32 * | pNumProperties | ) |
Writes the total number of property definitions into *pNumProperties if, and only if, the method succeeds.
Return codes:
AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
pNumProperties | [out] Number of property definitions. |
HRESULT IAAFTaggedValueDefinition::GetParentProperties | ( | [out] IEnumAAFPropertyDefs ** | ppEnum | ) |
Writes an enumerator for the property definitions into *ppEnum.
A reference is added to the new enumerator before it is returned.
Return codes:
AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
ppEnum | [out] Property definition enumerator. |
HRESULT IAAFTaggedValueDefinition::Initialize | ( | [in, ref] aafUID_constref | id, |
[in, string] aafCharacter_constptr | pName, | ||
[in, string] aafCharacter_constptr | pDescription | ||
) |
Init all fields of a definition object.
id | [in, ref] AUID for new DefObject |
pName | [in, string] Name for new DefObject |
pDescription | [in, string] Description for new DefObject |
HRESULT IAAFTaggedValueDefinition::RemoveParentProperty | ( | [in] IAAFPropertyDef * | pParentProperty | ) |
Removes the given property definition.
Return codes:
AAFRESULT_SUCCESS
AAFRESULT_NULL_PARAM
AAFRESULT_NO_MORE_OBJECTS
pParentProperty | [in] Property to remove. |