AAFA Developer Support

Public Member Functions
IAAFProperty Interface Reference

This interface is used to access instances of properties contained in AAF persistent objects. More...

List of all members.

Public Member Functions

HRESULT GetDefinition ([out] IAAFPropertyDef **ppPropDef)
 Returns the definition of this property.
HRESULT GetValue ([out] IAAFPropertyValue **ppValue)
 Returns the Property Value object associated with this property.

Detailed Description

This interface is used to access instances of properties contained in AAF persistent objects.

In addition to the specific error results listed for each method, all methods in this interface may also return one of the following values:

AAFRESULT_NOMEMORY

Definition at line 22015 of file AAF.idl.


Member Function Documentation

HRESULT IAAFProperty::GetDefinition ( [out] IAAFPropertyDef **  ppPropDef)

Returns the definition of this property.

Succeeds if:

  • This object has already been Initialize()d.
  • The ppPropDef pointer is valid.
  • The associated property definition can be found in the dictionary.

This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:

AAFRESULT_SUCCESS

  • succeeded. (This is the only code indicating success.)

AAFRESULT_NOT_INITIALIZED

  • This object has not yet had Initialize() called on it.

AAFRESULT_NULL_PARAM

  • ppPropDef arg is NULL.

AAFRESULT_BAD_PROP

  • The definition for this property could not be found in the dictionary.
Parameters:
ppPropDef[out] This property's definition
HRESULT IAAFProperty::GetValue ( [out] IAAFPropertyValue **  ppValue)

Returns the Property Value object associated with this property.

Succeeds if:

  • This object has already been Initialize()d.
  • The ppPval pointer is valid.

This method will return the following codes. If more than one of the listed errors is in effect, it will return the first one encountered in the order given below:

AAFRESULT_SUCCESS

  • succeeded. (This is the only code indicating success.)

AAFRESULT_NOT_INITIALIZED

  • This object has not yet had Initialize() called on it.

AAFRESULT_NULL_PARAM

  • ppValue arg is NULL.

AAFRESULT_PROP_NOT_PRESENT

  • The given property is optional and not present.
Parameters:
ppValue[out] The Property Value object associated with this property.

Generated on Wed Jul 4 2012 22:13:30 for AAF COM API by doxygen 1.7.4