AAFA Developer Support

Public Member Functions
IAAFTypeDefStrongObjRef Interface Reference

This interface is used to implement Strong Object references. More...

List of all members.

Public Member Functions

HRESULT Initialize ([in, ref] aafUID_constref id,[in] IAAFClassDef *pObjType,[in, string] aafCharacter_constptr pTypeName)
 Initializes this type def to be a reference to objects of the given type, and assigns this object the given AUID.

Detailed Description

This interface is used to implement Strong Object references.

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

Objects that implement IAAFTypeDefStrongObjRef also implement the following interfaces:

Definition at line 33322 of file AAF.idl.


Member Function Documentation

HRESULT IAAFTypeDefStrongObjRef::Initialize ( [in, ref] aafUID_constref  id,
[in] IAAFClassDef pObjType,
[in, string] aafCharacter_constptr  pTypeName 
)

Initializes this type def to be a reference to objects of the given type, and assigns this object the given AUID.

pObjType points to the class definition of the least-derived class which is possible to be contained in property values of this type.

This method must be called after allocation, and before any other method can be called.

Succeeds if:

  • Initialize() has not yet been called on this object.
  • pObjType is a valid pointer.

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_ALREADY_INITIALIZED

AAFRESULT_NULL_PARAM

  • either pObjType or pTypeName arg is NULL.
Parameters:
id[in, ref] auid to be used to identify this type
pObjType[in] class def of objects permitted to be referenced
pTypeName[in, string] friendly name of this type definition

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